[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200820234954.1784522-1-luke.w.hsiao@gmail.com>
Date: Thu, 20 Aug 2020 16:49:52 -0700
From: Luke Hsiao <luke.w.hsiao@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Jens Axboe <axboe@...nel.dk>,
Luke Hsiao <lukehsiao@...gle.com>
Subject: [PATCH net-next 0/2] Support reading msg errq from io_uring
From: Luke Hsiao <lukehsiao@...gle.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
Powered by blists - more mailing lists