]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: hns3: do not return GE PFC setting err when initializing
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 22 Jan 2019 23:39:35 +0000 (07:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 19:13:02 +0000 (11:13 -0800)
commit44e59e375bf7785660a250f61e802996894d148a
treeb88b1dbb12bfa9abeb83e2b841f206ce64f925a7
parent4a402f47cfce904051cd8b31bef4fe2910d9dce9
net: hns3: do not return GE PFC setting err when initializing

GE MAC does not support PFC, when driver is initializing and MAC
is in GE Mode, ignore the fw not supported error, otherwise
initialization will fail.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@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_dcb.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h