[dts][PATCH V3 05/10] test_plans/ice_advanced_iavf_rss: update dts code for dpdk csum change
Weiyuan Li
weiyuanx.li at intel.com
Tue Aug 30 04:47:35 CEST 2022
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 at intel.com>
---
Tested-by: Jiale Song < songx.jiale at intel.com>
v2:
-Modify the dst mac variable to 'dst_mac'
-Enable promisc mode in testpmd
v3:
-Test plan csum add enable promisc mode
test_plans/ice_advanced_iavf_rss_test_plan.rst | 5 +++++
1 file changed, 5 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..4213334b 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
@@ -2911,6 +2915,7 @@ Test case: Set HW csum, flow rule does not impact RX checksum and TX checksum
csum set tcp hw 0
csum set sctp hw 0
port start all
+ set promisc 0 on
set verbose 1
start
--
2.27.0
More information about the dts
mailing list