[PATCH 0/6] nvme: support unique discovery controller
Hannes Reinecke
hare at suse.de
Fri Aug 27 05:09:20 PDT 2021
Hi all,
with TPAR8013 a discovery controller can support a unique subsystem
NQN. This patchset adds support unique discovery subsystem NQNs 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.
Hannes Reinecke (6):
nvmet: make discovery NQN configurable
nvme: add CNTRLTYPE definitions for 'identify controller'
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 | 3 +++
drivers/nvme/target/configfs.c | 42 +++++++++++++++++++++++++++++++
drivers/nvme/target/core.c | 3 ++-
drivers/nvme/target/discovery.c | 2 ++
drivers/nvme/target/fabrics-cmd.c | 3 ++-
include/linux/nvme.h | 10 +++++++-
13 files changed, 110 insertions(+), 8 deletions(-)
--
2.29.2
More information about the Linux-nvme
mailing list