[dpdk-dev] [PATCH] app/testpmd: support more types for flow RSS

Zhao1, Wei wei.zhao1 at intel.com
Tue Oct 23 11:37:52 CEST 2018


Hi, Iremonger  Bernard

> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Monday, October 22, 2018 6:45 PM
> To: Zhao1, Wei <wei.zhao1 at intel.com>; dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; stable at dpdk.org; Peng, Yuan
> <yuan.peng at intel.com>; Zhao1, Wei <wei.zhao1 at intel.com>
> Subject: RE: [dpdk-dev] [PATCH] app/testpmd: support more types for flow
> RSS
> 
> Hi Zhao,
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei Zhao
> > Sent: Monday, October 22, 2018 8:49 AM
> > To: dev at dpdk.org
> > Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; stable at dpdk.org; Peng, Yuan
> > <yuan.peng at intel.com>; Zhao1, Wei <wei.zhao1 at intel.com>
> > Subject: [dpdk-dev] [PATCH] app/testpmd: support more types for flow
> > RSS
> >
> > Some user and tester require flow RSS to support more types, so and
> > "all" and
> 
> typo in commit message "and "all"  " should be "add "all""

Yes, I will commit v2 for that. 
Thank you!

> 
> > "none" to make configuration more easy for users.
> >
> > Signed-off-by: Wei Zhao <wei.zhao1 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
> > bf3cd0a..f068da1 100644
> > --- a/app/test-pmd/config.c
> > +++ b/app/test-pmd/config.c
> > @@ -74,6 +74,10 @@ static const struct {  };
> >
> >  const struct rss_type_info rss_type_table[] = {
> > +	{ "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
> 
> The "all" and "none" options are already documented in testpmd.
> This looks like a fix, if so should there be a fixes line?
> 

Not a fix, this is used by rte_flow command line, not old CLI.

> Regards,
> 
> Bernard.
> 



More information about the dev mailing list