Dynamic Configuration suite for verifying 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. -------------------- v6: * Combined configuration schema with test suite patch v7: * Rebased off next-dts Dean Marx (2): dts: add multicast set funciton to shell dts: port over dynamic config test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 24 +++ dts/tests/TestSuite_dynamic_config.py | 143 ++++++++++++++++++ 3 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_dynamic_config.py -- 2.44.0