net: hns3: add management table after IMP reset
authorYufeng Mo <moyufeng@huawei.com>
Fri, 14 Feb 2020 01:53:41 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2020 15:05:17 +0000 (07:05 -0800)
commitd0db7ed397517c8b2be24a0d1abfa15df776908e
tree1e7c440dafccceca35c52cea938c3bce2beb2947
parent803381f9f117493d6204d82445a530c834040fe6
net: hns3: add management table after IMP reset

In the current process, the management table is missing after the
IMP reset. This patch adds the management table to the reset process.

Fixes: f5aac71c0327 ("net: hns3: add manager table initialization for hardware")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c