]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: call roce's reset notify callback when resetting
authorHuazhong Tan <tanhuazhong@huawei.com>
Wed, 7 Nov 2018 04:06:16 +0000 (12:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2018 19:42:18 +0000 (11:42 -0800)
commit5d2ea5df087aeeae6c3e7dc91367c1495d922823
tree0fe1753aa816c36e68fd3afa0cd0e9d8bbf5f860
parent211c0939a1833055f8f65cd115a9dd8696125f34
net: hns3: call roce's reset notify callback when resetting

While doing resetting, roce should do its uninitailization part
before nic's, and do its initialization part after nic's.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c