Re: [PATCH v2 net 8/8] net: bcmgenet: decouple flow control from bcmgenet_tx_reclaim
From: Florian Fainelli
Date: Thu Mar 09 2017 - 20:45:25 EST
On 03/09/2017 04:58 PM, Doug Berger wrote:
> The bcmgenet_tx_reclaim() function is used to reclaim transmit
> resources in different places within the driver. Most of them
> should not affect the state of the transmit flow control.
>
> This commit relocates the logic for waking tx queues based on
> freed resources to the napi polling function where it is more
> appropriate.
>
> Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian