numam-spdk/module/sock
Ziye Yang fc9a264595 uring: Not enable zero copy if fd is opened on a loopback device.
In order to not affect the loopback test.

Also create a sock_common.c file which can be used by posix/uring
implementation. We do not put such code in sock.c. Because sock.c
is the general layer. Other users may include their own user space
sock impelmentations. So put those common code in sock_common.c instead.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I983ec2313119539e6eed2d9f11ba1488c0ed6560
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8769
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-08-13 07:14:38 +00:00
..
posix uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00
uring uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00
Makefile sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
sock_kernel.h uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00