Skip to content
Success

Changes

Summary

  1. Send multiple read/recvfrom/recvmsg SQEs in advance (details)
Commit 84e07bf4d59c6ac9b65a588d6fe9f84f2d7c5589 by Andreas Eversberg
Send multiple read/recvfrom/recvmsg SQEs in advance

Multiple read or recvfrom operations can be submitted via SQEs when
using io_uring. This allows reading multiple packet / more data between
calls of osmo_select_main() the main loop.

Having more than one SQE submitted is optional and the number can be
controlled via environment variable.

Related: OS#6705
Change-Id: Id50a8900fa2fe6de553e5025feae7e1e8d501e30
The file was modifiedsrc/core/libosmocore.map
The file was modifiedsrc/core/osmo_io_internal.h
The file was modifiedsrc/core/osmo_io_uring.c
The file was modifiedsrc/core/osmo_io.c
The file was modifiedinclude/osmocom/core/osmo_io.h