[V1,09/12] test_plans/vf_offload: update dts code for dpdk csum change

Message ID 20220718025447.13287-9-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers
Series [V1,01/12] tests/kernelpf_iavf: update dts code for dpdk csum change |

Commit Message

Weiyuan Li July 18, 2022, 2:54 a.m. UTC
  According to dpdk commit 9b4ea7ae77fa(app/testpmd: revert MAC update in checksum forwarding) modify
the script adapt to this chagne.

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

Patch

diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst
index 522fc017..d8cf8f1c 100644
--- a/test_plans/vf_offload_test_plan.rst
+++ b/test_plans/vf_offload_test_plan.rst
@@ -17,6 +17,11 @@  to the device under test::
    modprobe vfio-pci
    usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
 
+IP link set VF trust on and spoofchk off on DUT::
+
+   ip link set $PF_INTF vf 0 trust on
+   ip link set $PF_INTF vf 0 spoofchk off
+
 Assuming that ports ``0`` and ``1`` are connected to a traffic generator,
 enable hardware rx checksum offload with "--enable-rx-cksum",
 launch the ``testpmd`` with the following arguments::