]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add timeout process in hns3_enet
authorLipeng <lipeng321@huawei.com>
Thu, 2 Nov 2017 12:45:20 +0000 (20:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:35 +0000 (21:28 +0900)
commit587d970384c991559c488a076e325347547b1269
tree1da960a63c4b23c8e84991d42480cf33be4e1453
parent8bb4da319613b9f73f7f888edff2cbb71b3e4eb4
net: hns3: Add timeout process in hns3_enet

This patch add timeout handler in hns3_enet.c to handle
TX side timeout event, when TX timeout event occur, it will triger
NIC driver into reset process.

Signed-off-by: qumingguang <qumingguang@huawei.com>
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h