[PATCH 0/2] nvme: Add TP8010 support
Martin Belanger
nitram_67 at hotmail.com
Wed Feb 2 13:34:49 PST 2022
From: Martin Belanger <martin.belanger at dell.com>
TP8010 defines the Central Discovery Controller (CDC). To tell a CDC
apart from a DDC (Direct Discovery Controller), the response to the
Identify command now carries a Discovery Controller Type (dctype)
attribute.
TP8010 also defines a new Discovery Information Management (DIM) PDU
which is used to perform explicit registration with CDCs and DDCs.
This new PDU carries extra information such as the Entity Name (ENAME),
the Entity Version (EVER), the Symbolic Name, etc.
After review from the Linux-nvme community, it was decided that the
DIM PDU would be sent from a user-space application. Since the DIM
PDU must be sent every time connectivity is established with a DC,
it was decided that a new uevent was needed to tell user-space
application when the driver establishes connectivity with a DC.
Martin Belanger (2):
nvme: send uevent on connection up
nvme: Expose cntrltype and dctype through sysfs.
drivers/nvme/host/core.c | 44 ++++++++++++++++++++++++++++++++++++++++
drivers/nvme/host/nvme.h | 3 +++
include/linux/nvme.h | 10 ++++++++-
3 files changed, 56 insertions(+), 1 deletion(-)
--
2.34.1
More information about the Linux-nvme
mailing list