From: Florian Fainelli
Date: Tue, 13 Mar 2018 14:45:07 -0700
> There is no need for complex checking between the last consumed index
> and current consumed index, a simple subtraction will do.
>
> This also eliminates the possibility of a permanent transmit queue stall
> under the following cond
There is no need for complex checking between the last consumed index
and current consumed index, a simple subtraction will do.
This also eliminates the possibility of a permanent transmit queue stall
under the following conditions:
- one CPU bursts ring->size worth of traffic (up to 256 buffers)