[dts] [PATCH V1]tests/qinq_filter:enable hw vlan

Liu, Yong yong.liu at intel.com
Thu Feb 8 08:46:26 CET 2018


Yingya,
QinQ filter case can work without DEV_RX_OFFLOAD_VLAN flag. I assume that packet type case will like it.
Please check the output of packet type, what kind of packet will be dumped when rx vlan offloading is disabled?

Thanks,
Marvin

> -----Original Message-----
> From: Han, YingyaX
> Sent: Thursday, February 08, 2018 3:39 PM
> To: Liu, Yong <yong.liu at intel.com>; dts at dpdk.org
> Subject: RE: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan
> 
> I checked this case on several different platforms and DEV_RX_OFFLOAD_VLAN
> must to be set.
> Thanks ,
> yingya
> -----Original Message-----
> From: Liu, Yong
> Sent: Thursday, February 8, 2018 2:06 PM
> To: Han, YingyaX <yingyax.han at intel.com>; dts at dpdk.org
> Cc: Han, YingyaX <yingyax.han at intel.com>
> Subject: RE: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan
> 
> Yingya,
> In test_qinq_pack_type case, testpmd will enable qinq and meanwhile
> DEV_RX_OFFLOAD_VLAN_EXTEND flag will be set.
> Can you check whether DEV_RX_OFFLOAD_VLAN is must for this case?
> 
> Thanks,
> Marvin
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of han,yingya
> > Sent: Monday, February 05, 2018 6:11 PM
> > To: dts at dpdk.org
> > Cc: Han, YingyaX <yingyax.han at intel.com>
> > Subject: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan
> >
> > need enable hw vlan parameter,because default value is off
> > Signed-off-by: han,yingya <yingyax.han at intel.com>
> > ---
> >  tests/TestSuite_qinq_filter.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_qinq_filter.py
> > b/tests/TestSuite_qinq_filter.py index 3f9c1ac..d1310a5 100644
> > --- a/tests/TestSuite_qinq_filter.py
> > +++ b/tests/TestSuite_qinq_filter.py
> > @@ -146,7 +146,7 @@ class TestQinqFilter(TestCase):
> >          """
> >
> >          self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 -- -i \
> > -                               --portmask=%s --port-topology=loop \
> > +                               --portmask=%s --enable-hw-vlan --port-
> > topology=loop \
> >                                 --rxq=4 --txq=4  --disable-rss' %
> > (self.target, self.coreMask, self.portMask),
> >                                 "testpmd> ")
> >          self.dut.send_expect("vlan set qinq on %s" % dutRxPortId,
> > "testpmd> ")
> > --
> > 1.9.3



More information about the dts mailing list