[V2,05/10] test_plans/ice_advanced_iavf_rss: update dts code for dpdk csum change

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

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/ice_advanced_iavf_rss_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/test_plans/ice_advanced_iavf_rss_test_plan.rst b/test_plans/ice_advanced_iavf_rss_test_plan.rst
index 2400f01a..fac4b082 100644
--- a/test_plans/ice_advanced_iavf_rss_test_plan.rst
+++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst
@@ -310,6 +310,10 @@  Prerequisites
     echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs
     ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:55
+    If test set HW csum flow rule does not impact RX checksum and TX checksum:
+    ip link set enp24s0f0 vf 0 trust on
+    ip link set enp24s0f0 vf 0 spoofchk off
 4. bind the VF to dpdk driver in DUT::
     modprobe vfio-pci