diff options
author | Luo bin <luobin9@huawei.com> | 2020-05-14 01:37:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-15 03:38:19 +0300 |
commit | bcab67822d77142c31f69656dd24226f23acc82e (patch) | |
tree | 9f7bebac888366e0451bccc04fea49b8b84988a9 /drivers/net/ethernet/huawei/hinic/hinic_dev.h | |
parent | 5a46b062e28f57bffde767437fad3ab1d0cee2c7 (diff) | |
download | linux-bcab67822d77142c31f69656dd24226f23acc82e.tar.xz |
hinic: add set_ringparam ethtool_ops support
support to change TX/RX queue depth with ethtool -G
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_dev.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_dev.h b/drivers/net/ethernet/huawei/hinic/hinic_dev.h index a621ebbf7610..48b40be3e84d 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_dev.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_dev.h @@ -69,6 +69,8 @@ struct hinic_dev { struct hinic_txq *txqs; struct hinic_rxq *rxqs; + u16 sq_depth; + u16 rq_depth; struct hinic_txq_stats tx_stats; struct hinic_rxq_stats rx_stats; |