Commit b339e0a3 authored by Patrisious Haddad's avatar Patrisious Haddad Committed by Leon Romanovsky

RDMA/mlx5: Add Qcounters req_transport_retries_exceeded/req_rnr_retries_exceeded

The req_transport_retries_exceeded counter shows the number of times
requester detected transport retries exceed error.

The req_rnr_retries_exceeded counter show the number of times the
requester detected RNR NAKs retries exceed error.
Signed-off-by: default avatarPatrisious Haddad <phaddad@nvidia.com>
Link: https://lore.kernel.org/r/250466af94f4989d638fab168e246035530e912f.1718301543.git.leon@kernel.orgReviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent d98995b4
...@@ -83,6 +83,8 @@ static const struct mlx5_ib_counter extended_err_cnts[] = { ...@@ -83,6 +83,8 @@ static const struct mlx5_ib_counter extended_err_cnts[] = {
INIT_Q_COUNTER(resp_remote_access_errors), INIT_Q_COUNTER(resp_remote_access_errors),
INIT_Q_COUNTER(resp_cqe_flush_error), INIT_Q_COUNTER(resp_cqe_flush_error),
INIT_Q_COUNTER(req_cqe_flush_error), INIT_Q_COUNTER(req_cqe_flush_error),
INIT_Q_COUNTER(req_transport_retries_exceeded),
INIT_Q_COUNTER(req_rnr_retries_exceeded),
}; };
static const struct mlx5_ib_counter roce_accl_cnts[] = { static const struct mlx5_ib_counter roce_accl_cnts[] = {
...@@ -102,6 +104,8 @@ static const struct mlx5_ib_counter vport_extended_err_cnts[] = { ...@@ -102,6 +104,8 @@ static const struct mlx5_ib_counter vport_extended_err_cnts[] = {
INIT_VPORT_Q_COUNTER(resp_remote_access_errors), INIT_VPORT_Q_COUNTER(resp_remote_access_errors),
INIT_VPORT_Q_COUNTER(resp_cqe_flush_error), INIT_VPORT_Q_COUNTER(resp_cqe_flush_error),
INIT_VPORT_Q_COUNTER(req_cqe_flush_error), INIT_VPORT_Q_COUNTER(req_cqe_flush_error),
INIT_VPORT_Q_COUNTER(req_transport_retries_exceeded),
INIT_VPORT_Q_COUNTER(req_rnr_retries_exceeded),
}; };
static const struct mlx5_ib_counter vport_roce_accl_cnts[] = { static const struct mlx5_ib_counter vport_roce_accl_cnts[] = {
......
...@@ -5629,7 +5629,11 @@ struct mlx5_ifc_query_q_counter_out_bits { ...@@ -5629,7 +5629,11 @@ struct mlx5_ifc_query_q_counter_out_bits {
u8 local_ack_timeout_err[0x20]; u8 local_ack_timeout_err[0x20];
u8 reserved_at_320[0xa0]; u8 reserved_at_320[0x60];
u8 req_rnr_retries_exceeded[0x20];
u8 reserved_at_3a0[0x20];
u8 resp_local_length_error[0x20]; u8 resp_local_length_error[0x20];
......
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