[V2,02/10] test_plans/vf_offload: update dts code for dpdk csum change
Commit Message
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(+)
@@ -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::