net: hns3: Add reset interface implementation in client
authorLipeng <lipeng321@huawei.com>
Thu, 2 Nov 2017 12:45:21 +0000 (20:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:35 +0000 (21:28 +0900)
commitbb6b94a896d4dd4dcdeccca87c3fd22521c652c0
treec5d2f36fa5cce6a2677be32ee19393e0a7909cbe
parentf8fa222ca57cccb066d18767010275e9e3a2b9fe
net: hns3: Add reset interface implementation in client

This patch implement the interface of reset notification in hns3_enet,
it will do resetting business which include shutdown nic device,
free and initialize client side resource.

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