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

Weiyuan Li weiyuanx.li at intel.com
Mon Jul 18 04:54:44 CEST 2022


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 at intel.com>
---
 test_plans/vf_offload_test_plan.rst | 5 +++++
 1 file changed, 5 insertions(+)

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::
-- 
2.27.0



More information about the dts mailing list