Skip to content

nvme: support unique discovery controller NQN

Hannes Reinecke linux-nvme 3 versions – Applied

Status from this message: applied to nvme-5.15.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 13 repliesApplied
  2. v26 patches 13 repliesSuperseded
  3. v16 patches 1 replySuperseded

Changes to v1 from the cover letter

- Rebase to nvme-5.15

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7nvmet: make discovery NQN configurabledrivers/nvme/target/configfs.c drivers/nvme/target/core.c+41 -12 replies
2/7nvme: add CNTRLTYPE definitions for 'identify controller'include/linux/nvme.h+9 -11 reply
3/7nvmet: add nvmet_is_disc_subsys() helperdrivers/nvme/target/admin-cmd.c drivers/nvme/target/core.c drivers/nvme/target/nvmet.h+9 -42 replies
4/7nvmet: set 'CNTRLTYPE' in the identify controller datadrivers/nvme/target/admin-cmd.c drivers/nvme/target/discovery.c drivers/nvme/target/fabrics-cmd.c+7 -11 reply
5/7nvme: expose subsystem type in sysfs attribute 'subtype'drivers/nvme/host/core.c drivers/nvme/host/nvme.h+28 -04 replies
6/7nvme: Add connect option 'discovery'drivers/nvme/host/core.c drivers/nvme/host/fabrics.c drivers/nvme/host/fabrics.h+13 -12 replies
7/7nvme: display correct subsystem NQNdrivers/nvme/host/core.c drivers/nvme/host/fabrics.h drivers/nvme/host/fc.c +2 more+9 -40 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchChaitanya KulkarniHimanshu Madhani
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 0/7] nvme: support unique discovery controller NQN

Hi all,

with TPAR8013 a discovery controller can support a unique subsystem NQN. This patchset adds support for this for both target and host. For host support a new connect option 'discovery' is added, as we can't infer from the NQN whether it should be a discovery connection or not.

As usual, comments and reviews are welcome.

Changes to v1:
- Rebase to nvme-5.15
Changes to v2:
- Add nvmet_is_disc_subsys() helper
- Include reviews from Chaitanya

Hannes Reinecke (7):
nvmet: make discovery NQN configurable
nvme: add CNTRLTYPE definitions for 'identify controller'
nvmet: add nvmet_is_disc_subsys() helper
nvmet: set 'CNTRLTYPE' in the identify controller data
nvme: expose subsystem type in sysfs attribute 'subtype'
nvme: Add connect option 'discovery'
nvme: display correct subsystem NQN

 drivers/nvme/host/core.c          | 36 +++++++++++++++++++++++++++-
 drivers/nvme/host/fabrics.c       |  6 ++++-
 drivers/nvme/host/fabrics.h       |  6 +++++
 drivers/nvme/host/fc.c            |  2 +-
 drivers/nvme/host/nvme.h          |  1 +
 drivers/nvme/host/rdma.c          |  2 +-
 drivers/nvme/host/tcp.c           |  2 +-
 drivers/nvme/target/admin-cmd.c   |  5 +++-
 drivers/nvme/target/configfs.c    | 39 +++++++++++++++++++++++++++++++
 drivers/nvme/target/core.c        |  9 +++----
 drivers/nvme/target/discovery.c   |  2 ++
 drivers/nvme/target/fabrics-cmd.c |  3 ++-
 drivers/nvme/target/nvmet.h       |  5 ++++
 include/linux/nvme.h              | 10 +++++++-
 14 files changed, 116 insertions(+), 12 deletions(-)
Signature · 7 lines
2.29.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme