diff mbox series

[V2,3/4] test_plans/kernelpf_iavf: update dts code for driver change

Message ID 20220706023806.27825-3-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers show
Series [V2,1/4] tests/kernelpf_iavf: update dts code for driver change | expand

Commit Message

Weiyuan Li July 6, 2022, 2:38 a.m. UTC
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@intel.com>
---

v2:
-fix format issue

 test_plans/kernelpf_iavf_test_plan.rst | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst
index 8c7d1ad5..f044e3cc 100644
--- a/test_plans/kernelpf_iavf_test_plan.rst
+++ b/test_plans/kernelpf_iavf_test_plan.rst
@@ -28,6 +28,9 @@  Get the pci device id of DUT, for example::
     0000:18:00.0 'Device 1592' if=enp24s0f0 drv=ice unused=igb_uio
     0000:18:00.1 'Device 1592' if=enp24s0f1 drv=ice unused=igb_uio
 
+If the driver is out tree enable pf vf-vlan-pruning flags::
+    ethtool --set-priv-flags $PF_INTF vf-vlan-pruning on
+
 Create 1 VF from 1 kernel PF::
 
     echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs