amd-xgbe: Check for Tx hardware queue flushing support
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 29 Aug 2014 18:16:50 +0000 (13:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 03:38:14 +0000 (20:38 -0700)
commita9a4a2d9d622e3bde41356aa4e2694cee052d002
treea7b206d5ac94abaf19044a20c24333902cdc2186
parente148e1bf6fcdecb19015c63ba8c6c25ed5dc3a2a
amd-xgbe: Check for Tx hardware queue flushing support

The flushing of the Tx hardware queues is only supported at a certain
level of the hardware.  Retrieve the current version of the hardware
and use that to determine if flushing is supported.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
drivers/net/ethernet/amd/xgbe/xgbe.h