> -----Original Message-----
> From: Feifei Wang <[email protected]>
> Sent: Thursday, January 27, 2022 3:40 PM
> To: Xing, Beilei <[email protected]>
> Cc: [email protected]; [email protected]; Feifei Wang <[email protected]>;
> Ruifeng Wang <[email protected]>
> Subject: [PATCH v3] net/i40e: reduce redundant reset operation
> 
> For free buffer operation in i40e vector path, it is unnecessary to store 
> 'NULL'
> into txep.mbuf. This is because when putting mbuf into Tx queue, tx_tail is 
> the
> sentinel. And when doing tx_free, tx_next_dd is the sentinel. In all 
> processes,
> mbuf==NULL is not a condition in check.
> Thus reset of mbuf is unnecessary and can be omitted.
> 
> Signed-off-by: Feifei Wang <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>

Acked-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to