+26
−10
Loading
PCI event module currently requires use of SO_RCVBUFFORCE socket option which is restricted to CAP_NET_ADMIN. Retry with SO_RCVBUF for non-root (unprivileged) processes where this capability is not available. Return -ENOSPC if receive buffer is not of sufficient size. Fixes issue #2224 Signed-off-by:Tom Nabarro <tom.nabarro@intel.com> Change-Id: I0bed1b1eac0c7e8601d3d172d8027380ec8be391 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10126 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Dong Yi <dongx.yi@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>