From: Luke Hsiao <lukehs...@google.com> This patch series adds support for reading MSG_ERRQUEUE using the io_uring interface. Support for this operation allows io_uring to serve as an alternative to epoll + recvmsg for reading notification completions for TCP tx zerocopy.
The first patch allows ancillary data to be read using recvmsg from io_uring, while the second patch provides an optimization for reading these notification completions. Luke Hsiao (2): io_uring: allow tcp ancillary data for __sys_recvmsg_sock() io_uring: ignore POLLIN for recvmsg on MSG_ERRQUEUE fs/io_uring.c | 11 +++++++++-- include/linux/net.h | 3 +++ net/ipv4/af_inet.c | 1 + net/ipv6/af_inet6.c | 1 + net/socket.c | 8 +++++--- 5 files changed, 19 insertions(+), 5 deletions(-) -- 2.28.0.297.g1956fa8f8d-goog