commit | 97c122233f73e91ceed5038e6e59fc5009305f7e | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Thu Mar 08 14:50:32 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 08:53:43 2018 -0600 |
tree | 91f4de5e0ac1cc1c8bc91f4b6bd6fd159da9a4f8 | |
parent | 70da6094a646f0f2d823e077614840cf21055580 [diff] |
nvme-pci: Add .get_address ctrl callback The nvme-fabrics exports the controller address to sysfs, and we'd like to have parity with this feature for PCIe. This patch provides the appropiate callback and returns the controller address as the pci domain:bus:device.function. Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>