hinic: add link_ksettings ethtool_ops support
authorLuo bin <luobin9@huawei.com>
Mon, 11 May 2020 05:58:57 +0000 (05:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 20:19:35 +0000 (13:19 -0700)
commit01f2b3dac8c4bebeb0ec15c4b7b59993766493cc
tree5a11f320670bec38bf8a2fa284388e376f061bee
parent9c8255c888bac9221739c822132b405d4196bdd8
hinic: add link_ksettings ethtool_ops support

add set_link_ksettings implementation and improve the implementation
of get_link_ksettings

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_hw_if.h
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h