Re: [PATCH net-next] net: systemport: Add support for BQL

2018-03-29 Thread David Miller
From: Florian Fainelli Date: Thu, 29 Mar 2018 12:30:08 -0700 > On 03/29/2018 12:27 PM, Florian Fainelli wrote: >> We had all the accounting done already, but we did not plumb BQL. In >> order to avoid fetching twice the netdev_queue pointer in the TX >> reclamation path, move the queue waking int

Re: [PATCH net-next] net: systemport: Add support for BQL

2018-03-29 Thread Florian Fainelli
On 03/29/2018 12:27 PM, Florian Fainelli wrote: > We had all the accounting done already, but we did not plumb BQL. In > order to avoid fetching twice the netdev_queue pointer in the TX > reclamation path, move the queue waking into __bcm_sysport_tx_reclaim() > so we can update BQL and wake the TX

[PATCH net-next] net: systemport: Add support for BQL

2018-03-29 Thread Florian Fainelli
We had all the accounting done already, but we did not plumb BQL. In order to avoid fetching twice the netdev_queue pointer in the TX reclamation path, move the queue waking into __bcm_sysport_tx_reclaim() so we can update BQL and wake the TX queue there in one go. Signed-off-by: Florian Fainelli