Spdk/lib/net
Jim Harris 4a6fe72ec0 net: make the sock_group_poll code more generic
Have the main spdk_sock_group_poll_count routine
just pass an array of sock pointers to the posix
implementation function.  Then the posix implementation
can just fill out which spdk_socks have data and let
the caller do the callback routines.

This moves a fair bit of code from the posix implementation
to the common code, which will simplify the upcoming
VPP implementation.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I547821ce9875777448f433cae59e316a45c259f6

Reviewed-on: https://review.gerrithub.io/400332
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-02-21 12:40:30 -05:00
..
interface.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
Makefile net: remove ability to override default net_framework 2018-02-21 12:40:30 -05:00
net_framework.c net: remove ability to override default net_framework 2018-02-21 12:40:30 -05:00
net_rpc.c log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
sock.c net: make the sock_group_poll code more generic 2018-02-21 12:40:30 -05:00