[dts][PATCH V1 4/4] test_plans/vf_vlan: update dts code for driver change

Weiyuan Li weiyuanx.li at intel.com
Tue Jul 5 09:18:35 CEST 2022


The out-tree driver has vf-vlan-pruning option,but in-tree driver has
not. So we need different action to enable vlan filter when we validate
the vlan filter function with in-tree and out-tree kernel drvier.

Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---
 test_plans/vf_vlan_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst
index c183b3d6..a3d8df6b 100644
--- a/test_plans/vf_vlan_test_plan.rst
+++ b/test_plans/vf_vlan_test_plan.rst
@@ -21,6 +21,10 @@ Prerequisites
      0000:87:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused=
      0000:87:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused=
 
+     If the driver is out tree enable pf vf-vlan-pruning flags:
+     ethtool --set-priv-flags ens259f0 vf-vlan-pruning on
+     ethtool --set-priv-flags ens259f1 vf-vlan-pruning on
+
      echo 1 > /sys/bus/pci/devices/0000\:87\:00.0/sriov_numvfs
      echo 1 > /sys/bus/pci/devices/0000\:87\:00.1/sriov_numvfs
 
-- 
2.27.0



More information about the dts mailing list