]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: Add PCI physical slot number for controller
authorUmer Saleem <usaleem@ixsystems.com>
Mon, 12 Jun 2023 14:45:49 +0000 (19:45 +0500)
committerDaniel Wagner <wagi@monom.org>
Wed, 14 Jun 2023 12:40:45 +0000 (14:40 +0200)
commit42ac4535963556610a5bba8d1277c5a398a6ed5a
tree52812a0cc68284c235ae28873c2841cfb561df4d
parent110339eb345ca4d1eb4a7cf67e3e2dbce2b9e786
tree: Add PCI physical slot number for controller

This commit introduces a physical slot field for controller, that
contains the PCI physcial slot number for controller device.

In case, there are multiple NVME drives present on the platform,
it's hard to identify which NVME drive is present in which slot.
The slot number is usually helpful in determining the location.
It is cross reference-able from lspci, but it would be nice to
have a direct option.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
src/libnvme.map
src/nvme/private.h
src/nvme/tree.c
src/nvme/tree.h