Commit f0ff2a2d authored by Shetu Ayalew's avatar Shetu Ayalew Committed by Leon Romanovsky

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: default avatarShetu Ayalew <shetu@nvidia.com>
Reviewed-by: default avatarMaor Gottlieb <maorg@nvidia.com>
Link: https://lore.kernel.org/r/01cd24cd7f591734741309921fdc01fc770d84a8.1690121941.git.leon@kernel.orgSigned-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
parent 50f338cd
...@@ -27,6 +27,7 @@ static const struct mlx5_ib_counter basic_q_cnts[] = { ...@@ -27,6 +27,7 @@ static const struct mlx5_ib_counter basic_q_cnts[] = {
INIT_Q_COUNTER(rx_write_requests), INIT_Q_COUNTER(rx_write_requests),
INIT_Q_COUNTER(rx_read_requests), INIT_Q_COUNTER(rx_read_requests),
INIT_Q_COUNTER(rx_atomic_requests), INIT_Q_COUNTER(rx_atomic_requests),
INIT_Q_COUNTER(rx_dct_connect),
INIT_Q_COUNTER(out_of_buffer), INIT_Q_COUNTER(out_of_buffer),
}; };
...@@ -46,6 +47,7 @@ static const struct mlx5_ib_counter vport_basic_q_cnts[] = { ...@@ -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_write_requests),
INIT_VPORT_Q_COUNTER(rx_read_requests), INIT_VPORT_Q_COUNTER(rx_read_requests),
INIT_VPORT_Q_COUNTER(rx_atomic_requests), INIT_VPORT_Q_COUNTER(rx_atomic_requests),
INIT_VPORT_Q_COUNTER(rx_dct_connect),
INIT_VPORT_Q_COUNTER(out_of_buffer), INIT_VPORT_Q_COUNTER(out_of_buffer),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment