numam-spdk/lib/net
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
..
interface.c subsystem: remove fini return code 2017-10-10 10:56:34 -04:00
Makefile Add a network stack abstraction layer. 2016-08-03 13:30:27 -07:00
net_framework_default.c subsystem: remove fini return code 2017-10-10 10:56:34 -04:00
net_rpc.c log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
sock.c VPP: change sockets from FIONBIO to O_NONBLOCK type 2017-11-29 11:23:32 -05:00