[PATCH v2 0/4] dts: initial dynamic config suite
Dean Marx
dmarx at iol.unh.edu
Mon Jul 8 21:19:34 CEST 2024
Dynamic Configuration suite for ensuring the Poll Mode Driver's ability
to enable/disable promiscuous and allmulticast mode. Verifies 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 forwarded.
2. Disable promisc - turns off promiscuous mode, verifies that packets
with destination MAC addresses matching that of the Rx port are
forwarded, while packets with unknown addresses are dropped.
3. Disable promisc broadcast - turns off promiscuous mode, verifies that
packets with matching or broadcast destination MAC addresses are
forwarded.
4. Disable promisc multicast - turns off promiscuous mode, verifies that
packets with multicast destination MAC addresses 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 conf schema
dts: dynamic config test suite
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
--
2.44.0
More information about the dev
mailing list