[V2,3/4] test_plans/vf_daemon:add modify dpdk code in test plan
Commit Message
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(+)
@@ -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, ð_hdr[0]->s_addr);
+
2. Disable VF0 mac antispoof from PF::
testpmd> set vf mac antispoof 0 0 off