diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-03-21 10:49:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 20:12:02 +0300 |
commit | 0979aa0bfdc6d873f495310a8680436a66ff9c81 (patch) | |
tree | ef039da90cc1e88d4c404a9655ed032ddeaaa027 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | |
parent | a95e1f8666e910f43f47b5b1bec2cdf25f513f74 (diff) | |
download | linux-0979aa0bfdc6d873f495310a8680436a66ff9c81.tar.xz |
net: hns3: fix for getting wrong link mode problem
Fixed link mode is returned by hns3_get_link_ksettings. It is
unreasonable.
This patch fixes it by adding some related functions to get link
mode from hardware.
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c')
0 files changed, 0 insertions, 0 deletions