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

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

Checks

Context Check Description
ci/Intel-dts-doc-test fail Testing issues
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

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_iavf_fdir_test_plan.rst | 6 ++++++
 1 file changed, 6 insertions(+)
  

Patch

diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst
index b485f899..1e788d0d 100644
--- a/test_plans/ice_iavf_fdir_test_plan.rst
+++ b/test_plans/ice_iavf_fdir_test_plan.rst
@@ -195,6 +195,12 @@  Prerequisites
     ip link set enp134s0f1 vf 0 mac 00:11:22:33:44:77
     ip link set enp134s0f1 vf 1 mac 00:11:22:33:44:88
 
+    If test set HW checksum and SW checksum:
+    ip link set enp24s0f0 vf 0 trust on
+    ip link set enp24s0f0 vf 0 spoofchk off
+    ip link set enp24s0f0 vf 1 trust on
+    ip link set enp24s0f0 vf 1 spoofchk off
+
    0000:86:00.0 generate 0000:86:01.0 and 0000:86:01.1
    0000:86:00.1 generate 0000:86:11.0 and 0000:86:11.1
    define 86:01.0 as vf00, 86:01.1 as vf01, 86:11.0 as vf10, 86:11.1 as vf11.