[dts] [PATCH V2] tests/userspace_ethtool:remove the Vlan filter offload flag bit.
Tu, Lijuan
lijuan.tu at intel.com
Tue Jan 15 06:56:24 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
> Sent: Monday, January 14, 2019 10:01 AM
> To: dts at dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu at intel.com>
> Subject: [dts] [PATCH V2] tests/userspace_ethtool:remove the Vlan filter offload
> flag bit.
>
> 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