[dts] [PATCH V2] tests/userspace_ethtool:remove the Vlan filter offload flag bit.

zhu,shuai shuaix.zhu at intel.com
Mon Jan 14 03:01:17 CET 2019


since to changes from 18.02 dpdk, changes about all offload flag in dpdk source code.
‘hw_vlan_filter’ is abandoned  since 18.02.

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 8ade421..a7a2a62 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -467,7 +467,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
             self.verify(tx_pkts_del == rx_pkts, "Failed to remove Rx vlan filter")
 
         self.dut.send_expect("quit", "# ")
-        self.dut.send_expect("sed -i -e '/hw_vlan_filter=1;$/d' %s" % main_file, "# ")
+        self.dut.send_expect("sed -i -e '/cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;$/d' %s" % main_file, "# ")
         # build sample app
         self.build_ethtool()
 
-- 
2.17.2



More information about the dts mailing list