numam-spdk/lib/iscsi
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
..
conn.c iscsi: replace fprintf by SPDK_LOG 2020-01-07 12:17:19 +00:00
conn.h lib/iscsi: Move iscsi_conn_abort_queued_datain_task() from iscsi.c to conn.c 2019-12-20 10:03:00 +00:00
init_grp.c rpc: Rename add_initiator_group to iscsi_create_initiator_group 2019-09-24 16:40:01 +00:00
init_grp.h iscsi: Use not malloc'ed but fixed size string for initiator address 2019-07-01 05:03:07 +00:00
iscsi_rpc.c lib/iscsi: Remove the code for the deprecated CPU mask 2019-12-06 14:50:43 +00:00
iscsi_subsystem.c lib/iscsi: Assert if PDU ref count goes negative 2019-12-20 10:03:00 +00:00
iscsi.c lib/iscsi: Move iscsi_conn_abort_queued_datain_task() from iscsi.c to conn.c 2019-12-20 10:03:00 +00:00
iscsi.h lib/iscsi: Change iscsi_queue_task() from private to public 2019-12-17 09:29:10 +00:00
Makefile mk: add a lib deps file. 2019-08-23 17:48:35 +00:00
md5.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi: Remove the prefix spdk_ from names of private functions 2019-04-01 00:52:56 +00:00
param.h lib/iscsi: Move function declaration to param.h to match function body 2019-11-19 09:10:14 +00:00
portal_grp.c sock: Add impl_name parameter in spdk_sock_listen/connect. 2020-01-16 09:11:32 +00:00
portal_grp.h lib/iscsi: Add iscsi_portal_group_set_auth for per portal group CHAP authentication 2019-09-27 15:24:14 +00:00
task.c iscsi: put data_cnt_in operation in iscsi task get and free 2019-12-04 15:34:54 +00:00
task.h lib/iscsi: Fix double free of primary task when write I/O is split 2019-12-05 12:21:09 +00:00
tgt_node.c lib/iscsi: Request logout to asynchronously to initiator 2019-10-09 02:45:17 +00:00
tgt_node.h rpc: Rename delete_pg_ig_maps to iscsi_target_node_remove_pg_ig_maps 2019-09-18 18:09:13 +00:00