[PATCH] net/intel: fix wrap-around check in simple Tx scalar path

Burakov, Anatoly anatoly.burakov at intel.com
Thu Feb 26 17:08:01 CET 2026


On 2/26/2026 4:36 PM, Bruce Richardson wrote:
> There was an error condition when the burst of packets being transmitted
> ended exactly on the last descriptor of the ring. In that instance
> alone, we ended up writing an invalid tx_tail value to the hardware, of
> ring_size rather than of zero. Add an explicit check for this case to
> the simple Tx path code.
> 
> Fixes: 9bacf6a81b92 ("net/intel: align scalar simple Tx path with vector logic")
> 
> 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