Spdk/lib/nvme
Tomasz Zawadzki 161a300275 VPP: change sockets from FIONBIO to O_NONBLOCK type
There are two ways to set stockets to nonblocking type:
- ioctl with FIONBIO
- fcntl with O_NONBLOCK
Those two should be equivalent for sockets used in SPDK.

During testing it was shown that VPP interprets only
the second type, so this patch changes all occurences of it.

When here, more descriptive error logs were set in case of
failure.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ifa5b30e3a4fa04fe23f41fa2ae9dab4b01dd7d3c
Reviewed-on: https://review.gerrithub.io/388816
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-11-29 11:23:32 -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 a per-process attached_ctrlrs list 2017-11-28 16:21:07 -05: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: use common trid -> ctrlr function 2017-11-28 16:21:07 -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: move init_ctrlrs out of multi-process struct 2017-11-28 16:21:07 -05: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 VPP: change sockets from FIONBIO to O_NONBLOCK type 2017-11-29 11:23:32 -05:00
nvme_uevent.h nvme: Remove pci_addr from probe_info 2016-12-12 10:46:50 -07:00
nvme.c nvme: add a per-process attached_ctrlrs list 2017-11-28 16:21:07 -05:00