Project

General

Profile

Actions

Feature #5753

open

io_uring support in libosmo-netif

Added by laforge 7 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
11/09/2022
Due date:
% Done:

60%

Spec Reference:
Tags:

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.


Related issues

Related to libosmocore - Feature #5751: io_uring support in libosmocoreIn Progressdaniel11/09/2022

Actions
Related to libosmo-sccp + libosmo-sigtran - Feature #5752: io_uring support in libosmo-sigtranNewdaniel11/09/2022

Actions
Actions #1

Updated by laforge 7 months ago

  • Related to Feature #5751: io_uring support in libosmocore added
Actions #2

Updated by laforge 7 months ago

  • Tags set to io_uring
Actions #3

Updated by laforge 3 months ago

  • Related to Feature #5752: io_uring support in libosmo-sigtran added
Actions #4

Updated by laforge 3 months ago

  • Priority changed from Normal to High
Actions #5

Updated by laforge 3 months ago

  • Assignee set to daniel
Actions #6

Updated by laforge 2 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.
So in the end, we will have the following call flow:
  • 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
Actions #7

Updated by laforge 2 months ago

  • Assignee changed from daniel to osmith
Actions #8

Updated by laforge 2 months ago

  • Assignee changed from osmith to arehbein
Actions #9

Updated by arehbein about 2 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 60
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)