Re: [dpdk-dev] [PATCH V4 4/4] net/i40e: FDIR update rate optimization

2020-07-17 Thread Sun, Chenmin
Best Regards, Sun, Chenmin > -Original Message- > From: Wu, Jingjing > Sent: Thursday, July 16, 2020 9:57 PM > To: Sun, Chenmin ; Zhang, Qi Z > ; Xing, Beilei ; Wang, Haiyue > > Cc: dev@dpdk.org > Subject: RE: [PATCH V4 4/4] net/i40e: FDIR update rate optimization > > > [...] > > >

Re: [dpdk-dev] [PATCH V4 4/4] net/i40e: FDIR update rate optimization

2020-07-16 Thread Wu, Jingjing
[...] > +static inline unsigned char * > +i40e_find_available_buffer(struct rte_eth_dev *dev) > +{ > + struct i40e_pf *pf = I40E_DEV_PRIVATE_TO_PF(dev->data->dev_private); > + struct i40e_fdir_info *fdir_info = &pf->fdir; > + struct i40e_tx_queue *txq = pf->fdir.txq; > + volatile

[dpdk-dev] [PATCH V4 4/4] net/i40e: FDIR update rate optimization

2020-07-15 Thread chenmin . sun
From: Chenmin Sun This patch optimized the fdir update rate for i40e PF, by tracking whether the fdir rule being inserted into the guaranteed space or shared space. For the flows that are inserted to the guaranteed space, we assume that the insertion will always succeed as the hardware only repor