summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dnet.h
diff options
context:
space:
mode:
authorYunsheng Lin2018-05-15 20:20:12 +0200
committerDavid S. Miller2018-05-16 17:33:08 +0200
commitbe8d8cdb8ebf3afd841c109dd035fd789a0c7d53 (patch)
treeaeb0bcd87a019519d101ba12a49704cb6fed53b7 /drivers/net/ethernet/dnet.h
parentnet: hns3: Fixes the back pressure setting when sriov is enabled (diff)
downloadkernel-qcow2-linux-be8d8cdb8ebf3afd841c109dd035fd789a0c7d53.tar.gz
kernel-qcow2-linux-be8d8cdb8ebf3afd841c109dd035fd789a0c7d53.tar.xz
kernel-qcow2-linux-be8d8cdb8ebf3afd841c109dd035fd789a0c7d53.zip
net: hns3: Fix for fiber link up problem
When hclge_ae_start is called, hdev->hw.mac.link may be set to one after up/down multi-times, which does not correspond to the link state of netdev when the netdev is up. This fixes it by setting hdev->hw.mac.link to zero when hclge_ae_start is called. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions