From: Leon Romanovsky <leon@kernel.org>
To: Mark Zhang <markzhang@nvidia.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>, Shetu Ayalew <shetu@nvidia.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
Maor Gottlieb <maorg@nvidia.com>
Subject: Re: [PATCH rdma-next] IB/mlx5: Add HW counter called rx_dct_connect
Date: Wed, 19 Jul 2023 12:42:28 +0300 [thread overview]
Message-ID: <20230719094228.GK8808@unreal> (raw)
In-Reply-To: <555e4ba0-410a-b9b5-eee8-dfacebae38e7@nvidia.com>
On Wed, Jul 19, 2023 at 09:30:53AM +0000, Mark Zhang wrote:
> On 7/19/2023 5:03 PM, Leon Romanovsky wrote:
> > External email: Use caution opening links or attachments
> >
> >
> > From: Shetu Ayalew <shetu@nvidia.com>
> >
> > 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>
> > Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> > ---
> > drivers/infiniband/hw/mlx5/counters.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/infiniband/hw/mlx5/counters.c b/drivers/infiniband/hw/mlx5/counters.c
> > index 93257fa5aae8..14af6ff91dfa 100644
> > --- a/drivers/infiniband/hw/mlx5/counters.c
> > +++ b/drivers/infiniband/hw/mlx5/counters.c
> > @@ -40,6 +40,7 @@ static const struct mlx5_ib_counter retrans_q_cnts[] = {
> > INIT_Q_COUNTER(packet_seq_err),
> > INIT_Q_COUNTER(implied_nak_seq_err),
> > INIT_Q_COUNTER(local_ack_timeout_err),
> > + INIT_Q_COUNTER(rx_dct_connect),
> > };
> >
> > static const struct mlx5_ib_counter vport_basic_q_cnts[] = {
> > --
> > 2.41.0
> >
>
> Just curious why it's in retrans_q_cnts[], instead of basic_q_cnts[]:
Ohh, you are right, it should be basic_q_cnts.
Thanks Mark.
>
> 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),
> };
prev parent reply other threads:[~2023-07-19 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 9:03 [PATCH rdma-next] IB/mlx5: Add HW counter called rx_dct_connect Leon Romanovsky
2023-07-19 9:30 ` Mark Zhang
2023-07-19 9:42 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230719094228.GK8808@unreal \
--to=leon@kernel.org \
--cc=jgg@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
--cc=maorg@nvidia.com \
--cc=markzhang@nvidia.com \
--cc=shetu@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox