]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: hns3: add get/set_coalesce support to VF
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 26 Jan 2018 11:31:24 +0000 (19:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2018 15:58:29 +0000 (10:58 -0500)
commitad31c7320140fc2fad259d81c3340901b6225f03
tree0aef085e0f6b1c618aa2cd63499b2f2b87d2f2b3
parente2d6e64bc3a3949f148476de656e515feffc1d22
net: hns3: add get/set_coalesce support to VF

This patch adds ethtool_ops.get/set_coalesce support to VF.

Since PF and VF share the same get/set_coalesce interface,
we only need to set hns3_get/set_coalesce to the ethtool_ops
when supporting get/set_coalesce for VF.

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>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c