Spdk/lib/bdev
Daniel Verkamp c0527befc5 env: clean up PCI address comparison function
- Split the part that gets a PCI device's address into its own function,
  spdk_pci_device_get_addr(). This is useful outside of the comparison
  function and is orthogonal to comparing addresses.
- Make the comparison function take two addresses instead of a device
  and an address.  The more general form will be useful with addresses
  that are not directly associated with a device.  Because of this, also
  rename the function from spdk_pci_device_compare_addr() to
  spdk_pci_addr_compare().
- Return a signed value similar to strcmp() so that addresses can be
  ordered, not just compared for equality.

Change-Id: Idf304454af09ea57f1e1d5dc3a39b077378cecad
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-11-01 09:40:36 -07:00
..
aio bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
malloc bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
nvme env: clean up PCI address comparison function 2016-11-01 09:40:36 -07:00
rbd bdev/rbd: use consistent block_size name in RPC 2016-10-31 13:48:27 -07:00
bdev_module.h bdev: Separate the module header from the public header 2016-08-26 09:40:06 -07:00
bdev.c bdev: check status parameter instead of bdev_io->status 2016-10-20 15:16:09 -07:00
Makefile env: Make the environment library configurable. 2016-10-05 11:51:37 -07:00