]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: Add NVM subsystem controller identifier
authorNilay Shroff <nilay@linux.ibm.com>
Tue, 26 Mar 2024 06:57:23 +0000 (12:27 +0530)
committerDaniel Wagner <dwagner@suse.de>
Wed, 3 Apr 2024 09:57:15 +0000 (11:57 +0200)
commitd638f037623742003c5ef0ba6127b981e925b351
tree7670440f2f3fadb9bb2a1720b1e3e6479aa67081
parentcc1a194b59bb41cc428d6e0c068c5c82daa7cab9
tree: Add NVM subsystem controller identifier

This commit introduces a field "cntlid" for controller,
that contains the NVM subsystem unique identifier assigned
to each controller device in an NVM subsystem.

While attaching a namespace, typically user needs to specify the
controller identifier (cntlid). The cntlid could be referenced from
sysfs (/sys/class/nvme/nvmeX/cntlid) but it would be nice to have
a direct option.

Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Link: https://lore.kernel.org/r/20240326065752.164286-1-nilay@linux.ibm.com
Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/libnvme.map
src/nvme/private.h
src/nvme/tree.c
src/nvme/tree.h