Actions
Feature #5753
closedio_uring support in libosmo-netif
Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Start date:
11/09/2022
Due date:
% Done:
100%
Spec Reference:
Description
Once libosmocore provides the new API for the upcoming io_uring backend (#5751) we will need to port libosmo-netif over to this new API.
Currently we're using the following code-paths for I/O
libosmo-netif function | I/O function | provided by |
---|---|---|
osmo_stream_{cli,srv}_recv | recv | - |
osmo_stream_srv_recv | sctp_recvmsg | libsctp |
osmo_stream_cli_write | send | - |
osmo_stream_{cli,srv}_write | sctp_send | libsctp |
We need to analyze each of those and migrate, if possible.
Files
Related issues
Updated by laforge about 1 year ago
- Related to Feature #5751: io_uring support in libosmocore added
Updated by laforge 9 months ago
- Related to Feature #5752: io_uring support in libosmo-sigtran added
Updated by laforge 8 months ago
some clarification compared to the orignal ticket from 5 months ago:
- libosmo-netif shall be ported over to using osmo_io
- whether or not osmo_io will use io_uring or whatever other backend to the operating system kernel, is out of scope for this ticket
- there's no need for libosmo-netif to directly interact with the I/O functions indicated in the original ticket description. They merely existed as a result of an analysis before the work started.
- an osmo-* application program, calling
- libosmo-netif functions (like today), calling
- osmo_io functions (as opposed to other direct I/O APIs today)
- calling whatever osmo_io backend, calling
- operating system calls
Updated by arehbein 5 months ago
- File chatlog.txt chatlog.txt added
- Status changed from In Progress to Feedback
Currently waiting for more feedback (CR...); there has been a discussion recently concerning certain design choices in the IRC #osmocom channel (I have attached a chat log for reference).
Updated by pespin about 2 months ago
- Blocked by Bug #6222: Memory leak triggered by stream_test added
Updated by arehbein about 2 months ago
- Status changed from Feedback to Stalled
- % Done changed from 90 to 70
(waiting for new input regarding how to proceed with the SCTP part of the task)
Updated by laforge 18 days ago
- Status changed from Stalled to Resolved
- % Done changed from 70 to 100
Applied in changeset libosmo-netif|9bf4e7cb14676d80f81a048724bcaa21f4cfeed2.
Actions