]> www.infradead.org Git - users/willy/xarray.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)
commit7e96adc46633b7283b20dc58bc9ab3693cea0df4
treedb79a4535621edd7daacf43c8b7b2267d565dccb
parent27cdfed04f20da0909be57c1f4b98e35f82b7492
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