net: hns3: add manager table initialization for hardware
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 19 Jan 2018 06:41:10 +0000 (14:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:05:49 +0000 (16:05 -0500)
commitf5aac71c032719ef9159dae10bc83192bddd2424
tree88f2e65bd3e9ca9aa2b7a75b2128c0ba51431854
parent77b34110112a48286bf83526ebb14cfbd326bef2
net: hns3: add manager table initialization for hardware

The manager table is empty by default. If it is not initialized, the
management pkgs like LLDP will be dropped by hardware. Default entries
need to be added to manager table.

Signed-off-by: Fuyun Liang <liangfuyun1@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_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c