[dts][PATCH V1 10/12] tests/ice_iavf_fdir: dts adaptation DPDk checksum function changes

Weiyuan Li weiyuanx.li at intel.com
Fri Nov 25 10:16:35 CET 2022


DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum forward
engine) changes the checksum functions adds switches to control whether
to exchange MAC address.

Modify DTS code to adapt to this change.

Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---
 tests/TestSuite_ice_iavf_fdir.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py
index d6ca832a..6410920c 100644
--- a/tests/TestSuite_ice_iavf_fdir.py
+++ b/tests/TestSuite_ice_iavf_fdir.py
@@ -11082,6 +11082,7 @@ class TestICEIAVFFdir(TestCase):
         self.dut.send_expect("csum set udp %s %d" % (hw, port), "testpmd>")
         self.dut.send_expect("port start all", "testpmd>")
         self.dut.send_expect("set promisc 0 on", "testpmd>")
+        self.dut.send_expect("csum mac-swap off 0", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
 
     def get_chksum_values(self, packets_expected):
-- 
2.27.0



More information about the dts mailing list