numam-spdk/lib/nvme
Daniel Verkamp ed53cba059 nvme: normalize PCI addresses before comparing
Use the env abstraction PCI functions to compare PCI addresses so that
details like whether or not domain is specified or whether 0-padding is
present don't affect the comparison.

For example, 0000:01:00.0 should compare equal to 01:00.0.

Change-Id: I9f3aaeb5f8fdbf3e246e31a41b4c09151288015e
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/387202
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-16 18:17:09 -05:00
..
Makefile nvme: Monitor uevent for device insert and remove 2016-11-30 14:27:43 -07:00
nvme_ctrlr_cmd.c nvme: add controller option to specify host ID 2017-09-29 11:43:25 -04:00
nvme_ctrlr.c nvme: add actual shutdown time to log message 2017-11-14 10:54:04 -05:00
nvme_internal.h nvme: add new spdk_nvme_connect() API to directly attach the ctrlr 2017-10-09 12:31:12 -04:00
nvme_ns_cmd.c nvme: decouple NVMe memory page size from PAGE_SIZE 2017-08-17 12:52:12 -04:00
nvme_ns.c log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
nvme_pcie.c nvme/pcie: add memory barrier process completions 2017-11-15 17:24:19 -05:00
nvme_qpair.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
nvme_quirks.c nvme: update the nvme devices quirks. 2017-09-01 12:35:57 -04:00
nvme_rdma.c nvme_rdma: set retry_count field in rdma_conn_param 2017-10-11 13:59:10 -04:00
nvme_transport.c nvme: add new spdk_nvme_connect() API to directly attach the ctrlr 2017-10-09 12:31:12 -04:00
nvme_uevent.c lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
nvme_uevent.h nvme: Remove pci_addr from probe_info 2016-12-12 10:46:50 -07:00
nvme.c nvme: normalize PCI addresses before comparing 2017-11-16 18:17:09 -05:00