[3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param

Message ID 20200901025517.9501-4-weix.xie@intel.com (mailing list archive)
State Accepted
Headers
Series modify test plan |

Commit Message

Xie, WeiX Sept. 1, 2020, 2:55 a.m. UTC
  Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/userspace_ethtool_test_plan.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Lin, Xueqin Sept. 1, 2020, 6:21 a.m. UTC | #1
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan
> fiter param
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  test_plans/userspace_ethtool_test_plan.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test_plans/userspace_ethtool_test_plan.rst
> b/test_plans/userspace_ethtool_test_plan.rst
> index 2bce184..ca86bea 100644
> --- a/test_plans/userspace_ethtool_test_plan.rst
> +++ b/test_plans/userspace_ethtool_test_plan.rst
> @@ -164,7 +164,7 @@ Test Case: Vlan test
> 
>  enable vlan filter flag in main.c of dpdk's ethtool::
> 
> -    sed -i -e '/cfg_port.txmode.mq_mode =
> ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.hw_vlan_filter=1;'
> examples/ethtool/ethtool-app/main.c
> +    sed -i -e '/cfg_port.txmode.mq_mode =
> ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_
> FILTER;' examples/ethtool/ethtool-app/main.c
> 
>  re-compile examples/ethtool::
> 
> --
> 2.17.1
  

Patch

diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst
index 2bce184..ca86bea 100644
--- a/test_plans/userspace_ethtool_test_plan.rst
+++ b/test_plans/userspace_ethtool_test_plan.rst
@@ -164,7 +164,7 @@  Test Case: Vlan test
 
 enable vlan filter flag in main.c of dpdk's ethtool::
 
-    sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.hw_vlan_filter=1;' examples/ethtool/ethtool-app/main.c
+    sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' examples/ethtool/ethtool-app/main.c
 
 re-compile examples/ethtool::