Re: [PATCH net] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-16 Thread David Miller
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 >

[PATCH net] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-13 Thread Florian Fainelli
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