summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorFuyun Liang2018-01-12 09:23:09 +0100
committerDavid S. Miller2018-01-12 16:12:32 +0100
commit7e96adc46633b7283b20dc58bc9ab3693cea0df4 (patch)
treedb79a4535621edd7daacf43c8b7b2267d565dccb /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentnet: hns3: remove TSO config command from VF driver (diff)
downloadkernel-qcow2-linux-7e96adc46633b7283b20dc58bc9ab3693cea0df4.tar.gz
kernel-qcow2-linux-7e96adc46633b7283b20dc58bc9ab3693cea0df4.tar.xz
kernel-qcow2-linux-7e96adc46633b7283b20dc58bc9ab3693cea0df4.zip
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hnae3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
index adec88d941df..0bad0e37edbd 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h
+++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
@@ -448,6 +448,8 @@ struct hnae3_knic_private_info {
u16 num_tqps; /* total number of TQPs in this handle */
struct hnae3_queue **tqp; /* array base of all TQPs in this instance */
const struct hnae3_dcb_ops *dcb_ops;
+
+ u16 int_rl_setting;
};
struct hnae3_roce_private_info {