From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 172AB1B44A; Tue, 23 Oct 2018 11:50:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2018 02:50:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,415,1534834800"; d="scan'208";a="101862370" Received: from kmsmsx152.gar.corp.intel.com ([172.21.73.87]) by orsmga001.jf.intel.com with ESMTP; 23 Oct 2018 02:50:12 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.13]) by KMSMSX152.gar.corp.intel.com ([169.254.11.48]) with mapi id 14.03.0319.002; Tue, 23 Oct 2018 17:50:11 +0800 From: "Zhao1, Wei" To: "dev@dpdk.org" CC: "Zhang, Qi Z" , "stable@dpdk.org" , "Peng, Yuan" , "Iremonger, Bernard" Thread-Topic: [PATCH v2] app/testpmd: support more types for flow RSS Thread-Index: AQHUarUYFT/707NwXEq0o0/a062Ln6UslUgw Date: Tue, 23 Oct 2018 09:50:11 +0000 Message-ID: References: <1540194565-40052-1-git-send-email-wei.zhao1@intel.com> <1540286456-55203-1-git-send-email-wei.zhao1@intel.com> In-Reply-To: <1540286456-55203-1-git-send-email-wei.zhao1@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.0.400.15 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: support more types for flow RSS 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: , X-List-Received-Date: Tue, 23 Oct 2018 09:50:16 -0000 Add Bernard into mailing list. > -----Original Message----- > From: Zhao1, Wei > Sent: Tuesday, October 23, 2018 5:21 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; stable@dpdk.org; Peng, Yuan > ; Zhao1, Wei > Subject: [PATCH v2] app/testpmd: support more types for flow RSS >=20 > Some user and tester require flow RSS to support more types, so add "all" > and "none" to make configuration more easy for users. >=20 > Tested-by: Peng Yuan > Signed-off-by: Wei Zhao >=20 > --- >=20 > v2: > -fix typo in commit message. > --- > app/test-pmd/config.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index > bf3cd0a..f068da1 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -74,6 +74,10 @@ static const struct { }; >=20 > const struct rss_type_info rss_type_table[] =3D { > + { "all", ETH_RSS_IP | ETH_RSS_TCP | > + ETH_RSS_UDP | ETH_RSS_SCTP | > + ETH_RSS_L2_PAYLOAD }, > + { "none", 0 }, > { "ipv4", ETH_RSS_IPV4 }, > { "ipv4-frag", ETH_RSS_FRAG_IPV4 }, > { "ipv4-tcp", ETH_RSS_NONFRAG_IPV4_TCP }, > -- > 2.7.5