public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH liburing 0/2] add zcrx example
@ 2025-04-09 17:58 Pavel Begunkov
  2025-04-09 17:58 ` [PATCH liburing 1/2] examples/send-zerocopy: add data verification Pavel Begunkov
  2025-04-09 17:58 ` [PATCH liburing 2/2] examples: add a zcrx example Pavel Begunkov
  0 siblings, 2 replies; 4+ messages in thread
From: Pavel Begunkov @ 2025-04-09 17:58 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence, David Wei

We need a simple example for zcrx to show case how the api works
and how to use features. Take the selftest and strip it off tx.

Anything supporting tcp can play a role of the sender, but for
data verification (-v) it needs to follow the data pattern.
Implement it in send-zerocopy -z0.

Pavel Begunkov (2):
  examples/send-zerocopy: add data verification
  examples: add a zcrx example

 examples/Makefile        |   1 +
 examples/send-zerocopy.c |  50 +++++-
 examples/zcrx.c          | 362 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 410 insertions(+), 3 deletions(-)
 create mode 100644 examples/zcrx.c

-- 
2.48.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-09 22:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 17:58 [PATCH liburing 0/2] add zcrx example Pavel Begunkov
2025-04-09 17:58 ` [PATCH liburing 1/2] examples/send-zerocopy: add data verification Pavel Begunkov
2025-04-09 17:58 ` [PATCH liburing 2/2] examples: add a zcrx example Pavel Begunkov
2025-04-09 23:00   ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox