All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Tao Cui <cuitao@kylinos.cn>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next v2] rdma: display resource limits in curr/max format
Date: Wed, 10 Jun 2026 11:07:08 +0300	[thread overview]
Message-ID: <20260610080708.GF327369@unreal> (raw)
In-Reply-To: <20260515074111.428882-1-cuitao@kylinos.cn>

On Fri, May 15, 2026 at 03:41:11PM +0800, Tao Cui wrote:
> Parse the new RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY_MAX netlink attribute
> to show resource limits alongside current counts in curr/max format:
> 
>   Before: 0: mlx5_0: qp 123  cq 45  mr 200  pd 10
>   After:  0: mlx5_0: qp 123/131072  cq 45/65536  mr 200/1000000  pd 10/32768
> 
> JSON output provides both current and max fields per resource type
> (e.g. "qp": 123, "qp-max": 131072). Backward compatible: no output
> change when kernel lacks the new attribute.
> 
> Signed-off-by: Tao Cui <cuitao@kylinos.cn>
> ---
>  rdma/include/uapi/rdma/rdma_netlink.h |  5 +++++
>  rdma/res.c                            | 22 +++++++++++++++++++++-
>  rdma/utils.c                          |  1 +
>  3 files changed, 27 insertions(+), 1 deletion(-)

This patch is intended for iproute2.  
The subject should reference iproute2-next, and the relevant maintainers  
need to be CCed.

https://lore.kernel.org/netdev/20260512193412.32019-1-dsahern@kernel.org/

Thanks.

      reply	other threads:[~2026-06-10  8:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-15  7:41 [PATCH rdma-next v2] rdma: display resource limits in curr/max format Tao Cui
2026-06-10  8:07 ` 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=20260610080708.GF327369@unreal \
    --to=leon@kernel.org \
    --cc=cuitao@kylinos.cn \
    --cc=linux-rdma@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.