]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:37 +0000 (10:47 -0500)
commitd65818a7cbdd9dca884f32075ac977e01b09fc82
tree37bb30a8af6bf87a55f5f5076644dedd8f30b901
parent9596f6f0379ddde0179a19439997b5d57425c4b3
net: hns3: add ethtool_ops.get_channels support for VF

BugLink: http://bugs.launchpad.net/bugs/1756097
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>
(cherry picked from commit 849e460776898e465e2d3e27a34399fb1adc0061)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c