Spdk/lib/sock/spdk_sock.map
Konrad Sztyber 3e47d7fa22 sock: asynchronous readv interface
This patch defines a new function, spdk_sock_readv_async(), which allows
the user to send a readv request and receive a callback once the
supplied buffer is filled with data from the socket.  It works simiarly
to asynchronous writes, but there can only be a single outstanding read
request at a time.

For now, the interface isn't implemented and any calls will return
-ENOTSUP.  Subsequent patches will add support for it in the uring
module and as well as emulation in the posix module.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I924e2cdade49ffa18be6390109dc7e65c2728087
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12170
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-07-14 09:45:54 +00:00

48 lines
1015 B
Plaintext

{
global:
# public functions in spdk/sock.h
spdk_sock_get_default_opts;
spdk_sock_getaddr;
spdk_sock_connect;
spdk_sock_connect_ext;
spdk_sock_listen;
spdk_sock_listen_ext;
spdk_sock_accept;
spdk_sock_close;
spdk_sock_flush;
spdk_sock_recv;
spdk_sock_writev;
spdk_sock_writev_async;
spdk_sock_readv;
spdk_sock_readv_async;
spdk_sock_set_recvlowat;
spdk_sock_set_recvbuf;
spdk_sock_set_sendbuf;
spdk_sock_is_ipv6;
spdk_sock_is_ipv4;
spdk_sock_is_connected;
spdk_sock_group_create;
spdk_sock_group_get_ctx;
spdk_sock_group_add_sock;
spdk_sock_group_remove_sock;
spdk_sock_group_poll;
spdk_sock_group_poll_count;
spdk_sock_group_close;
spdk_sock_get_optimal_sock_group;
spdk_sock_impl_get_opts;
spdk_sock_impl_set_opts;
spdk_sock_set_default_impl;
spdk_sock_write_config_json;
# internal function in spdk_internal/sock.h
spdk_net_impl_register;
spdk_sock_map_insert;
spdk_sock_map_release;
spdk_sock_map_lookup;
spdk_sock_map_find_free;
spdk_sock_map_cleanup;
local: *;
};