> -邮件原件-
> 发件人: Zhang, Qi Z
> 发送时间: Wednesday, January 26, 2022 10:28 PM
> 收件人: Feifei Wang ; Xing, Beilei
>
> 抄送: dev@dpdk.org; Wang, Haiyue ; nd
> ; Ruifeng Wang
> 主题: RE: [PATCH v2] net/i40e: reduce redundant store operation
>
>
>
> >
> -Original Message-
> From: Feifei Wang
> Sent: Tuesday, December 21, 2021 4:11 PM
> To: Xing, Beilei
> Cc: dev@dpdk.org; Wang, Haiyue ; n...@arm.com;
> Feifei Wang ; Ruifeng Wang
>
> Subject: [PATCH v2] net/i40e: reduce redundant store 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
3 matches
Mail list logo