linux/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas 16edd34e9e amd-xgbe: Tx engine must not be active before stopping it
If the Tx engine is told to stop while it is actively processing Tx
descriptors it is possible that the Tx descriptor(s) will not be closed
out properly. When the Tx engine is restarted this could result in the
driver being stuck on the improperly closed descriptor.

Update the driver to wait for the Tx engine to be in a stopped or
suspended state before issuing the stop command.

This has not been an issue to date, but it's a good safe-guard to have.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-21 15:19:10 -05:00
..
Makefile amd-xgbe: Add traffic class support 2014-07-30 18:46:53 -07:00
xgbe-common.h amd-xgbe: Tx engine must not be active before stopping it 2014-11-21 15:19:10 -05:00
xgbe-dcb.c amd-xgbe: Checkpatch driver fixes 2014-09-05 15:11:20 -07:00
xgbe-debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-09-07 21:41:53 -07:00
xgbe-desc.c amd-xgbe: Implement split header receive support 2014-11-05 21:50:12 -05:00
xgbe-dev.c amd-xgbe: Tx engine must not be active before stopping it 2014-11-21 15:19:10 -05:00
xgbe-drv.c amd-xgbe: Add a read memory barrier to Tx/Rx path 2014-11-21 15:19:10 -05:00
xgbe-ethtool.c amd-xgbe: Add receive side scaling ethtool support 2014-11-05 21:50:12 -05:00
xgbe-main.c amd-xgbe: use netdev_rss_key_fill() helper 2014-11-16 15:59:11 -05:00
xgbe-mdio.c amd-xgbe: Checkpatch driver fixes 2014-09-05 15:11:20 -07:00
xgbe-ptp.c amd-xgbe: Checkpatch driver fixes 2014-09-05 15:11:20 -07:00
xgbe.h amd-xgbe: Tx engine must not be active before stopping it 2014-11-21 15:19:10 -05:00