Attention is currently required from: jolly, laforge, pespin.

jolly uploaded patch set #10 to this change.

View Change

The following approvals got outdated and were removed: Code-Review+2 by pespin, Verified+1 by Jenkins Builder

The change is no longer submittable: Code-Review and Verified are unsatisfied now.

Add multiple messages buffers to struct iofd_msghdr

This is a prerequisite for transfering multiple buffers with a single
SQE or CQE when using osmo_io with io_uring.

The message buffers at struct iofd_msghr, as well as the io vectors are
arrays. A maximum number is stored, as well as the current number.

As this patch does not implement multiple buffers yet, only index 0 of a
message buffer is used. (msg[0])

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

Related: OS#6705
Change-Id: I4fb1067de4615cc22cc6caf99b481491e7f2ef92
---
M include/osmocom/core/osmo_io.h
M src/core/libosmocore.map
M src/core/osmo_io.c
M src/core/osmo_io_internal.h
M src/core/osmo_io_poll.c
M src/core/osmo_io_uring.c
6 files changed, 74 insertions(+), 16 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/91/40491/10

To view, visit change 40491. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4fb1067de4615cc22cc6caf99b481491e7f2ef92
Gerrit-Change-Number: 40491
Gerrit-PatchSet: 10
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-Attention: jolly <andreas@eversberg.eu>
Gerrit-Attention: laforge <laforge@osmocom.org>
Gerrit-Attention: pespin <pespin@sysmocom.de>