diff mbox series

[V2,02/10] test_plans/vf_offload: update dts code for dpdk csum change

Message ID 20220826024308.17447-2-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers show
Series [V2,01/10] tests/vf_offload: update dts code for dpdk csum change | expand

Commit Message

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

1. Modify VF case to enable promisc.
2. Modify PF case to send packet dst mac is random.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
Tested-by: Jiale Song < songx.jiale@intel.com>

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


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