test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xueqin Lin <xueqin.lin@intel.com>
To: dts@dpdk.org
Cc: Xueqin Lin <xueqin.lin@intel.com>
Subject: [dts] [PATCH] add vlan filter test plan to VF daemon
Date: Mon, 10 Apr 2017 20:08:39 -0400	[thread overview]
Message-ID: <1491869319-6815-1-git-send-email-xueqin.lin@intel.com> (raw)

---
 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

             reply	other threads:[~2017-04-11  6:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11  0:08 Xueqin Lin [this message]
2017-04-20  6:14 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491869319-6815-1-git-send-email-xueqin.lin@intel.com \
    --to=xueqin.lin@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).