[dts] [PATCH V2 3/4] test_plans/vf_daemon:add modify dpdk code in test plan

Jianwei Mei jianweix.mei at intel.com
Mon Aug 24 12:34:56 CEST 2020


The test sutie change some dpdk code, but not mentioned it in the plan.

Signed-off-by: Jianwei Mei <jianweix.mei at intel.com>
---
 test_plans/vf_daemon_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst
index 9a790c1..2c131f5 100644
--- a/test_plans/vf_daemon_test_plan.rst
+++ b/test_plans/vf_daemon_test_plan.rst
@@ -189,6 +189,10 @@ Test Case 4: Set mac antispoof for VF from PF
 
       .addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55}
 
+      On VF0, add below two line code in file app/test-pmd/macswap_sse.h:
+      struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};
+      rte_ether_addr_copy(&fake_mac, &eth_hdr[0]->s_addr);
+
 2. Disable VF0 mac antispoof from PF::
 
       testpmd> set vf mac antispoof 0 0 off
-- 
2.17.1



More information about the dts mailing list