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 6C93CA2EDB for ; Sun, 29 Sep 2019 09:21:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 484862E81; Sun, 29 Sep 2019 09:21:23 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 40A761F28 for ; Sun, 29 Sep 2019 09:21:21 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2019 00:21:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,562,1559545200"; d="scan'208";a="204545289" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 29 Sep 2019 00:21:19 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 29 Sep 2019 00:21:19 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 29 Sep 2019 00:21:18 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by shsmsx102.ccr.corp.intel.com ([169.254.2.176]) with mapi id 14.03.0439.000; Sun, 29 Sep 2019 15:21:18 +0800 From: "Su, Simei" To: "Su, Simei" , Ori Kam , "Zhang, Qi Z" , "Wu, Jingjing" , "Ye, Xiaolong" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support Thread-Index: AQHVdpG8HTTJV9c8CUWTQeHiYtOyA6dCPNAg Date: Sun, 29 Sep 2019 07:21:17 +0000 Message-ID: <65F28F834D25B54B9EC1999B623071B30C45F38D@SHSMSX104.ccr.corp.intel.com> References: <1569420404-163301-1-git-send-email-simei.su@intel.com> <1569574449-47991-1-git-send-email-simei.su@intel.com> <1569574449-47991-4-git-send-email-simei.su@intel.com> <65F28F834D25B54B9EC1999B623071B30C45E348@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <65F28F834D25B54B9EC1999B623071B30C45E348@SHSMSX104.ccr.corp.intel.com> Accept-Language: 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-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzkwYzYzODctY2FiNi00NjA2LThkODEtMjIyNDk4MWUwMzQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidGFxZFRIN2xmS3N2NWFHVGVTdFF5UkxGZVVUZXlITWVrQVNOYm5NTmJjanR5NnVwTUhENEo5N0c4SXFMRXBXaiJ9 x-ctpclassification: CTP_NT 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: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Ori Kam, I have updated the patch for v7. Br Simei > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Su, Simei > Sent: Sunday, September 29, 2019 2:47 PM > To: Ori Kam ; Zhang, Qi Z ; Wu, > Jingjing ; Ye, Xiaolong > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types > extending support >=20 > Hi, Ori Kam, >=20 > > -----Original Message----- > > From: Ori Kam [mailto:orika@mellanox.com] > > Sent: Sunday, September 29, 2019 12:49 AM > > To: Su, Simei ; Zhang, Qi Z > > ; Wu, Jingjing ; Ye, > > Xiaolong > > Cc: dev@dpdk.org > > Subject: RE: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload > > types extending support > > > > Hi Simei, > > > > > -----Original Message----- > > > From: dev On Behalf Of Simei Su > > > Sent: Friday, September 27, 2019 11:54 AM > > > To: qi.z.zhang@intel.com; jingjing.wu@intel.com; > > > xiaolong.ye@intel.com > > > Cc: dev@dpdk.org; simei.su@intel.com > > > Subject: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload > > > types extending support > > > > > > This patch adds cmdline support for extended rss types configuration. > > > > > > Signed-off-by: Simei Su > > > --- > > > app/test-pmd/config.c | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index > > > 1a5a5c1..a59a69e 100644 > > > --- a/app/test-pmd/config.c > > > +++ b/app/test-pmd/config.c > > > @@ -103,6 +103,10 @@ > > > { "tcp", ETH_RSS_TCP }, > > > { "sctp", ETH_RSS_SCTP }, > > > { "tunnel", ETH_RSS_TUNNEL }, > > > + { "l3-src-only", ETH_RSS_L3_SRC_ONLY }, > > > + { "l3-dst-only", ETH_RSS_L3_DST_ONLY }, > > > + { "l4-src-only", ETH_RSS_L4_SRC_ONLY }, > > > + { "l4-dst-only", ETH_RSS_L4_DST_ONLY }, > > > { NULL, 0 }, > > > }; > > > > > > > You must also add the new flags in app/test-pmd/cmdline.c So they can > > be used when creating rte_flow. >=20 > If nothing added in app/test-pmd/cmdline.c, they can also be created > successfully when creating rte_flow. > If still need to add the new flag in app/test-pmd/cmdline.c, I will add= related > code in next patch. >=20 > Br > Simei >=20 > > > > Thanks, > > Ori Kam > > > > > -- > > > 1.8.3.1