diff options
author | Shetu Ayalew <shetu@nvidia.com> | 2023-07-23 17:21:14 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-07-31 11:40:32 +0300 |
commit | f0ff2a2dd08df50656961c26c06c7091e3792123 (patch) | |
tree | fb7d6329f2c6f7cd9fb26fe8d92a075d5ac6ab6d /drivers/infiniband | |
parent | 50f338cd8847053283c82f73129ba90c08dad06c (diff) | |
download | linux-stable-f0ff2a2dd08df50656961c26c06c7091e3792123.tar.gz linux-stable-f0ff2a2dd08df50656961c26c06c7091e3792123.tar.bz2 linux-stable-f0ff2a2dd08df50656961c26c06c7091e3792123.zip |
IB/mlx5: Add HW counter called rx_dct_connect
The rx_dct_connect counter shows the number of received connection
requests for the associated DCTs.
Signed-off-by: Shetu Ayalew <shetu@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Link: https://lore.kernel.org/r/01cd24cd7f591734741309921fdc01fc770d84a8.1690121941.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mlx5/counters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/counters.c b/drivers/infiniband/hw/mlx5/counters.c index 93257fa5aae8..8300ce622835 100644 --- a/drivers/infiniband/hw/mlx5/counters.c +++ b/drivers/infiniband/hw/mlx5/counters.c @@ -27,6 +27,7 @@ static const struct mlx5_ib_counter basic_q_cnts[] = { INIT_Q_COUNTER(rx_write_requests), INIT_Q_COUNTER(rx_read_requests), INIT_Q_COUNTER(rx_atomic_requests), + INIT_Q_COUNTER(rx_dct_connect), INIT_Q_COUNTER(out_of_buffer), }; @@ -46,6 +47,7 @@ static const struct mlx5_ib_counter vport_basic_q_cnts[] = { INIT_VPORT_Q_COUNTER(rx_write_requests), INIT_VPORT_Q_COUNTER(rx_read_requests), INIT_VPORT_Q_COUNTER(rx_atomic_requests), + INIT_VPORT_Q_COUNTER(rx_dct_connect), INIT_VPORT_Q_COUNTER(out_of_buffer), }; |