]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add ethtool_ops.get_channels support for VF
authorPeng Li <lipeng321@huawei.com>
Fri, 12 Jan 2018 08:23:07 +0000 (16:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jan 2018 15:12:31 +0000 (10:12 -0500)
commitc8e127aba4737525ebf64c42bbaf04ff371538f5
tree1c4a8132c9795ddcf907ac5b691f734957f105d0
parent96311a2483afd5ce8cfe4956d86fcb66fdb396da
net: hns3: add ethtool_ops.get_channels support for VF

This patch supports the ethtool's get_channels() for VF.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c