[dpdk-dev] [PATCH v3] examples/flow_filtering: add rte_fdir_conf initialization

Xu, Rosen rosen.xu at intel.com
Tue Jul 31 14:55:30 CEST 2018


Hi Thomas,

This is my reply.

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Friday, July 27, 2018 1:42
> To: Xu, Rosen <rosen.xu at intel.com>
> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>;
> orika at mellanox.com; Gilmore, Walter E <walter.e.gilmore at intel.com>;
> Zhang, Qi Z <qi.z.zhang at intel.com>; stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] examples/flow_filtering: add
> rte_fdir_conf initialization
> 
> 22/07/2018 12:39, Rosen Xu:
> > Rte_fdir_conf of rte_eth_conf should be initialized before port
> > initialization. It is a workaround solution when working with Intel
> > I40e.
> [...]
> > +		/*
> > +		 * Initialize fdir_conf of ete_eth_conf
> 
> Typo and lack of punctuation.

Fixed.

> > +		 * it is a workaround solution when working with Intel I40e
> > +		 * and it is not the normal way
> 
> It is not said why it is needed,
> and what are we waiting to remove the workaround.

Added.

> > +		 */
> > +		.fdir_conf = {
> > +			.mode = RTE_FDIR_MODE_PERFECT,
> > +			.pballoc = RTE_FDIR_PBALLOC_64K,
> > +			.status = RTE_FDIR_REPORT_STATUS,
> > +			.drop_queue = 127,
> > +		},
> 
> Please work on a v4 with better explanations.
> 



More information about the dev mailing list