Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nilay Shroff <nilay@linux.ibm.com>
To: kbusch@kernel.org, dwagner@suse.de, hch@lst.de, hare@suse.de,
	sagi@grimberg.me, chaitanyak@nvidia.com, gjoyce@linux.ibm.com
Cc: linux-nvme@lists.infradead.org, Nilay Shroff <nilay@linux.ibm.com>
Subject: [PATCH v4 2/2] nvme: document NVMe/TCP per-queue address sysfs attribute
Date: Mon, 23 Nov 2026 23:07:24 +0530	[thread overview]
Message-ID: <20261123173727.2022020-3-nilay@linux.ibm.com> (raw)
In-Reply-To: <20261123173727.2022020-1-nilay@linux.ibm.com>

Document the per-I/O-queue "address" sysfs attribute introduced
for NVMe/TCP. The attribute is available at:

    /sys/class/nvme/nvmeX/queues/<qid>/address

Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
---
 Documentation/ABI/stable/sysfs-nvme | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/ABI/stable/sysfs-nvme b/Documentation/ABI/stable/sysfs-nvme
index fcfd0426866c..953ecee81c43 100644
--- a/Documentation/ABI/stable/sysfs-nvme
+++ b/Documentation/ABI/stable/sysfs-nvme
@@ -534,3 +534,21 @@ Description:
 		managed: (RO) Shows who owns the CPU placement. 1 while
 		io_cpu is driver managed, 0 once the user assigned it,
 		for the life of the controller.
+
+What:		/sys/class/nvme/nvmeX/queues/<qid>/address
+Date:		November 2026
+KernelVersion:	7.5
+Contact:	Nilay Shroff <nilay@linux.ibm.com>
+Description:
+		(RO) Shows the socket endpoint addresses associated with
+		an NVMe/TCP I/O queue. The output contains the following
+		comma-separated fields:
+
+		traddr: Peer transport address (IPv4/IPv6).
+		trsvcid: Peer transport service identifier (TCP port).
+		host_traddr: Local transport address (IPv4/IPv6).
+		host_trsvcid: Local transport service identifier (TCP port).
+
+		Returns an empty result if the I/O queue is not live.
+		Returns error if host or peer transport address can't be
+		determined or transport address family is unsupported.
-- 
2.53.0



      parent reply	other threads:[~2026-11-23 17:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 17:37 [PATCH v4 0/2] nvme-tcp: NIC topology aware I/O queue scaling and queue info export Nilay Shroff
2026-11-23 17:37 ` [PATCH v4 1/2] nvme-tcp: expose per-queue socket addresses via sysfs Nilay Shroff
2026-11-23 17:37 ` Nilay Shroff [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=20261123173727.2022020-3-nilay@linux.ibm.com \
    --to=nilay@linux.ibm.com \
    --cc=chaitanyak@nvidia.com \
    --cc=dwagner@suse.de \
    --cc=gjoyce@linux.ibm.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /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