From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3FC27A04A3; Mon, 4 Nov 2019 03:57:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 36B0C37A2; Mon, 4 Nov 2019 03:57:25 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A5F272C37 for ; Mon, 4 Nov 2019 03:57:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Nov 2019 18:57:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,265,1569308400"; d="scan'208";a="191609902" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 03 Nov 2019 18:57:22 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:57:22 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:57:22 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.248]) with mapi id 14.03.0439.000; Mon, 4 Nov 2019 10:57:20 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064 Thread-Index: AQHViv2ewFD4y7FmmkaNQlhnfypVmad6YR7w Date: Mon, 4 Nov 2019 02:57:20 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB5D3DF@SHSMSX101.ccr.corp.intel.com> References: <1571984949-7319-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1571984949-7319-1-git-send-email-nareddy@marvell.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWM0NDI5ZWQtZDk1OC00NjFiLWIyN2QtNWNiYWI4Mzc1NjlhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9zK0tJbzRLRGc1dUdiSHB4QnZFZ3E2OVltbFwva0RCQW9OZEZwZWVXVW5jRjJtNE94a01CMkt4aU9IbHNsWHZJIn0= 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] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of > nareddy@marvell.com > Sent: Friday, October 25, 2019 2:29 PM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght > supported is 9200 for cavium_a063 and cavium_a064 >=20 > From: Praneeth Reddy >=20 > For cavium_a063 and cavium_a064 setting max packet lenght to 9200 >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_generic_filter.py | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_generic_filter.py > b/tests/TestSuite_generic_filter.py > index 4f14fc1..66b95d2 100644 > --- a/tests/TestSuite_generic_filter.py > +++ b/tests/TestSuite_generic_filter.py > @@ -634,8 +634,12 @@ class TestGeneric_filter(TestCase): > def test_jumbo_frame_size(self): >=20 > self.verify(self.nic not in ["fortville_eagle", "fortville_spiri= t", > "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]= , "%s nic > not support this test" % self.nic) > - self.pmdout.start_testpmd( > - "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --port= mask=3D%s --nb- > cores=3D4 --nb-ports=3D1 --mbcache=3D200 --mbuf-size=3D2048 --max-pkt-len= =3D9600" % > portMask) > + if (self.nic in ["cavium_a063", "cavium_a064"]): > + self.pmdout.start_testpmd( > + "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1 --mbcache=3D200 --mbuf-size=3D2048 --max-pkt- > len=3D9200" % portMask) > + else: > + self.pmdout.start_testpmd( > + "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1 --mbcache=3D200 --mbuf-size=3D2048 --max-pkt- > len=3D9600" % portMask) > port =3D self.tester.get_local_port(valports[0]) > txItf =3D self.tester.get_interface(port) >=20 > -- > 1.8.3.1