mbox series

[0/5] liburing: Add {g,s}etsockopt command support

Message ID 20231020133917.953642-1-leitao@debian.org (mailing list archive)
Headers show
Series liburing: Add {g,s}etsockopt command support | expand

Message

Breno Leitao Oct. 20, 2023, 1:39 p.m. UTC
These are liburing patches that add support for the new
SOCKET_URING_OP_GETSOCKOPT and SOCKET_URING_OP_SETSOCKOPT socket
commands.

This patchset basically synchronize the UAPI bits, teach
io_uring_prep_cmd(3) how to use the new fields, create a unit test and
add the proper man page documentation.

Breno Leitao (5):
  io_uring: uapi: Sync the {g,s}etsockopt fields
  liburing.h: Populate SQE for {s,g} etsockopt
  tests/socket-getsetsock-cmd: New test for {g,s}etsockopt
  man/io_uring_prep_cmd: Fix argument name
  man/io_uring_prep_cmd: Add the new sockopt commands

 CHANGELOG                       |   4 +
 man/io_uring_prep_cmd.3         |  34 +++-
 src/include/liburing.h          |  11 +-
 src/include/liburing/io_uring.h |   8 +
 test/Makefile                   |   1 +
 test/socket-getsetsock-cmd.c    | 328 ++++++++++++++++++++++++++++++++
 6 files changed, 378 insertions(+), 8 deletions(-)
 create mode 100644 test/socket-getsetsock-cmd.c

Comments

Jens Axboe Oct. 20, 2023, 3:06 p.m. UTC | #1
On 10/20/23 7:39 AM, Breno Leitao wrote:
> These are liburing patches that add support for the new
> SOCKET_URING_OP_GETSOCKOPT and SOCKET_URING_OP_SETSOCKOPT socket
> commands.
> 
> This patchset basically synchronize the UAPI bits, teach
> io_uring_prep_cmd(3) how to use the new fields, create a unit test and
> add the proper man page documentation.

Applied to the 'next' branch. Had to hand apply patch 2, but the rest
applied just fine.

Thanks!