e3f2a3949d
For now, this provides common abstraction for Linux epoll and FreeBSD kqueue. It also provides the basis for future changes where alternate userspace TCP stacks have their own mechanism for polling a group of descriptors. While here, remove old epoll/kqueue code in iscsi/conn.c that was commented out when the iSCSI idle connection code was recently removed - we now have a real implementation of it in sock.c so the original code is no longer needed as a reference. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I664ae32a5ff4d37711b7f534149eb0eb35942335 Reviewed-on: https://review.gerrithub.io/398969 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>