numam-spdk/examples
Ziye Yang 0bfaaace8f sock: Add impl_name parameter in spdk_sock_listen/connect.
Purpose: With this patch,

(1)We can support using different sock implementations in
one application together.

(2)For one IP address managed by kernel, we can use different method
to listen/connect, e.g., posix, or uring. With this patch, we can
designate the specified sock implementation if impl_name is not NULL
and valid. Otherwise, spdk_sock_listen/connect will try to use the sock
implementations in the list by order if impl_name is NULL.

Without this patch, the app will always use the same type of sock implementation
if the order is fixed. For example, if we have posix and uring together,
the first one will always be uring.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: Ic49563f5025085471d356798e522ff7ab748f586
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478140
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-01-16 09:11:32 +00:00
..
bdev bdev/fio: always set the engine_data to NULL 2019-11-06 14:49:00 +00:00
blob examples/blob: Optional VMD enumeration 2019-07-01 03:53:06 +00:00
ioat examples: rename ioat perf tool to ioat_perf 2019-05-22 14:51:01 +00:00
nvme lib/nvme: make transport.c use fn tables. 2020-01-16 09:10:38 +00:00
nvmf example/nvmf: always return after spdk_subsystem_init 2020-01-13 01:47:30 +00:00
sock sock: Add impl_name parameter in spdk_sock_listen/connect. 2020-01-16 09:11:32 +00:00
vmd examples/vmd/led: LED management app 2019-10-24 17:04:04 +00:00
Makefile nvmf_example: add an nvmf example 2019-12-20 10:03:34 +00:00