diff options
author | Fuyun Liang | 2018-01-12 09:23:09 +0100 |
---|---|---|
committer | David S. Miller | 2018-01-12 16:12:32 +0100 |
commit | 7e96adc46633b7283b20dc58bc9ab3693cea0df4 (patch) | |
tree | db79a4535621edd7daacf43c8b7b2267d565dccb /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | net: hns3: remove TSO config command from VF driver (diff) | |
download | kernel-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.h | 2 |
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 { |