diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-01-12 12:09:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-13 12:19:07 -0500 |
commit | 148d3d021cf9724fcf189ce4e525a094bbf5ce89 (patch) | |
tree | c6d987671822dc7838d99c79e155e45a3d301e7f /net | |
parent | 7aa4865506a26c607e00bd9794a85785b55ebca7 (diff) |
net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
The __bcm_sysport_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 transit flow control.
Introduce bcm_sysport_tx_clean() which cleans the ring, but does not
re-enable flow control towards the networking stack, and make
bcm_sysport_tx_reclaim() do the actual transmit queue flow control.
Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions