]> git.baikalelectronics.ru Git - kernel.git/commit
net: qede: Implement ndo_tx_timeout
authorDenis Bolotin <dbolotin@marvell.com>
Thu, 14 May 2020 09:57:24 +0000 (12:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2020 20:25:46 +0000 (13:25 -0700)
commit88ac907824a55b2446a0f3dd89082da0a91faa6d
tree3029ca9f424869cf5b93d9d20952a355ccca0061
parenta1b9e826b622be2253dc27a8a6e27e693f2441b4
net: qede: Implement ndo_tx_timeout

Upon tx timeout detection we do disable carrier and print TX queue
info on TX timeout. We then raise hw error condition and trigger
service task to handle this.

This handler will capture extra debug info and then optionally
trigger recovery procedure to try restore function.

Signed-off-by: Denis Bolotin <dbolotin@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_main.c