From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 819C44565E; Thu, 1 Aug 2024 15:15:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61EEF42F8F; Thu, 1 Aug 2024 15:15:08 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id D440542F0F for ; Thu, 1 Aug 2024 15:15:06 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D68851007; Thu, 1 Aug 2024 06:15:31 -0700 (PDT) Received: from [10.1.38.17] (JR4XG4HTQC.cambridge.arm.com [10.1.38.17]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1B1C13F766; Thu, 1 Aug 2024 06:15:05 -0700 (PDT) Message-ID: Date: Thu, 1 Aug 2024 14:15:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: dts: dynamic config test suite implementation Content-Language: en-GB To: Dean Marx , 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 Cc: dev@dpdk.org References: <20240708190858.26583-1-dmarx@iol.unh.edu> From: Luca Vizzarro In-Reply-To: <20240708190858.26583-1-dmarx@iol.unh.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Dean, I've just realised that you sent a new version but it was sent a separate thread. Sorry about that! I'll try to send a review to that one. Can you please make sure to reply to the original thread starting email when you send new versions as per contributing guidelines[1]? Thank you, Luca [1] https://core.dpdk.org/contribute/ On 08/07/2024 20:08, Dean Marx wrote: > Dynamic Configuration test suite for ensuring Poll Mode Driver's ability > to enable/disable promiscuous and allmulticast mode, and verify the > expected behavior in the following four test cases: > > 1. Default mode - verifies that promiscuous mode is enabled by default, > and packets with any destination MAC address are received and forwarded. > 2. Disable promisc - turns off promiscuous mode and verifies that > packets with a destination MAC address matching that of the Rx port are > forwarded, while unknown MAC addresses are dropped. > 3. Disable promisc broadcast - turns off promiscuous mode and verifies > that packets with a matching or broadcast destination MAC address are > forwarded. > 4. Disable promisc multicast - turns off promiscuous mode and verifies > that packets with a multicast destination MAC address are dropped when > allmulticast mode is turned off, and forwarded when it is turned on. > > Dean Marx (4): > dts: add multicast set function to shell > dts: add toggle option to send and capture > dts: dynamic config test suite > dts: dynamic config conf schema > > dts/framework/config/conf_yaml_schema.json | 3 +- > dts/framework/remote_session/testpmd_shell.py | 46 ++++++ > dts/framework/test_suite.py | 7 +- > dts/tests/TestSuite_dynamic_config.py | 149 ++++++++++++++++++ > 4 files changed, 203 insertions(+), 2 deletions(-) > create mode 100644 dts/tests/TestSuite_dynamic_config.py >