linux/drivers/net/ethernet/ibm
Thomas Falcon 142c0ac445 ibmvnic: Fix overflowing firmware/hardware TX queue
Use a counter to track the number of outstanding transmissions sent
that have not received completions. If the counter reaches the maximum
number of queue entries, stop transmissions on that queue. As we receive
more completions from firmware, wake the queue once the counter reaches
an acceptable level.

This patch prevents hardware/firmware TX queue from filling up and
and generating errors.  Since incorporating this fix, internal testing
has reported that these firmware errors have stopped.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-07 14:14:30 -08:00
..
ehea net: ibm: ehea: use new api ethtool_{get|set}_link_ksettings 2017-01-09 12:09:09 -05:00
emac net: emac: add support for device-tree based PHY discovery and setup 2017-02-22 15:36:47 -05:00
ibmveth.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
ibmveth.h ibmveth: set correct gso_size and gso_type 2016-12-09 22:47:22 -05:00
ibmvnic.c ibmvnic: Fix overflowing firmware/hardware TX queue 2017-03-07 14:14:30 -08:00
ibmvnic.h ibmvnic: Fix overflowing firmware/hardware TX queue 2017-03-07 14:14:30 -08:00
Kconfig Driver for IBM System i/p VNIC protocol 2015-12-28 00:12:13 -05:00
Makefile Driver for IBM System i/p VNIC protocol 2015-12-28 00:12:13 -05:00