[dts] [PATCH V1] tests/ice_dcf_date_path: turn off promisc mode

Jiale Song songx.jiale at intel.com
Thu May 19 03:55:45 CEST 2022


DCF already supports promise mode, and it is started by default.
promisc should be turned off during the test.

According to dpdk commit cdfbcfa110a ("net/ice: support DCF promiscuous configuration")

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_ice_dcf_date_path.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_ice_dcf_date_path.py b/tests/TestSuite_ice_dcf_date_path.py
index aad27f5b..21a0c875 100644
--- a/tests/TestSuite_ice_dcf_date_path.py
+++ b/tests/TestSuite_ice_dcf_date_path.py
@@ -283,6 +283,7 @@ class DcfDatePathTest(TestCase):
         )
 
         self.pmd_output.execute_cmd("set fwd rxonly")
+        self.pmd_output.execute_cmd("set promisc all off")
         self.pmd_output.execute_cmd("set verbose 1")
         self.pmd_output.execute_cmd("start")
         out = self.send_pkts_getouput(pkt, self.tester_intf0, status=True)
-- 
2.17.1



More information about the dts mailing list