mbox series

[v1,0/2] io_uring zc rx single shot recvzc

Message ID 20250218165714.56427-1-dw@davidwei.uk (mailing list archive)
Headers show
Series io_uring zc rx single shot recvzc | expand

Message

David Wei Feb. 18, 2025, 4:57 p.m. UTC
Currently only multishot recvzc requests are supported in io_uring zc
rx, but sometimes there is a need to do a single recvzc e.g. peeking at
some data in the socket.

In this series, add single shot recvzc request and a selftest for the
feature.

David Wei (2):
  io_uring/zcrx: add single shot recvzc
  io_uring/zcrx: add selftest case for single shot recvzc

 io_uring/net.c                                | 26 ++++++++----
 io_uring/zcrx.c                               | 17 ++++++--
 io_uring/zcrx.h                               |  2 +-
 .../selftests/drivers/net/hw/iou-zcrx.c       | 42 ++++++++++++++++---
 .../selftests/drivers/net/hw/iou-zcrx.py      | 27 +++++++++++-
 5 files changed, 94 insertions(+), 20 deletions(-)