[dts] [PATCH] Remove RSS on sctp packets test due to fm10k HW unsupport
Lin, Xueqin
xueqin.lin at intel.com
Fri Aug 12 07:51:26 CEST 2016
Great. I will use this API and send patch again, thanks.
> -----Original Message-----
> From: Liu, Yong
> Sent: Friday, August 12, 2016 1:33 PM
> To: xueqin.lin; dts at dpdk.org
> Cc: Lin, Xueqin
> Subject: RE: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW
> unsupport
>
> Hi Xueqin,
> There's one more clear and easy way to remove sctp RSS validation.
>
> if self.kdriver in ["fm10k"]:
> iptypes.pop('ipv6-sctp')
>
> > -----Original Message-----
> > From: xueqin.lin [mailto:xlin15 at ecsmtp.sh.intel.com]
> > Sent: Thursday, August 11, 2016 6:04 PM
> > To: Liu, Yong; dts at dpdk.org
> > Cc: Lin, Xueqin
> > Subject: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW
> > unsupport
> >
> > From: Xueqin Lin <xueqin.lin at intel.com>
> >
> > Refer to fm10k datasheet 11.27.2.30,RSS on sctp packets is not supported
> > by HW.
> >
> > ---
> > tests/TestSuite_pmdrss_hash.py | 38 ++++++++++++++++++++++++---------
> ----
> > -
> > 1 file changed, 24 insertions(+), 14 deletions(-)
> >
> > diff --git a/tests/TestSuite_pmdrss_hash.py
> > b/tests/TestSuite_pmdrss_hash.py
> > index 0cb703b..14e6596 100644
> > --- a/tests/TestSuite_pmdrss_hash.py
> > +++ b/tests/TestSuite_pmdrss_hash.py
> > @@ -545,20 +545,30 @@ class TestPmdrssHash(TestCase):
> > localPort = self.tester.get_local_port(dutPorts[0])
> > itf = self.tester.get_interface(localPort)
> > global reta_num
> > - iptypes = {'ipv4-sctp': 'sctp',
> > - 'ipv4-other': 'ip',
> > - 'ipv4-frag': 'ip',
> > - 'ipv4-udp': 'udp',
> > - 'ipv4-tcp': 'tcp',
> > - # this hass not support in dpdk 2.0
> > - # 'l2_payload':'ether',
> > - 'ipv6-other': 'ip',
> > - 'ipv6-sctp': 'ip',
> > - 'ipv6-udp': 'udp',
> > - 'ipv6-tcp': 'tcp',
> > - 'ipv6-frag': 'ip'
> > - }
> > -
> > + if self.kdriver not in ["fm10k"]:
> > + iptypes = { 'ipv4-sctp': 'sctp',
> > + 'ipv4-other': 'ip',
> > + 'ipv4-frag': 'ip',
> > + 'ipv4-udp': 'udp',
> > + 'ipv4-tcp': 'tcp',
> > + # this hass not support in dpdk 2.0
> > + # 'l2_payload':'ether',
> > + 'ipv6-other': 'ip',
> > + 'ipv6-sctp': 'ip',
> > + 'ipv6-udp': 'udp',
> > + 'ipv6-tcp': 'tcp',
> > + 'ipv6-frag': 'ip'
> > + }
> > + else:
> > + iptypes = { 'ipv4-other': 'ip',
> > + 'ipv4-frag': 'ip',
> > + 'ipv4-udp': 'udp',
> > + 'ipv4-tcp': 'tcp',
> > + 'ipv6-other': 'ip',
> > + 'ipv6-udp': 'udp',
> > + 'ipv6-tcp': 'tcp',
> > + 'ipv6-frag': 'ip'
> > + }
> > self.dut.kill_all()
> >
> > # test with different rss queues
> > --
> > 2.5.5
More information about the dts
mailing list