IB/mlx5: Add HW counter called rx_dct_connect
Subsystems (2)
PATCH 1/1 IB/mlx5: Add HW counter called rx_dct_connect
From: Shetu Ayalew <[email protected]>
The rx_dct_connect counter shows the number of received connection requests for the associated DCTs.
Signed-off-by Shetu Ayalew <[email protected]>
Reviewed-by Maor Gottlieb <[email protected]>
Signed-off-by Leon Romanovsky <[email protected]>
---
Changelog:
v1:
* Moved rx_dct_connect from retrans_q_cnts section to basic_q_cnts section.
v0: https://lore.kernel.org/all/6d2313eedc567fc29f5ba53c197d5678962bb43a.1689757404.git.leon@kernel.org
--- drivers/infiniband/hw/mlx5/counters.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/infiniband/hw/mlx5/counters.c +2 -0
@@ -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), };
Signature · 1 line
2.41.0
Leon Romanovsky
AppliedQuoted 4 lines · Leon Romanovsky
The
rx_dct_connectcounter shows the number of received connection requests for the associated DCTs.
Applied, thanks!
[1/1] IB/mlx5: Add HW counter called rx_dct_connect
https://git.kernel.org/rdma/rdma/c/f0ff2a2dd08df5
Best regards,
Signature · 1 line
Leon Romanovsky <[email protected]>