diff options
author | Xueqin Lin <xueqin.lin@intel.com> | 2017-04-10 20:08:39 -0400 |
---|---|---|
committer | Marvin Liu <yong.liu@intel.com> | 2017-04-20 14:20:05 +0800 |
commit | 5141398b9a7c2e825f7e8103a827cc388601ed6d (patch) | |
tree | 4d63f3e961e9689166cd311bad06cd4160611aea /test_plans | |
parent | 7d1189e7abfaa4ffbac2d292e1e301de3ef37e8d (diff) |
test_plans vf_daemon: add vlan filter test case
Diffstat (limited to 'test_plans')
-rw-r--r-- | test_plans/vf_daemon_test_plan.rst | 25 |
1 files changed, 25 insertions, 0 deletions
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 |