test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2 1/2] tests/sriov kvm: add vlan strip
@ 2018-06-13  7:32 zhao,meijuan
  2018-06-13  7:32 ` [dts] [PATCH V2 2/2] test_plan/sriov " zhao,meijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-06-13  7:32 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
 tests/TestSuite_sriov_kvm.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
index ee8d555..39e6af3 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -772,7 +772,7 @@ class TestSriovKvm(TestCase):
     def test_two_vms_vlan_mirror(self):
         self.setup_2vm_2vf_env()
         self.setup_two_vm_common_prerequisite()
-
+        self.vm1_testpmd.execute_cmd('vlan set strip on 0')
         port_id_0 = 0
         vlan_id = 0
         vf_mask = '0x1'
@@ -804,7 +804,8 @@ class TestSriovKvm(TestCase):
     def test_two_vms_vlan_and_pool_mirror(self):
         self.setup_2vm_2vf_env()
         self.setup_two_vm_common_prerequisite()
-
+        self.vm0_testpmd.execute_cmd('vlan set strip on 0')
+        self.vm1_testpmd.execute_cmd('vlan set strip on 0')
         port_id_0 = 0
         vlan_id = 3
         vf_mask = '0x2'
@@ -899,7 +900,8 @@ class TestSriovKvm(TestCase):
     def test_two_vms_vlan_and_pool_and_uplink_and_downlink(self):
         self.setup_2vm_2vf_env()
         self.setup_two_vm_common_prerequisite()
-
+        self.vm0_testpmd.execute_cmd('vlan set strip on 0')
+        self.vm1_testpmd.execute_cmd('vlan set strip on 0')
         self.vm0_testpmd.execute_cmd('stop')
         self.vm1_testpmd.execute_cmd('stop')
 
-- 
1.9.3

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

* [dts] [PATCH V2 2/2] test_plan/sriov kvm: add vlan strip
  2018-06-13  7:32 [dts] [PATCH V2 1/2] tests/sriov kvm: add vlan strip zhao,meijuan
@ 2018-06-13  7:32 ` zhao,meijuan
  0 siblings, 0 replies; 2+ messages in thread
From: zhao,meijuan @ 2018-06-13  7:32 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

before dpdk18.02, testpmd default vlan strip value is enable,
test vlan mirror need enable vlan strip

Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
 test_plans/sriov_kvm_test_plan.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/test_plans/sriov_kvm_test_plan.rst b/test_plans/sriov_kvm_test_plan.rst
index f1c17c3..0507b02 100644
--- a/test_plans/sriov_kvm_test_plan.rst
+++ b/test_plans/sriov_kvm_test_plan.rst
@@ -582,6 +582,10 @@ Test Case20: Scaling Vlan Mirror on 4VFs
 
 Make sure prerequisites for scaling 4VFs per 1PF is set up.
 
+Enable vf vlan strip::
+
+     VF0 testpmd->vlan set strip on 0
+
 Add 3 mirror rules that will mirror VM0/VM1/VM2 vlan income traffic to VM3::
 
     PF testpmd-> rx_vlan add 1 port 0 vf 0x1
@@ -624,6 +628,11 @@ Test Case21: Scaling Vlan Mirror & Pool Mirror on 4VFs
 
 Make sure prerequisites for scaling 4VFs per 1PF is set up.
 
+Enable vf vlan strip::
+
+     VF0 testpmd->vlan set strip on 0
+     VF1 testpmd->vlan set strip on 0
+
 Add 3 mirror rules that will mirror VM0/VM1 vlan income traffic to VM2, VM0/VM1
 pool will come to VM3::
 
@@ -700,6 +709,11 @@ Test Case23: Scaling Pool & Vlan & Uplink & Downlink Mirror on 4VFs
 
 Make sure prerequisites for scaling 4VFs per 1PF is set up.
 
+Enable vf vlan strip::
+
+    VF0 testpmd->vlan set strip on 0
+    VF1 testpmd->vlan set strip on 0
+
 Add mirror rules that VM0 vlan mirror to VM1, all income traffic mirror to VM2,
 all outcome traffic mirror to VM3, all VM1 traffic will mirror to VM0. Make
 sure VM2 and VM3 rxonly::
-- 
1.9.3

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

end of thread, other threads:[~2018-06-13  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13  7:32 [dts] [PATCH V2 1/2] tests/sriov kvm: add vlan strip zhao,meijuan
2018-06-13  7:32 ` [dts] [PATCH V2 2/2] test_plan/sriov " zhao,meijuan

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