From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 14EF158D8 for ; Fri, 12 Aug 2016 07:32:59 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 11 Aug 2016 22:32:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,508,1464678000"; d="scan'208";a="747678663" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 11 Aug 2016 22:32:59 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 11 Aug 2016 22:32:58 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Fri, 12 Aug 2016 13:32:56 +0800 From: "Liu, Yong" To: xueqin.lin , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts][PATCH] Remove RSS on sctp packets test due to fm10k HW unsupport Thread-Index: AQHR87fB1eSOQ3/WjkabaHJSG1C6MKBEzeFA Date: Fri, 12 Aug 2016 05:32:56 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E2226D321@SHSMSX103.ccr.corp.intel.com> References: <1470909839-30634-1-git-send-email-xlin15@shecgisg005.sh.intel.com> In-Reply-To: <1470909839-30634-1-git-send-email-xlin15@shecgisg005.sh.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjllNjlhODAtN2U3Yi00MGUwLThmMWItNTlkZDA0MmJlNDQ1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InluRkMxUjRWTElwUTVYXC9BVGNjU0lBWFdxNnI4SGlrbXBIYWNHOEUrXC9QZz0ifQ== x-ctpclassification: CTP_IC 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:33:00 -0000 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@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 >=20 > From: Xueqin Lin >=20 > Refer to fm10k datasheet 11.27.2.30,RSS on sctp packets is not supported > by HW. >=20 > --- > tests/TestSuite_pmdrss_hash.py | 38 ++++++++++++++++++++++++------------= - > - > 1 file changed, 24 insertions(+), 14 deletions(-) >=20 > 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() >=20 > # test with different rss queues > -- > 2.5.5