dts: dynamic config test suite implementation

Luca Vizzarro Luca.Vizzarro at arm.com
Thu Aug 1 15:15:03 CEST 2024


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
>


More information about the dev mailing list