test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vf vlan : enable filter before rx_vlan add
@ 2018-05-23  6:48 zhao,meijuan
  2018-05-25 16:45 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-05-23  6:48 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

before set rx_vlan add command, need enable vf filter, 
before v18.02, vf filter default is enable

Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
 tests/TestSuite_vf_vlan.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index da9330d..75d99f2 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -383,6 +383,7 @@ class TestVfVlan(TestCase):
 
         for rx_vlan in rx_vlans:
             self.vm0_testpmd.execute_cmd('vlan set strip on 0')
+            self.vm0_testpmd.execute_cmd('vlan set filter on 0')
             self.vm0_testpmd.execute_cmd('rx_vlan add %d 0' % rx_vlan)
             time.sleep(1)
             out = self.send_and_getout(vlan=rx_vlan, pkt_type="VLAN_UDP")
-- 
1.9.3

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

* Re: [dts] [PATCH V1] tests/vf vlan : enable filter before rx_vlan add
  2018-05-23  6:48 [dts] [PATCH V1] tests/vf vlan : enable filter before rx_vlan add zhao,meijuan
@ 2018-05-25 16:45 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-05-25 16:45 UTC (permalink / raw)
  To: zhao,meijuan, dts

Thanks, meijuan. Applied.

On 05/23/2018 02:48 PM, zhao,meijuan wrote:
> before set rx_vlan add command, need enable vf filter,
> before v18.02, vf filter default is enable
>
> Signed-off-by: zhao,meijuan<meijuanx.zhao@intel.com>

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

end of thread, other threads:[~2018-05-25  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23  6:48 [dts] [PATCH V1] tests/vf vlan : enable filter before rx_vlan add zhao,meijuan
2018-05-25 16:45 ` 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).