[dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support

Su, Simei simei.su at intel.com
Sun Sep 29 08:46:35 CEST 2019


Hi, Ori Kam,

> -----Original Message-----
> From: Ori Kam [mailto:orika at mellanox.com]
> Sent: Sunday, September 29, 2019 12:49 AM
> To: Su, Simei <simei.su at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Ye, Xiaolong <xiaolong.ye at intel.com>
> Cc: dev at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types
> extending support
> 
> Hi Simei,
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Simei Su
> > Sent: Friday, September 27, 2019 11:54 AM
> > To: qi.z.zhang at intel.com; jingjing.wu at intel.com; xiaolong.ye at intel.com
> > Cc: dev at dpdk.org; simei.su at 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 <simei.su at intel.com>
> > ---
> >  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.

  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.

Br
Simei

> 
> Thanks,
> Ori Kam
> 
> > --
> > 1.8.3.1



More information about the dev mailing list