From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Parav Pandit <parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-next V2] IB/mlx5: Support congestion related counters
Date: Mon, 24 Apr 2017 12:26:54 -0400 [thread overview]
Message-ID: <1493051214.3041.45.camel@redhat.com> (raw)
In-Reply-To: <20170416042929.18294-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
On Sun, 2017-04-16 at 07:29 +0300, Leon Romanovsky wrote:
> From: Parav Pandit <parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>
> This patch adds support to query the congestion related hardware
> counters
> through new command and links them with other hw counters being
> available
> in hw_counters sysfs location.
>
> In order to reuse existing infrastructure it renames related
> q_counter
> data structures to more generic counters to reflect q_counters and
> congestion counters and maybe some other counters in the future.
>
> New hardware counters:
> * rp_cnp_handled - CNP packets handled by the reaction point
> * rp_cnp_ignored - CNP packets ignored by the reaction point
> * np_cnp_sent - CNP packets sent by notification point to respond
> to
> CE marked RoCE packets
> * np_ecn_marked_roce_packets - CE marked RoCE packets received by
> notification point
>
> It also avoids returning ENOSYS which is specific for invalid
> system call and produces the following checkpatch.pl warning.
>
> WARNING: ENOSYS means 'invalid syscall nr' and nothing else
> + return -ENOSYS;
>
> Signed-off-by: Parav Pandit <parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Reviewed-by: Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Reviewed-by: Daniel Jurgens <danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Signed-off-by: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Thanks, applied.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2017-04-24 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-16 4:29 [PATCH rdma-next V2] IB/mlx5: Support congestion related counters Leon Romanovsky
[not found] ` <20170416042929.18294-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-04-24 16:26 ` Doug Ledford [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=1493051214.3041.45.camel@redhat.com \
--to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/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