[PATCH v4 18/35] net/intel: avoid writing the final pkt descriptor twice

Burakov, Anatoly anatoly.burakov at intel.com
Tue Feb 10 14:31:39 CET 2026


On 2/9/2026 5:45 PM, Bruce Richardson wrote:
> In the scalar datapath, there is a loop to handle multi-segment, and
> multi-descriptor packets on Tx. After that loop, the end-of-packet bit
> was written to the descriptor separately, meaning that for each
> single-descriptor packet there were two writes to the second quad-word -
> basically 3 x 64-bit writes rather than just 2. Adjusting the code to
> compute the EOP bit inside the loop saves that extra write per packet
> and so improves performance.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list