All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Eric Joyner <eric.joyner@amd.com>
Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
	Brett Creeley <brett.creeley@amd.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Abhijit Gangurde <abhijit.gangurde@amd.com>,
	Allen Hubbe <allen.hubbe@amd.com>, Jason Gunthorpe <jgg@ziepe.ca>
Subject: Re: [PATCH net-next 3/4] RDMA/ionic: Add debugfs support
Date: Wed, 13 May 2026 10:21:13 +0300	[thread overview]
Message-ID: <20260513072113.GE15586@unreal> (raw)
In-Reply-To: <20260506041935.1061-4-eric.joyner@amd.com>

On Tue, May 05, 2026 at 09:19:34PM -0700, Eric Joyner wrote:
> From: Allen Hubbe <allen.hubbe@amd.com>
> 
> Adds a per-RDMA device debugfs folder under the parent ionic ethernet
> device's folder for the LIF. Exports RDMA-specific debug information and
> various queue information.
> 
> Signed-off-by: Allen Hubbe <allen.hubbe@amd.com>
> Co-developed-by: Eric Joyner <eric.joyner@amd.com>
> Signed-off-by: Eric Joyner <eric.joyner@amd.com>
> ---
>  drivers/infiniband/hw/ionic/Makefile          |   2 +-
>  drivers/infiniband/hw/ionic/ionic_admin.c     |   4 +
>  .../infiniband/hw/ionic/ionic_controlpath.c   |  14 +
>  drivers/infiniband/hw/ionic/ionic_debugfs.c   | 750 ++++++++++++++++++
>  drivers/infiniband/hw/ionic/ionic_ibdev.c     |   3 +
>  drivers/infiniband/hw/ionic/ionic_ibdev.h     |  29 +
>  drivers/infiniband/hw/ionic/ionic_lif_cfg.c   |   3 +
>  drivers/infiniband/hw/ionic/ionic_lif_cfg.h   |   2 +
>  8 files changed, 806 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/infiniband/hw/ionic/ionic_debugfs.c

I'll comment on this patch only, but the same issues apply to the whole
series.

1. This series should target rdma-next, not net-next.
2. Jakub's feedback is valid and should be addressed.
3. The patch is too large and exposes too many details that should be
   gathered through the FW (fwctl).
4. It exposes a large number of fields from general RDMA structures,
   which suggests that this dump is placed in the wrong layer.

Thanks

  reply	other threads:[~2026-05-13  7:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06  4:19 [PATCH net-next 0/4] RDMA/net/ionic: Misc updates Eric Joyner
2026-05-06  4:19 ` [PATCH net-next 1/4] RDMA/ionic: Update copyright year to 2026 Eric Joyner
2026-05-06  4:19 ` [PATCH net-next 2/4] net/ionic: Add devlink parameter for RDMA Eric Joyner
2026-05-06  4:19 ` [PATCH net-next 3/4] RDMA/ionic: Add debugfs support Eric Joyner
2026-05-13  7:21   ` Leon Romanovsky [this message]
2026-05-14  0:23     ` Jakub Kicinski
2026-05-14  6:00       ` Leon Romanovsky
2026-05-14  7:04         ` Greg Kroah-Hartman
2026-05-14 16:35           ` Leon Romanovsky
2026-05-06  4:19 ` [PATCH net-next 4/4] RDMA/ionic: Add DCQCN parameter configuration via debugfs Eric Joyner
2026-05-06 22:59 ` [PATCH net-next 0/4] RDMA/net/ionic: Misc updates Jakub Kicinski
2026-05-14 14:33   ` Abhijit Gangurde
2026-05-14 16:40     ` Leon Romanovsky
2026-05-14 17:19       ` Creeley, Brett

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=20260513072113.GE15586@unreal \
    --to=leon@kernel.org \
    --cc=abhijit.gangurde@amd.com \
    --cc=allen.hubbe@amd.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=brett.creeley@amd.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=eric.joyner@amd.com \
    --cc=jgg@ziepe.ca \
    --cc=kuba@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 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.