amd-xgbe: Add support for the netdev Tx watchdog
authorLendacky, Thomas <[email protected]>
Thu, 9 Apr 2015 17:12:03 +0000 (12:12 -0500)
committerDavid S. Miller <[email protected]>
Thu, 9 Apr 2015 21:35:37 +0000 (17:35 -0400)
commita8373f1a60d0716e25f5c4cd4d6e3909bfdb41bd
tree151a992115b3e39a98463e81af367312cbfbf78b
parentb876382bac0fe2ed1129247c47029799bb4d763a
amd-xgbe: Add support for the netdev Tx watchdog

Add support to be able to detect a hung Tx task by adding the netdev
ndo_tx_timeout function callback. Do not set the watchdog_timeo value
so as to use the system default time (currently 5 seconds).

Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-main.c