linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3vf
Peng Li 582d37bbb6 net: hns3: Check hdev state when getting link status
By default, HW link status is up. If hclge_update_link_status is called
before net up, driver will print "link up". It is not suitable. hdev
state check is needed when getting link status.

Fixes: 46a3df9f97 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Fixes: e2cb1dec97 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support")
Signed-off-by: Fuyun Liang <liangfuyun1@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>
2018-09-19 21:20:22 -07:00
..
hclgevf_cmd.c net: hns3: use dma_zalloc_coherent instead of kzalloc/dma_map_single 2018-07-02 22:49:14 +09:00
hclgevf_cmd.h net: hns3: Fix MSIX allocation issue for VF 2018-08-03 09:53:24 -07:00
hclgevf_main.c net: hns3: Check hdev state when getting link status 2018-09-19 21:20:22 -07:00
hclgevf_main.h net: hns3: Fix MSIX allocation issue for VF 2018-08-03 09:53:24 -07:00
hclgevf_mbx.c net: hns3: Fix for mailbox message truncated problem 2018-07-07 11:13:06 +09:00
Makefile net: hns3: Add HNS3 VF driver to kernel build framework 2017-12-15 10:55:34 -05:00