test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] add vlan filter test plan to VF daemon
@ 2017-04-11  0:08 Xueqin Lin
  2017-04-20  6:14 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Xueqin Lin @ 2017-04-11  0:08 UTC (permalink / raw)
  To: dts; +Cc: Xueqin Lin

---
 test_plans/vf_daemon_test_plan.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst
index 4e66d8a..795c787 100644
--- a/test_plans/vf_daemon_test_plan.rst
+++ b/test_plans/vf_daemon_test_plan.rst
@@ -407,4 +407,29 @@ Test Case 14: Promisc mode
    received by VF0
 
 
+Test Case 14: Set Vlan filter for VF from PF 
+============================================ 
+1. Start VF0 testpmd, set it in rxonly forwarding mode, enable verbose output
+
+2. Send packet without vlan id to random MAC, check VF0 can receive packet
+
+3. Add vlan filter id as random 1~4095 for VF0 from PF::
+        testpmd> rx_vlan add id port 0 vf 1 
+
+4. Send packet from tester to VF0 with wrong vlan id to random MAC, check VF0 
+   can't receive packet
+
+5. Send packet from tester to VF0 with configured vlan id to random MAC, check 
+   VF0 can receive packet
+
+6. Remove vlan filter id for VF0 from PF::
+        testpmd> rx_vlan rm id port 0 vf 1 
+        
+7. Send packet from tester to VF0 with wrong vlan id to random MAC, check VF0 
+   can receive packet
+
+8. Send packet from tester to VF0 with configured vlan id to random MAC, check 
+   VF0 can receive packet
+
+9. Send packet without vlan id to random MAC, check VF0 can receive packet
 
-- 
2.5.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-20  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-11  0:08 [dts] [PATCH] add vlan filter test plan to VF daemon Xueqin Lin
2017-04-20  6:14 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).