RE: [PATCH v3] net/i40e: reduce redundant reset operation

2022-01-27 Thread Zhang, Qi Z
> -Original Message- > From: Feifei Wang > Sent: Thursday, January 27, 2022 3:40 PM > To: Xing, Beilei > Cc: dev@dpdk.org; n...@arm.com; Feifei Wang ; > Ruifeng Wang > Subject: [PATCH v3] net/i40e: reduce redundant reset operation > > For free buffer op

[PATCH v3] net/i40e: reduce redundant reset operation

2022-01-26 Thread Feifei Wang
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