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>
This commit is contained in:
Peng Li 2018-01-12 16:23:07 +08:00 • committed by David S. Miller
commit 849e460776
2 changed files with 31 additions and 0 deletions