]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Add support for the netdev Tx watchdog
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 9 Apr 2015 17:12:03 +0000 (12:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Apr 2015 21:35:37 +0000 (17:35 -0400)
commit6fafb7094e0985dcd5eb80e3dac7f4d996e2cfa4
tree151a992115b3e39a98463e81af367312cbfbf78b
parent575647d3f2fd400c90c72d52a0a3f3ec499f0a7e
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 <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-main.c