]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add ethtool_ops.get_coalesce support to PF
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 12 Jan 2018 08:23:09 +0000 (16:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jan 2018 15:12:32 +0000 (10:12 -0500)
commita60afdb104488e2db2867520cb97dab3f1ce5d2c
treedb79a4535621edd7daacf43c8b7b2267d565dccb
parent43e2940bf47cde5193c8f81d81cea56e45ebbeba
net: hns3: add ethtool_ops.get_coalesce support to PF

This patch adds ethtool_ops.get_coalesce support to PF.

Whilst our hardware supports per queue values, external interfaces
support only a single shared value. As such we use the values for
queue 0.

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