summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorHuazhong Tan2019-04-25 14:42:52 +0200
committerDavid S. Miller2019-04-26 18:13:28 +0200
commitfba2efdae8b4f998f66a2ff4c9f0575e1c4bbc40 (patch)
treeea381178e7db3d3169ffd19ee4aa1c2b71d8706a /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentnet: hns3: not reset TQP in the DOWN while VF resetting (diff)
downloadkernel-qcow2-linux-fba2efdae8b4f998f66a2ff4c9f0575e1c4bbc40.tar.gz
kernel-qcow2-linux-fba2efdae8b4f998f66a2ff4c9f0575e1c4bbc40.tar.xz
kernel-qcow2-linux-fba2efdae8b4f998f66a2ff4c9f0575e1c4bbc40.zip
net: hns3: fix pause configure fail problem
When configure pause, current implementation returns directly after setup PFC without setup BP, which is not sufficient. So this patch fixes it, only return while setting PFC failed. Fixes: 44e59e375bf7 ("net: hns3: do not return GE PFC setting err when initializing") 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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c')
0 files changed, 0 insertions, 0 deletions