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

Message ID 20200824103457.26447-3-jianweix.mei@intel.com (mailing list archive)
State Accepted
Headers
Series [V2,1/4] test_plans/nvgre:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to N in test plan |

Commit Message

Mei, JianweiX Aug. 24, 2020, 10:34 a.m. UTC
  The test sutie change some dpdk code, but not mentioned it in the plan.

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

Patch

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