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 39F16A2EDB for ; Sun, 29 Sep 2019 08:46:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 34E2F2B88; Sun, 29 Sep 2019 08:46:42 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1848ADE3 for ; Sun, 29 Sep 2019 08:46:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2019 23:46:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,562,1559545200"; d="scan'208";a="194971588" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 28 Sep 2019 23:46:38 -0700 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 28 Sep 2019 23:46:38 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 28 Sep 2019 23:46:38 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.119]) with mapi id 14.03.0439.000; Sun, 29 Sep 2019 14:46:36 +0800 From: "Su, Simei" To: 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: AQHVdhy2mCGKupGtf0ejutZpzmKdTKdCNjwQ Date: Sun, 29 Sep 2019 06:46:35 +0000 Message-ID: <65F28F834D25B54B9EC1999B623071B30C45E348@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> In-Reply-To: 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, > -----Original Message----- > From: Ori Kam [mailto:orika@mellanox.com] > Sent: Sunday, September 29, 2019 12:49 AM > To: Su, Simei ; Zhang, Qi Z ; W= u, > 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 Simei, >=20 > > -----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 }, > > }; > > >=20 > You must also add the new flags in app/test-pmd/cmdline.c So they can be = used > when creating rte_flow. If nothing added in app/test-pmd/cmdline.c, they can also be created succ= essfully when creating rte_flow. If still need to add the new flag in app/test-pmd/cmdline.c, I will add r= elated code in next patch. Br Simei >=20 > Thanks, > Ori Kam >=20 > > -- > > 1.8.3.1