From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 026515960 for ; Fri, 12 Aug 2016 07:51:29 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 11 Aug 2016 22:51:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,508,1464678000"; d="scan'208";a="1024160559" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 11 Aug 2016 22:51:28 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 11 Aug 2016 22:51:28 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Fri, 12 Aug 2016 13:51:26 +0800 From: "Lin, Xueqin" To: "Liu, Yong" , xueqin.lin , "dts@dpdk.org" Thread-Topic: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW unsupport Thread-Index: AQHR87fBHMrt2A+87kaA0pBlpn/TyaBESGkAgACKJpA= Date: Fri, 12 Aug 2016 05:51:26 +0000 Message-ID: <0D300480287911409D9FF92C1FA2A3351A7C1543@SHSMSX103.ccr.corp.intel.com> References: <1470909839-30634-1-git-send-email-xlin15@shecgisg005.sh.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E2226D321@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E2226D321@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] Remove RSS on sctp packets test due to fm10k HW unsupport X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 05:51:30 -0000 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@dpdk.org > Cc: Lin, Xueqin > Subject: RE: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW > unsupport >=20 > Hi Xueqin, > There's one more clear and easy way to remove sctp RSS validation. >=20 > if self.kdriver in ["fm10k"]: > iptypes.pop('ipv6-sctp') >=20 > > -----Original Message----- > > From: xueqin.lin [mailto:xlin15@ecsmtp.sh.intel.com] > > Sent: Thursday, August 11, 2016 6:04 PM > > To: Liu, Yong; dts@dpdk.org > > Cc: Lin, Xueqin > > Subject: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW > > unsupport > > > > From: Xueqin Lin > > > > Refer to fm10k datasheet 11.27.2.30,RSS on sctp packets is not supporte= d > > 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 =3D self.tester.get_local_port(dutPorts[0]) > > itf =3D self.tester.get_interface(localPort) > > global reta_num > > - iptypes =3D {'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 =3D { '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 =3D { '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