Skip to content

Commit f0ff2a2

Browse files
Shetu Ayalewrleon
authored andcommitted
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>
1 parent 50f338c commit f0ff2a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/infiniband/hw/mlx5/counters.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ static const struct mlx5_ib_counter basic_q_cnts[] = {
2727
INIT_Q_COUNTER(rx_write_requests),
2828
INIT_Q_COUNTER(rx_read_requests),
2929
INIT_Q_COUNTER(rx_atomic_requests),
30+
INIT_Q_COUNTER(rx_dct_connect),
3031
INIT_Q_COUNTER(out_of_buffer),
3132
};
3233

@@ -46,6 +47,7 @@ static const struct mlx5_ib_counter vport_basic_q_cnts[] = {
4647
INIT_VPORT_Q_COUNTER(rx_write_requests),
4748
INIT_VPORT_Q_COUNTER(rx_read_requests),
4849
INIT_VPORT_Q_COUNTER(rx_atomic_requests),
50+
INIT_VPORT_Q_COUNTER(rx_dct_connect),
4951
INIT_VPORT_Q_COUNTER(out_of_buffer),
5052
};
5153

0 commit comments

Comments
 (0)