From patchwork Mon Jun 17 19:46:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dean Marx X-Patchwork-Id: 141227 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3EBC945484; Mon, 17 Jun 2024 21:47:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27D6E40B98; Mon, 17 Jun 2024 21:47:59 +0200 (CEST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mails.dpdk.org (Postfix) with ESMTP id 9B3CA402BD for ; Mon, 17 Jun 2024 21:47:57 +0200 (CEST) Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-795502843ccso271213585a.1 for ; Mon, 17 Jun 2024 12:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718653677; x=1719258477; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MZcDJ+KR6wV/bOSbWiOQYReNHuRZ4EpCEvVQNUWaxXw=; b=URP16f/tVjm9n/dltcEV7L3vFJoqpzOBiZ7YYZK+EH5smc4o7MNDZRFNju3BfrI3zT yDO1WepQdNrlN95WD+yAlFwv7WgWa5G1VdTHG8aGuE6EvuyDA8FbZmU7VJj+1H+BkBLC DdRxPP6wLBqPjDNh91YO8QEb16/qSnPeWZNPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718653677; x=1719258477; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MZcDJ+KR6wV/bOSbWiOQYReNHuRZ4EpCEvVQNUWaxXw=; b=st3NORV4Nkz6cRfeSQGTrnL4DTO9BywxDICUP8JFrWoiiZmJbW/ftWjrci32qfyNMO IY9mtCST2gR4FR9ReNxY+wEiFecx06zHkcFjJwvUk7kl5Za/spyz+/jNiut+UAut3R5S MldwAHdCYJLPIWD9r1gqOBVq9vTAhZIDmTdlV6b1bgppApjEXo32I8NZMPv4W9M3jB9c nDEqHKI4qrjZFWGp7gAtCzRUmREa1qTYb0/TeyG0cKmAoG8JGt3KwgsDnvookccn+gk1 Yz7vcn1k020LNMP0GmAAoz002p6R1JlJuqA8/XIwoLwPIxMqjT8pms3alK3+3dM/TrbZ 2R7A== X-Gm-Message-State: AOJu0YyQj4pvjETVvNbnrIIu/wizdby/Gxjc2fWUQuFnLtTMgvAdyRpE QZPrj1Y5hD6V4DgRb/4uqiIYoZmlfbtEDYbT+f2dTCPGCtAP0apSnERujpuokz4= X-Google-Smtp-Source: AGHT+IF2fZMGu2OJoPyAks6DuQesmAbzvOQdJgzb6BZONhNDRefYCLkLGKZ+7pCw3/mYVZhBN6vt7Q== X-Received: by 2002:a05:620a:31a6:b0:795:d19b:5e4b with SMTP id af79cd13be357-798d258de01mr1340575185a.52.1718653676853; Mon, 17 Jun 2024 12:47:56 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1210:52ef:3eaf:5f1e:6f6a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-798aacae6eesm459167185a.16.2024.06.17.12.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 12:47:56 -0700 (PDT) From: Dean Marx To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, luca.vizzarro@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v2 1/3] dts: initial queue start/stop suite implementation Date: Mon, 17 Jun 2024 15:46:38 -0400 Message-ID: <20240617194638.12926-4-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240617194638.12926-2-dmarx@iol.unh.edu> References: <20240617194638.12926-2-dmarx@iol.unh.edu> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This suite tests the ability of the Poll Mode Driver to enable and disable Rx/Tx queues on a port. Signed-off-by: Dean Marx --- dts/tests/TestSuite_queue_start_stop.py | 79 +++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 dts/tests/TestSuite_queue_start_stop.py diff --git a/dts/tests/TestSuite_queue_start_stop.py b/dts/tests/TestSuite_queue_start_stop.py new file mode 100644 index 0000000000..e180b916e8 --- /dev/null +++ b/dts/tests/TestSuite_queue_start_stop.py @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2024 University of New Hampshire + +"""Rx/Tx queue start and stop functionality suite. + +This suite tests the ability of the poll mode driver to start and +stop either the Rx or Tx queue (depending on the port) during runtime, +and verify that packets are not received when one is disabled. + +Given a paired port topology, the Rx queue will be disabled on port 0, +and the Tx queue will be disabled on port 1. + +""" + +from scapy.layers.inet import IP # type: ignore[import] +from scapy.layers.l2 import Ether # type: ignore[import] +from scapy.packet import Raw # type: ignore[import] + +from framework.remote_session.testpmd_shell import TestPmdForwardingModes, TestPmdShell +from framework.test_suite import TestSuite + +class TestQueueStartStop(TestSuite): + """DPDK Queue start/stop test suite. + + Ensures Rx/Tx queue on a port can be disabled and enabled. + Verifies packets are not received when either queue is disabled. + """ + + def set_up_suite(self) -> None: + """Set up the test suite. + + Setup: + Create a testpmd session and set up tg nodes + verify that at least two ports are open for session + """ + self.verify(len(self._port_links) > 1, "Not enough ports") + + def send_packet_and_verify(self, should_receive: bool = True): + """Generate a packet, send to the DUT, and verify it is forwarded back. + + Args: + should_receive: indicate whether the packet should be received + """ + packet = Ether()/IP()/Raw(load="xxxxx") + received = self.send_packet_and_capture(packet) + test_packet = None + for packet in received: + if packet.haslayer(Raw) and packet[Raw].load == b'xxxxx': + test_packet = packet + break + if should_receive: + self.verify(test_packet is not None, "Packet was dropped when it should have been received") + else: + self.verify(test_packet is None, "Packet was received when it should have been dropped") + + def test_all_queues_enabled(self) -> None: + """Ensure packets are received when both Tx and Rx queues are enabled. + + Test: + Create an interactive testpmd session, stop Rx queue on port 0, verify + packets are dropped. Then start port 0 Rx queue, stop port 1 Tx queue, and + verify packets are dropped.""" + testpmd = self.sut_node.create_interactive_shell(TestPmdShell, privileged=True) + testpmd.set_forward_mode(TestPmdForwardingModes.mac) + testpmd.stop_port_queue(0, 0, True) + + testpmd.start() + self.send_packet_and_verify(False) + testpmd.stop() + + testpmd.start_port_queue(0, 0, True) + testpmd.stop_port_queue(1, 0, False) + + testpmd.start() + self.send_packet_and_verify(False) + testpmd.close() + + def tear_down_suite(self) -> None: + """Tear down the suite.""" From patchwork Mon Jun 17 19:46:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dean Marx X-Patchwork-Id: 141228 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9840345484; Mon, 17 Jun 2024 21:48:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8246740DD6; Mon, 17 Jun 2024 21:48:13 +0200 (CEST) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by mails.dpdk.org (Postfix) with ESMTP id 88A5D40A84 for ; Mon, 17 Jun 2024 21:48:11 +0200 (CEST) Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3d22802674cso2674159b6e.2 for ; Mon, 17 Jun 2024 12:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718653691; x=1719258491; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kSvEdRjnwB+xleGaxlWkDJnmVMn+e4I5z262tY8iOJI=; b=cZupCtdYuVclL6bYbSflvSBCEtflXcfgGvdwEc13kL/GYz3Nv6Y7PuWPWDM2flLFkZ Is4q3Tj7ZOkymhA6GNNQrHNOLx+aNLztqqvbMBJgEyn/mdtCHpS44bLqWbz/SIbzIMJr iO3zH7QpHeJRTlrAmsvgK/qBttvX0fdeFb4is= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718653691; x=1719258491; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kSvEdRjnwB+xleGaxlWkDJnmVMn+e4I5z262tY8iOJI=; b=kjYLiiR6Wj2SLuylGxkfjRt1Pzfa7sA2m/Y9AWVaqA/XQciBTM3Ygiu5e6gYTVxOz3 VsKaTzWEUjFujzPYx2y50uMqvnaiombqLJAAL0Alv0+/ISkog9tPVYs/ikYnlIo3Pgms ThGSkB0GZW4dAXtMf9xY369yEEeBlC1Kv87HmHWl92xXkvkNQ1S1KqZGtvjU+Dx+XejA 6rO9wWELeSVZjO0jZw7g+w2ioFsWzzdC6FPAKk4Ue3lpoQuWme+TS7F/Q8O6r9iWa4nw dOB5OkpNW9BB8p3QJg8k1Y+KGnSypnq1VBlsJ9NcdZmuO99dW9nNwbuEldcQamG8jXtX r6Fg== X-Gm-Message-State: AOJu0Yz3HO3fxhxwMa4XWT0ud1Q4jm0OgWhNcbls02XZO7dTxkjzZZK0 3ipzOgrk06bRRhf6nFkrOEm0RcrHD/FnNWObwgSB9k2ePXs/Iag2WUHjdnw2g4Q= X-Google-Smtp-Source: AGHT+IEs3LACn4o7isK80Gf9E4iUVc/UIGsznrAf5kGbRrbnyaF8tq8zFrH5drQWtWJKq8JZ9WOr4A== X-Received: by 2002:a05:6808:f0f:b0:3d2:2495:6ff with SMTP id 5614622812f47-3d24e8e123amr13462745b6e.19.1718653690526; Mon, 17 Jun 2024 12:48:10 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1210:52ef:3eaf:5f1e:6f6a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-798aacae6eesm459167185a.16.2024.06.17.12.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 12:48:10 -0700 (PDT) From: Dean Marx To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, luca.vizzarro@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v2 2/3] dts: added promisc/verbose func to testpmd shell Date: Mon, 17 Jun 2024 15:46:40 -0400 Message-ID: <20240617194638.12926-6-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240617194638.12926-2-dmarx@iol.unh.edu> References: <20240617194638.12926-2-dmarx@iol.unh.edu> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Setting the verbose mode and promiscuous mode is a common command in test suites, these additions will allow the dev to set both modes from the testpmd shell module. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 179 +++++++++++++++++- 1 file changed, 178 insertions(+), 1 deletion(-) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py index cb2ab6bd00..425f3ec220 100644 --- a/dts/framework/remote_session/testpmd_shell.py +++ b/dts/framework/remote_session/testpmd_shell.py @@ -147,7 +147,7 @@ def start(self, verify: bool = True) -> None: "Not all ports came up after starting packet forwarding in testpmd." ) - def stop(self, verify: bool = True) -> None: + def stop(self, verify: bool = True) -> str: """Stop packet forwarding. Args: @@ -155,6 +155,9 @@ def stop(self, verify: bool = True) -> None: forwarding was stopped successfully or not started. If neither is found, it is considered an error. + Returns: + Output gathered from sending the stop command. + Raises: InteractiveCommandExecutionError: If `verify` is :data:`True` and the command to stop forwarding results in an error. @@ -167,6 +170,7 @@ def stop(self, verify: bool = True) -> None: ): self._logger.debug(f"Failed to stop packet forwarding: \n{stop_cmd_output}") raise InteractiveCommandExecutionError("Testpmd failed to stop packet forwarding.") + return stop_cmd_output def get_devices(self) -> list[TestPmdDevice]: """Get a list of device names that are known to testpmd. @@ -225,6 +229,179 @@ def set_forward_mode(self, mode: TestPmdForwardingModes, verify: bool = True): f"Test pmd failed to set fwd mode to {mode.value}" ) + def stop_port_queue( + self, + port_id: int, + queue_id: int, + is_rx_queue: bool, + verify: bool = True + ) -> None: + """Stops a given queue on a port. + + Args: + port_id: ID of the port that the queue belongs to. + queue_id: ID of the queue to stop. + is_rx_queue: Type of queue to stop. If :data:`True` an RX queue will be stopped, + otherwise a TX queue will be stopped. + verify: If :data:`True` an additional command will be sent to verify the queue stopped. + Defaults to :data:`True`. + + Raises: + InteractiveCommandExecutionError: If `verify` is :data:`True` and the queue fails + to stop. + """ + port_type = "rxq" if is_rx_queue else "txq" + stop_cmd_output = self.send_command(f"port {port_id} {port_type} {queue_id} stop") + if verify: + if ( + # Rx/Tx queue state: ... + f"{port_type.capitalize()[:-1]} queue state: stopped" not in + self.send_command(f"show {port_type} info {port_id} {queue_id}") + ): + self._logger.debug( + f"Failed to stop {port_type} {queue_id} on port {port_id}:\n{stop_cmd_output}" + ) + raise InteractiveCommandExecutionError( + f"Test pmd failed to stop {port_type} {queue_id} on port {port_id}" + ) + + def start_port_queue( + self, + port_id: int, + queue_id: int, + is_rx_queue: bool, + verify: bool = True + ) -> None: + """Starts a given RX queue on a port. + + Args: + port_id: ID of the port that the queue belongs to. + queue_id: ID of the queue to start. + is_rx_queue: Type of queue to start. If :data:`True` an RX queue will be started, + otherwise a TX queue will be started. + verify: if :data:`True` an additional command will be sent to verify that the queue was + started. Defaults to :data:`True`. + + Raises: + InteractiveCommandExecutionError: If `verify` is :data:`True` and the queue fails to + start. + """ + port_type = "rxq" if is_rx_queue else "txq" + self.setup_port_queue(port_id, queue_id, port_type) + start_cmd_output = self.send_command(f"port {port_id} {port_type} {queue_id} start") + if verify: + if ( + # Rx/Tx queue state: ... + f"{port_type.capitalize()[:-1]} queue state: started" not in + self.send_command(f"show {port_type} info {port_id} {queue_id}") + ): + self._logger.debug( + f"Failed to start {port_type} {queue_id} on port {port_id}:\n{start_cmd_output}" + ) + raise InteractiveCommandExecutionError( + f"Test pmd failed to start {port_type} {queue_id} on port {port_id}" + ) + + def setup_port_queue(self, port_id: int, queue_id: int, is_rx_queue: bool) -> None: + """Setup a given queue on a port. + + This functionality cannot be verified because the setup action only takes effect when the + queue is started. + + Args: + port_id: ID of the port where the queue resides. + queue_id: ID of the queue to setup. + is_rx_queue: Type of queue to setup. If :data:`True` an RX queue will be setup, + otherwise a TX queue will be setup. + """ + self.send_command(f"port {port_id} {'rxq' if is_rx_queue else 'txq'} {queue_id} setup") + + def change_queue_ring_size( + self, + port_id: int, + queue_id: int, + size: int, + is_rx_queue: bool, + verify: bool = True, + ) -> None: + """Update the ring size of an RX/TX queue on a given port. + + Args: + port_id: The port that the queue resides on. + queue_id: The ID of the queue on the port. + size: The size to update the ring size to. + is_rx_queue: Whether to modify an RX or TX queue. If :data:`True` an RX queue will be + updated, otherwise a TX queue will be updated. + verify: If :data:`True` an additional command will be sent to check the ring size of + the queue in an attempt to validate that the size was changes properly. + + Raises: + InteractiveCommandExecutionError: If `verify` is :data:`True` and there is a failure + when updating ring size. + """ + queue_type = "rxq" if is_rx_queue else "txq" + self.send_command(f"port config {port_id} {queue_type} {queue_id} ring_size {size}") + self.setup_port_queue(port_id, queue_id, is_rx_queue) + if verify: + queue_info = self.send_command(f"show {queue_type} info {port_id} {queue_id}") + if f"Number of RXDs: {size}" not in queue_info: + self._logger.debug( + f"Failed up update ring size of queue {queue_id} on port {port_id}:" + f"\n{queue_info}" + ) + raise InteractiveCommandExecutionError( + f"Failed to update ring size of queue {queue_id} on port {port_id}" + ) + + def set_promisc_on(self, port: int, on: bool, verify: bool = True): + """Turns promiscuous mode on/off for the specified port + + Args: + port: port number to use, should be within 0-32. + on: if :data:`True`, turn promisc mode on, otherwise turn off. + verify: if :data:`True` an additional command will be sent to verify that promisc mode + is properly set. Defaults to :data:`True`. + + Raises: + InteractiveCommandExecutionError: If `verify` is :data:`True` and promisc mode + is not correctly set. + """ + if on: + promisc_output = self.send_command(f"set promisc {port} on") + else: + promisc_output = self.send_command(f"set promisc {port} off") + if verify: + if (on and "Promiscuous mode: enabled" not in + self.send_command(f"show port info {port}")): + self._logger.debug(f"Failed to set promisc mode on port {port}: \n{promisc_output}") + raise InteractiveCommandExecutionError(f"Testpmd failed to set promisc mode on port {port}.") + elif (not on and "Promiscuous mode: disabled" not in + self.send_command(f"show port info {port}")): + self._logger.debug(f"Failed to set promisc mode on port {port}: \n{promisc_output}") + raise InteractiveCommandExecutionError(f"Testpmd failed to set promisc mode on port {port}.") + + + def set_verbose(self, level: int, verify: bool = True): + """Set debug verbosity level. + + Args: + level: 0 - silent except for error + 1 - fully verbose except for Tx packets + 2 - fully verbose except for Rx packets + >2 - fully verbose + verify: if :data:`True` an additional command will be sent to verify that verbose level + is properly set. Defaults to :data:`True`. + + Raises: + InteractiveCommandExecutionError: If `verify` is :data:`True` and verbose level + is not correctly set. + """ + verbose_output = self.send_command(f"set verbose {level}") + if verify: + if "Change verbose level" not in verbose_output: + self._logger.debug(f"Failed to set verbose level to {level}: \n{verbose_output}") + raise InteractiveCommandExecutionError(f"Testpmd failed to set verbose level to {level}.") + def close(self) -> None: """Overrides :meth:`~.interactive_shell.close`.""" self.send_command("quit", "") From patchwork Mon Jun 17 19:46:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dean Marx X-Patchwork-Id: 141229 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 324D545484; Mon, 17 Jun 2024 21:48:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF90140DF5; Mon, 17 Jun 2024 21:48:17 +0200 (CEST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mails.dpdk.org (Postfix) with ESMTP id 9AA0040DC9 for ; Mon, 17 Jun 2024 21:48:16 +0200 (CEST) Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7955f3d4516so511987385a.1 for ; Mon, 17 Jun 2024 12:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718653696; x=1719258496; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OGMKihmZIXGgHsNInt7mAGT6YNIWo/AJBDBuGDo8EbU=; b=E+w5th3GYu3U9G4w19bDsT0mZceY/olkSvL+mXKhbVYm0Vf7YWhQsQ2FYpC7dmAcQB VMmLRR/jJmWcpGTJjOxiS04XS+tysV7s03fiH35DTIkvixwAq2jk+cDMa5HPc5Ni3Aq7 nFT032K1H0HP//lnAfmeUXj5l8xARjzRqmG4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718653696; x=1719258496; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OGMKihmZIXGgHsNInt7mAGT6YNIWo/AJBDBuGDo8EbU=; b=WOKu2mxpKZZvkVjoDCJYaIRG8UIqdb8jz/VQIfKhXWLbR2xFCM16l56VNK+8c1BzgQ sthq2HX6AMwMr6Q7rwZjCDPMcpvptKQJCIfMcXiRpk2thQGRUYzanGluWY0yJ+RsqV+9 3KgFyZ+9baYemuz5yjSAHAqLZxyHp9AkYJPKIpbo3ozpV3M7b+IGEnkU0YMNVu82miRC z6cGih131z05Ufh+ojPgQiGLc0UdguTip3txPy7YbCdb+kA6UO4a2ORfg8MA+b4xKlfM BsyJiCKM51OnvQhSAQcq+tltoDFZyzvmA5lbu8SxZwTF0rl50Cd1MpfobUQ+0G8wuj18 9YMw== X-Gm-Message-State: AOJu0YwoDIo89bOPlalCapENBjlByVhE8/cnol7W8QBY+kHAuhVZf+Pa Fm+5R0/K+HgDPDEYyI2cV2at39ir5Ku5QlQmt3KjdSX0o+grXQ+JstzcITNqReA= X-Google-Smtp-Source: AGHT+IHgbiy01QWoK2piBXrFsXH3qYB/qLqnOtzF3kpJZuMPlvw+YCn2kvRTKARmHf0Fr4kg9PScZA== X-Received: by 2002:a05:620a:444d:b0:794:eb81:32c4 with SMTP id af79cd13be357-79ba76cc979mr117423885a.10.1718653695967; Mon, 17 Jun 2024 12:48:15 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1210:52ef:3eaf:5f1e:6f6a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-798aacae6eesm459167185a.16.2024.06.17.12.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 12:48:15 -0700 (PDT) From: Dean Marx To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, luca.vizzarro@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v2 3/3] dts: queue suite conf schema Date: Mon, 17 Jun 2024 15:46:42 -0400 Message-ID: <20240617194638.12926-8-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240617194638.12926-2-dmarx@iol.unh.edu> References: <20240617194638.12926-2-dmarx@iol.unh.edu> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Configuration schema for the queue_start_stop suite. Signed-off-by: Dean Marx Reviewed-by: Jeremy Spewock --- dts/framework/config/conf_yaml_schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dts/framework/config/conf_yaml_schema.json b/dts/framework/config/conf_yaml_schema.json index 4731f4511d..226f43e846 100644 --- a/dts/framework/config/conf_yaml_schema.json +++ b/dts/framework/config/conf_yaml_schema.json @@ -187,7 +187,8 @@ "enum": [ "hello_world", "os_udp", - "pmd_buffer_scatter" + "pmd_buffer_scatter", + "queue_start_stop" ] }, "test_target": {