lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

September 2026

  • 1 participants
  • 1894 discussions
[M] Change in osmo-dev[master]: README tweaks
by neels 16 Sep '26

16 Sep '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/43645?usp=email ) Change subject: README tweaks ...................................................................... README tweaks Change-Id: I6e5fc98a42f50aa971f7750ccd6baafed2d83ec9 --- M README.md 1 file changed, 49 insertions(+), 23 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/45/43645/1 diff --git a/README.md b/README.md index af26d84..5ac8062 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,18 @@ ## Overview The main purpose of this project is building the Osmocom stack (and related -projects such as Open5GS) from source with `gen_makefile.py`. This is described -in more detail below. +projects such as Open5GS) from source with a top-level Makefile produced by +`gen_makefile.py`. This is described in more detail below. ### Additional scripts -* `net`: quickly configure, launch and tear down an entire Osmocom core network +* `net/`: quickly configure, launch and tear down an entire Osmocom core network on your box (see `net/README`). * `ttcn3/tmux`: start a tmux session with a TTCN-3 testsuite and related binaries (see `ttcn3/tmux/README.md`). -* `src`: other useful scripts related to git and gerrit (see `src/README`). +* `src/`: scripts to sync local git clones with upstream gerrit (see `src/README`). * `osmo-uninstall.sh`: remove installed binaries, libraries and headers from a given prefix, the default is `/usr/local`. @@ -63,7 +63,19 @@ ### Make targets -Other make targets exist for specific use cases: +Single projects can be built by name. The following example builds only +libosmo-abis, and its dependencies libosmocore and libosmo-netif: + +``` +make libosmo-abis +``` +This can be used for any project in `all.deps`, e.g. `make osmo-msc`, `make +osmo-bsc` etc. + +Top-level make targets exist for specific use cases: + +* `cn`: core network components: OsmoMSC, OsmoSGSN, osmo-iuh, OsmoGGSN, OsmoHLR, OsmoMGW, + OsmoSIPConnector, OsmoSMLC, including all of their dependencies. * `usrp`: Build the CN, OsmoBSC, OsmoBTS and OsmoTRX (default, e.g. when connecting @@ -72,29 +84,34 @@ * `cn-bsc`: Build the CN and OsmoBSC (e.g. when connecting to an external sysmoBTS) -* `osmo-msc`: - Build only the OsmoMSC project and its dependencies (this can be used for - any project in `all.deps`). - * `.make.osmo-ttcn3-hacks.clone`: Clone the osmo-ttcn3-hacks git repository (it cannot be built by osmo-dev, but cloning it is still useful.) -If you modify the `all.deps` or `*.opts` file, you can easily run `make regen` -in a `make*` subdir to regenerate the `Makefile` from the same files, with the -same options for `gen_makefile.py`. +* You will find many other (hidden) `.make.*` files under src/. These control + the top-level Makefile: removing a file makes sure that the given step is + rebuilt, including all of its dependencies. + For example, if you `rm .make.libosmocore.autoconf`, libosmocore and all + projects depending on libosmocore will be rebuilt from scratch. -In your `make*` subdir there are empty status files that are touched for every -completed make target. From these, `make` can detect what needs to be rebuilt. -You can manually remove them to force a rebuild of a specific target. For -example, if you `rm .make.libosmocore.autoconf`, libosmocore and all projects -depending on libosmocore will be rebuilt from scratch. +### Modify configuration + +If you modify the `all.deps` or `*.opts` file, update your `make*` subdir with: + +``` +make regen +``` + +This keeps the options intact that were first passed to `gen_makefile.py`. +(They are listed near the top of the generated `make*/Makefile`, convienient to +edit.) ### Configuration files ### all.deps Whitespace-separated listing of: + ``` project_name depends_on_project_1 depends_on_project_2 ... ``` @@ -103,6 +120,7 @@ Projects that are not developed at `gerrit.osmocom.org/$project` are listed here in the following format: + ``` project_name URL ``` @@ -111,6 +129,7 @@ Projects that are not using `autotools` need an entry in this file in the form of: + ``` project_name BUILDSYSTEM ``` @@ -131,10 +150,14 @@ project_name OPTION(S) ``` -If `project_name` is `ALL`, the option gets added to all projects using the -`autotools` build system. This is because `./configure` just ignores any -options it does not understand and initially only `autotools` was supported by -`gen_makefile.py`. +Options can be added to all `./configure` steps of builds that use `autotools` +using the `ALL` keyword, for example: + +``` +ALL --prefix=/usr +``` + +(Note that `./configure` just ignores any options it does not understand.) Find more information about specific `*.opts` files below. @@ -179,7 +202,10 @@ export PATH="$PATH:/usr/local/bin" ``` +WARNING: setting `LD_LIBRARY_PATH` can have adverse effects. + ### sanitize.opts and osmo-trx -When using sanitize.opts, osmo-trx is not built with the address sanitizer -enabled. Linking a sanitizer-enabled libosmocore will not work. +osmo-trx is never built with the address sanitizer enabled. If you intend to +build osmo-trx, you should not use sanitize.opts, because linking a +sanitizer-enabled libosmocore will not work. -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/43645?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: I6e5fc98a42f50aa971f7750ccd6baafed2d83ec9 Gerrit-Change-Number: 43645 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: IPAd: Add test case for multple eIM packages
by laforge 15 Sep '26

15 Sep '26
Attention is currently required from: dexter, jolly. laforge has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620?usp=email ) Change subject: IPAd: Add test case for multple eIM packages ...................................................................... Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I74bba77cc391ed243729e99a5aeaefb9dbde2922 Gerrit-Change-Number: 43620 Gerrit-PatchSet: 2 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 18:29:42 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[L] Change in osmo-dev[master]: README: modernize
by laforge 15 Sep '26

15 Sep '26
Attention is currently required from: fixeria, neels, osmith. laforge has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-dev/+/43641?usp=email ) Change subject: README: modernize ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/43641?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: Ie653062d43c486ce977ed772f0d06f0199952188 Gerrit-Change-Number: 43641 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 18:28:52 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in dahdi-linux[master]: drivers/dahdi/icE1usb: defer USB transfer when setting loopback mode
by laforge 15 Sep '26

15 Sep '26
Attention is currently required from: manawyrm. laforge has posted comments on this change by manawyrm. ( https://gerrit.osmocom.org/c/dahdi-linux/+/43642?usp=email ) Change subject: drivers/dahdi/icE1usb: defer USB transfer when setting loopback mode ...................................................................... Patch Set 1: (1 comment) Patchset: PS1: > Enabling loopback now works on my machine: […] Closes: OS#7089 in commitlog would close RhE redmine issue -- To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/43642?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: dahdi-linux Gerrit-Branch: master Gerrit-Change-Id: Iba99fc5261059c77cc89d867b21c70a34c9b4ea6 Gerrit-Change-Number: 43642 Gerrit-PatchSet: 1 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 18:28:09 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: manawyrm <osmocom.account(a)tbspace.de>
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by laforge 15 Sep '26

15 Sep '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email ) Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... octoi: rework frame_rifo logic to decompress frames on the output side The previous code tried to decompress frames against the last received frame regardless of the ordering (even when the frames got re-ordered by the network) and also when a frame didn't even arrive yet (rendering the jitter buffer almost useless). This commit stores the compressed frame and the timeslot mask in the RIFO and only tries to decompress the frames in the RIFO pop logic (when we had time to receive the other frames before it). The rifo->last_in_fn logic would also reset the counter back to an older frame even when a frame with a higher number was already received (fixed now). Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 --- M src/octoi/e1oip.c M src/octoi/e1oip.h M src/octoi/frame_rifo.c M src/octoi/frame_rifo.h M src/octoi/octoi.c M tests/rifo/rifo_test.c M tests/rifo/rifo_test.ok 7 files changed, 191 insertions(+), 37 deletions(-) Approvals: tnt: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/octoi/e1oip.c b/src/octoi/e1oip.c index e2aad34..345d76b 100644 --- a/src/octoi/e1oip.c +++ b/src/octoi/e1oip.c @@ -194,7 +194,7 @@ uint32_t ts_mask; uint8_t idx2ts[BYTES_PER_FRAME]; unsigned int n_frames; - uint8_t frame_buf[BYTES_PER_FRAME]; + uint8_t frame_buf[BYTES_PER_FRAME] = { 0 }; unsigned int num_ts; uint16_t exp_next_seq = iline->e1t.next_fn32 & 0xffff; struct timespec ts; @@ -260,7 +260,6 @@ n_frames = msg->l3h[0]; } - memcpy(frame_buf, iline->e1t.last_frame, BYTES_PER_FRAME); for (unsigned int i = 0; i < n_frames; i++) { int rc; for (unsigned int j = 0; j < num_ts; j++) { @@ -268,7 +267,7 @@ frame_buf[ts_nr] = e1th->data[i*num_ts + j]; } /* FIXME: what to do about TS0? */ - rc = frame_rifo_in(&iline->e1t.rifo, frame_buf, fn32+i); + rc = frame_rifo_in(&iline->e1t.rifo, frame_buf, ts_mask, fn32+i); if (rc < 0) iline_ctr_add(iline, LINE_CTR_E1oIP_E1T_OVERFLOW, 1); /* Continue the for loop, if buffer reset is not configured. */ @@ -292,7 +291,6 @@ } /* update local state */ - memcpy(iline->e1t.last_frame, frame_buf, BYTES_PER_FRAME); if (update_next) iline->e1t.next_fn32 = fn32 + n_frames; @@ -352,7 +350,6 @@ iline->e1o.next_seq = 0; frame_rifo_init(&iline->e1t.rifo, 0); - memset(&iline->e1t.last_frame, 0xff, sizeof(iline->e1t.last_frame)); iline->e1t.next_fn32 = 0; iline->e1t.primed_rx_tdm = false; iline->e1t.delay = 0; diff --git a/src/octoi/e1oip.h b/src/octoi/e1oip.h index 8aaa420..f21cfbf 100644 --- a/src/octoi/e1oip.h +++ b/src/octoi/e1oip.h @@ -70,7 +70,6 @@ /* E1 terminated side (E1<-IP) */ struct { struct frame_rifo rifo; - uint8_t last_frame[BYTES_PER_FRAME]; /* last frame on the E1 side */ uint32_t next_fn32; /* next expected frame number */ bool primed_rx_tdm; /* Was RX RIFO primed */ int32_t delay, delay_cnt; /* Delay counter to calculate average delay */ diff --git a/src/octoi/frame_rifo.c b/src/octoi/frame_rifo.c index 00fb6a5..5163223 100644 --- a/src/octoi/frame_rifo.c +++ b/src/octoi/frame_rifo.c @@ -89,6 +89,8 @@ void frame_rifo_init(struct frame_rifo *rifo, uint32_t fn) { memset(rifo->buf, 0xff, sizeof(rifo->buf)); + memset(rifo->rx_mask, 0, sizeof(rifo->rx_mask)); + memset(rifo->last_out, 0xff, sizeof(rifo->last_out)); rifo->next_out = rifo->buf; rifo->next_out_fn = fn; rifo->last_in_fn = fn - 1; @@ -99,10 +101,11 @@ /*! put one received frame into the RIFO at a given specified frame number. * \param rifo The RIFO to which we want to put (append) multiple frames - * \param frame Pointer to memory containing the frame data + * \param frame Pointer to memory containing partial/compressed frame data + * \param ts_mask Bit-mask of timeslots that carry data * \param fn Absolute frame number at which to insert the frame. * \returns 0 on success; -1 on error (overflow) */ -int frame_rifo_in(struct frame_rifo *rifo, const uint8_t *frame, uint32_t fn) +int frame_rifo_in(struct frame_rifo *rifo, const uint8_t *frame, uint32_t ts_mask, uint32_t fn) { uint32_t bucket; uint8_t *dst; @@ -116,14 +119,18 @@ dst = rifo->buf + bucket * BYTES_PER_FRAME; OSMO_ASSERT(dst + BYTES_PER_FRAME <= RIFO_BUF_END(rifo)); memcpy(dst, frame, BYTES_PER_FRAME); + rifo->rx_mask[bucket] = ts_mask; bucket_bit_set(rifo, bucket); - rifo->last_in_fn = fn; + + if ((int32_t)(fn - rifo->last_in_fn) > 0) + rifo->last_in_fn = fn; return 0; } -/*! pull one frames out of the RIFO. +/*! pull one frame out of the RIFO. + * * \param rifo The RIFO from which we want to pull frames * \param out Caller-allocated output buffer * \returns 0 on success; -1 if no frame available; -2 if RIFO depth == 0 */ @@ -139,10 +146,21 @@ * somewhere. */ rc = -2; } else if (!bucket_bit) { - /* caller is supposed to copy/duplicate previous frame */ + /* frame was lost / has not arrived: repeat the last full frame */ rc = -1; + memcpy(out, rifo->last_out, BYTES_PER_FRAME); } else { - memcpy(out, rifo->next_out, BYTES_PER_FRAME); + /* unpack, take the new timeslots from this frame, + * keep all others from the last_out frame. */ + const uint8_t *raw = rifo->next_out; + uint32_t ts_mask = rifo->rx_mask[next_out_bucket]; + unsigned int ts; + + for (ts = 0; ts < BYTES_PER_FRAME; ts++) { + if (ts_mask & (1U << ts)) + rifo->last_out[ts] = raw[ts]; + } + memcpy(out, rifo->last_out, BYTES_PER_FRAME); bucket_bit_clear(rifo, next_out_bucket); } diff --git a/src/octoi/frame_rifo.h b/src/octoi/frame_rifo.h index 19a9acb..3f1fc38 100644 --- a/src/octoi/frame_rifo.h +++ b/src/octoi/frame_rifo.h @@ -6,6 +6,15 @@ uint8_t *next_out; /* where to read next output from FIFO */ uint8_t buf[BYTES_PER_FRAME * FRAMES_PER_FIFO]; + /* compressed timeslot values per frame. Only the + timeslots in rx_mask[] carry data. */ + + uint32_t rx_mask[FRAMES_PER_FIFO]; + /* bit-mask of timeslots for this frame. Timeslots not + set here are unchanged from the last frame. */ + + uint8_t last_out[BYTES_PER_FRAME]; + /* last full output frame. serves as the base for the next frame. */ uint32_t last_in_fn; /* frame number of most recently inserted frame */ uint32_t next_out_fn; /* frame number of next output frame */ @@ -45,7 +54,7 @@ } /* put a received frame into the FIFO */ -int frame_rifo_in(struct frame_rifo *rifo, const uint8_t *frame, uint32_t fn); +int frame_rifo_in(struct frame_rifo *rifo, const uint8_t *frame, uint32_t ts_mask, uint32_t fn); /* pull one frame out of the FIFO */ int frame_rifo_out(struct frame_rifo *rifo, uint8_t *out); diff --git a/src/octoi/octoi.c b/src/octoi/octoi.c index 1c0a6e7..8d8d3da 100644 --- a/src/octoi/octoi.c +++ b/src/octoi/octoi.c @@ -137,9 +137,8 @@ uint8_t *cur = buf + BYTES_PER_FRAME*i; rc = frame_rifo_out(&iline->e1t.rifo, cur); if (rc == -1) { + /* substituted with last received frame */ iline_ctr_add(iline, LINE_CTR_E1oIP_SUBSTITUTED, 1); - /* substitute with last received frame */ - memcpy(cur, iline->e1t.last_frame, BYTES_PER_FRAME); } else if (rc == -2) { iline_ctr_add(iline, LINE_CTR_E1oIP_UNDERRUN, 1); /* substitute with all-FF frame */ diff --git a/tests/rifo/rifo_test.c b/tests/rifo/rifo_test.c index 381ca49..e0b685a 100644 --- a/tests/rifo/rifo_test.c +++ b/tests/rifo/rifo_test.c @@ -28,9 +28,18 @@ rifo->last_in_fn = init_next_out_fn - 1; } +static void rifo_in_mask(struct frame_rifo *rifo, uint8_t *frame, uint32_t ts_mask, uint32_t fn) +{ + int rc = frame_rifo_in(rifo, frame, ts_mask, fn); + unsigned int depth = frame_rifo_depth(rifo); + printf("RIFO_IN(%s, mask=0x%08x, start fn + %s%d)=%d [depth=%s%d, frames=%u]\n", + osmo_hexdump_nospc(frame, BYTES_PER_FRAME), ts_mask, FN_PRINT(fn), rc, + ABS_DEPTH_PRINT(depth), frame_rifo_frames(rifo)); +} + static void rifo_in(struct frame_rifo *rifo, uint8_t *frame, uint32_t fn) { - int rc = frame_rifo_in(rifo, frame, fn); + int rc = frame_rifo_in(rifo, frame, 0xffffffff, fn); unsigned int depth = frame_rifo_depth(rifo); printf("RIFO_IN(%s, start fn + %s%d)=%d [depth=%s%d, frames=%u]\n", osmo_hexdump_nospc(frame, BYTES_PER_FRAME), FN_PRINT(fn), rc, @@ -91,6 +100,59 @@ } } +static void tail_reordered_in(void) +{ + struct frame_rifo rifo; + rifo_init(&rifo); + + printf("\nTEST: %s, starting at FN: %u\n", __func__, init_next_out_fn); + + const uint8_t in[] = { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 }; + for (int i = 0; i < sizeof(in); i++) { + uint8_t frame[32]; + memset(frame, in[i], sizeof(frame)); + rifo_in(&rifo, frame, init_next_out_fn + in[i]); + } + + for (int i = 0; i < 10; i++) { + uint8_t frame[32]; + memset(frame, 0xff, sizeof(frame)); + rifo_out(&rifo, frame); + } +} + +static void reordered_delta_in(void) +{ + struct frame_rifo rifo; + uint8_t frame[32]; + rifo_init(&rifo); + + printf("\nTEST: %s, starting at FN: %u\n", __func__, init_next_out_fn); + + /* Packet A: frame 0, all timeslots */ + memset(frame, 0, sizeof(frame)); + frame[1] = 0x11; + frame[2] = 0x22; + rifo_in_mask(&rifo, frame, 0xffffffff, init_next_out_fn + 0); + + /* Packet C (frame 3 and 4): only ts2 present -- delivered early */ + memset(frame, 0, sizeof(frame)); + frame[2] = 0x44; + rifo_in_mask(&rifo, frame, 1U << 2, init_next_out_fn + 3); + rifo_in_mask(&rifo, frame, 1U << 2, init_next_out_fn + 4); + + /* Packet B (frame 1 and 2): only ts1 present -- delivered late */ + memset(frame, 0, sizeof(frame)); + frame[1] = 0x33; + rifo_in_mask(&rifo, frame, 1U << 1, init_next_out_fn + 1); + rifo_in_mask(&rifo, frame, 1U << 1, init_next_out_fn + 2); + + for (int i = 0; i < 5; i++) { + memset(frame, 0xff, sizeof(frame)); + rifo_out(&rifo, frame); + } +} + static void correct_order(void) { struct frame_rifo rifo; @@ -156,7 +218,7 @@ // Put 1 frame and get it memset(frame, 0xa5, sizeof(frame)); - frame_rifo_in(&rifo, frame, init_next_out_fn); + frame_rifo_in(&rifo, frame, 0xffffffff, init_next_out_fn); frame_rifo_out(&rifo, frame); // Put 11 frames at absolute frame numbers FRAMES_PER_FIFO - @@ -191,6 +253,8 @@ missing_frames(0); missing_frames(1); reordered_in(); + tail_reordered_in(); + reordered_delta_in(); correct_order(); too_old_frames(); bound_check(); diff --git a/tests/rifo/rifo_test.ok b/tests/rifo/rifo_test.ok index 564acf3..84ae0ed 100644 --- a/tests/rifo/rifo_test.ok +++ b/tests/rifo/rifo_test.ok @@ -6,13 +6,13 @@ RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=4] RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=9, frames=5] RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=0 [depth=8, frames=4] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=7, frames=4] +RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=-1 [depth=7, frames=4] RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=0 [depth=6, frames=3] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=5, frames=3] +RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=-1 [depth=5, frames=3] RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=0 [depth=4, frames=2] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=3, frames=2] +RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=-1 [depth=3, frames=2] RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=0 [depth=2, frames=1] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=1, frames=1] +RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=-1 [depth=1, frames=1] RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=0, frames=0] RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-2 [depth=0, frames=0] @@ -24,22 +24,22 @@ RIFO_IN(0909090909090909090909090909090909090909090909090909090909090909, start fn + 9)=0 [depth=10, frames=5] RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=9, frames=5] RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=0 [depth=8, frames=4] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=7, frames=4] +RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=-1 [depth=7, frames=4] RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=0 [depth=6, frames=3] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=5, frames=3] +RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=-1 [depth=5, frames=3] RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=0 [depth=4, frames=2] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=3, frames=2] +RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=-1 [depth=3, frames=2] RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=0 [depth=2, frames=1] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=1, frames=1] +RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=-1 [depth=1, frames=1] RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] TEST: reordered_in, starting at FN: 0 RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] RIFO_IN(0404040404040404040404040404040404040404040404040404040404040404, start fn + 4)=0 [depth=5, frames=3] -RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=4, frames=4] +RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=5, frames=4] RIFO_IN(0505050505050505050505050505050505050505050505050505050505050505, start fn + 5)=0 [depth=6, frames=5] -RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=3, frames=6] +RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=6, frames=6] RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=7] RIFO_IN(0707070707070707070707070707070707070707070707070707070707070707, start fn + 7)=0 [depth=8, frames=8] RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=9, frames=9] @@ -55,6 +55,40 @@ RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=1, frames=1] RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] +TEST: tail_reordered_in, starting at FN: 0 +RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] +RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] +RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=3, frames=3] +RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=4, frames=4] +RIFO_IN(0404040404040404040404040404040404040404040404040404040404040404, start fn + 4)=0 [depth=5, frames=5] +RIFO_IN(0505050505050505050505050505050505050505050505050505050505050505, start fn + 5)=0 [depth=6, frames=6] +RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=7] +RIFO_IN(0707070707070707070707070707070707070707070707070707070707070707, start fn + 7)=0 [depth=8, frames=8] +RIFO_IN(0909090909090909090909090909090909090909090909090909090909090909, start fn + 9)=0 [depth=10, frames=9] +RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=10, frames=10] +RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=0 [depth=9, frames=9] +RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=0 [depth=8, frames=8] +RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=0 [depth=7, frames=7] +RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=0 [depth=6, frames=6] +RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=0 [depth=5, frames=5] +RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=0 [depth=4, frames=4] +RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=0 [depth=3, frames=3] +RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=0 [depth=2, frames=2] +RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=1, frames=1] +RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] + +TEST: reordered_delta_in, starting at FN: 0 +RIFO_IN(0011220000000000000000000000000000000000000000000000000000000000, mask=0xffffffff, start fn + 0)=0 [depth=1, frames=1] +RIFO_IN(0000440000000000000000000000000000000000000000000000000000000000, mask=0x00000004, start fn + 3)=0 [depth=4, frames=2] +RIFO_IN(0000440000000000000000000000000000000000000000000000000000000000, mask=0x00000004, start fn + 4)=0 [depth=5, frames=3] +RIFO_IN(0033000000000000000000000000000000000000000000000000000000000000, mask=0x00000002, start fn + 1)=0 [depth=5, frames=4] +RIFO_IN(0033000000000000000000000000000000000000000000000000000000000000, mask=0x00000002, start fn + 2)=0 [depth=5, frames=5] +RIFO_OUT(0011220000000000000000000000000000000000000000000000000000000000)=0 [depth=4, frames=4] +RIFO_OUT(0033220000000000000000000000000000000000000000000000000000000000)=0 [depth=3, frames=3] +RIFO_OUT(0033220000000000000000000000000000000000000000000000000000000000)=0 [depth=2, frames=2] +RIFO_OUT(0033440000000000000000000000000000000000000000000000000000000000)=0 [depth=1, frames=1] +RIFO_OUT(0033440000000000000000000000000000000000000000000000000000000000)=0 [depth=0, frames=0] + TEST: correct_order, starting at FN: 0 RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] @@ -130,13 +164,13 @@ RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=4] RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=9, frames=5] RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=0 [depth=8, frames=4] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=7, frames=4] +RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=-1 [depth=7, frames=4] RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=0 [depth=6, frames=3] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=5, frames=3] +RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=-1 [depth=5, frames=3] RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=0 [depth=4, frames=2] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=3, frames=2] +RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=-1 [depth=3, frames=2] RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=0 [depth=2, frames=1] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=1, frames=1] +RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=-1 [depth=1, frames=1] RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=0, frames=0] RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-2 [depth=0, frames=0] @@ -148,22 +182,22 @@ RIFO_IN(0909090909090909090909090909090909090909090909090909090909090909, start fn + 9)=0 [depth=10, frames=5] RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=9, frames=5] RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=0 [depth=8, frames=4] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=7, frames=4] +RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=-1 [depth=7, frames=4] RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=0 [depth=6, frames=3] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=5, frames=3] +RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=-1 [depth=5, frames=3] RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=0 [depth=4, frames=2] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=3, frames=2] +RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=-1 [depth=3, frames=2] RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=0 [depth=2, frames=1] -RIFO_OUT(ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)=-1 [depth=1, frames=1] +RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=-1 [depth=1, frames=1] RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] TEST: reordered_in, starting at FN: 4294967290 RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] RIFO_IN(0404040404040404040404040404040404040404040404040404040404040404, start fn + 4)=0 [depth=5, frames=3] -RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=4, frames=4] +RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=5, frames=4] RIFO_IN(0505050505050505050505050505050505050505050505050505050505050505, start fn + 5)=0 [depth=6, frames=5] -RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=3, frames=6] +RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=6, frames=6] RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=7] RIFO_IN(0707070707070707070707070707070707070707070707070707070707070707, start fn + 7)=0 [depth=8, frames=8] RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=9, frames=9] @@ -179,6 +213,40 @@ RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=1, frames=1] RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] +TEST: tail_reordered_in, starting at FN: 4294967290 +RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] +RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] +RIFO_IN(0202020202020202020202020202020202020202020202020202020202020202, start fn + 2)=0 [depth=3, frames=3] +RIFO_IN(0303030303030303030303030303030303030303030303030303030303030303, start fn + 3)=0 [depth=4, frames=4] +RIFO_IN(0404040404040404040404040404040404040404040404040404040404040404, start fn + 4)=0 [depth=5, frames=5] +RIFO_IN(0505050505050505050505050505050505050505050505050505050505050505, start fn + 5)=0 [depth=6, frames=6] +RIFO_IN(0606060606060606060606060606060606060606060606060606060606060606, start fn + 6)=0 [depth=7, frames=7] +RIFO_IN(0707070707070707070707070707070707070707070707070707070707070707, start fn + 7)=0 [depth=8, frames=8] +RIFO_IN(0909090909090909090909090909090909090909090909090909090909090909, start fn + 9)=0 [depth=10, frames=9] +RIFO_IN(0808080808080808080808080808080808080808080808080808080808080808, start fn + 8)=0 [depth=10, frames=10] +RIFO_OUT(0000000000000000000000000000000000000000000000000000000000000000)=0 [depth=9, frames=9] +RIFO_OUT(0101010101010101010101010101010101010101010101010101010101010101)=0 [depth=8, frames=8] +RIFO_OUT(0202020202020202020202020202020202020202020202020202020202020202)=0 [depth=7, frames=7] +RIFO_OUT(0303030303030303030303030303030303030303030303030303030303030303)=0 [depth=6, frames=6] +RIFO_OUT(0404040404040404040404040404040404040404040404040404040404040404)=0 [depth=5, frames=5] +RIFO_OUT(0505050505050505050505050505050505050505050505050505050505050505)=0 [depth=4, frames=4] +RIFO_OUT(0606060606060606060606060606060606060606060606060606060606060606)=0 [depth=3, frames=3] +RIFO_OUT(0707070707070707070707070707070707070707070707070707070707070707)=0 [depth=2, frames=2] +RIFO_OUT(0808080808080808080808080808080808080808080808080808080808080808)=0 [depth=1, frames=1] +RIFO_OUT(0909090909090909090909090909090909090909090909090909090909090909)=0 [depth=0, frames=0] + +TEST: reordered_delta_in, starting at FN: 4294967290 +RIFO_IN(0011220000000000000000000000000000000000000000000000000000000000, mask=0xffffffff, start fn + 0)=0 [depth=1, frames=1] +RIFO_IN(0000440000000000000000000000000000000000000000000000000000000000, mask=0x00000004, start fn + 3)=0 [depth=4, frames=2] +RIFO_IN(0000440000000000000000000000000000000000000000000000000000000000, mask=0x00000004, start fn + 4)=0 [depth=5, frames=3] +RIFO_IN(0033000000000000000000000000000000000000000000000000000000000000, mask=0x00000002, start fn + 1)=0 [depth=5, frames=4] +RIFO_IN(0033000000000000000000000000000000000000000000000000000000000000, mask=0x00000002, start fn + 2)=0 [depth=5, frames=5] +RIFO_OUT(0011220000000000000000000000000000000000000000000000000000000000)=0 [depth=4, frames=4] +RIFO_OUT(0033220000000000000000000000000000000000000000000000000000000000)=0 [depth=3, frames=3] +RIFO_OUT(0033220000000000000000000000000000000000000000000000000000000000)=0 [depth=2, frames=2] +RIFO_OUT(0033440000000000000000000000000000000000000000000000000000000000)=0 [depth=1, frames=1] +RIFO_OUT(0033440000000000000000000000000000000000000000000000000000000000)=0 [depth=0, frames=0] + TEST: correct_order, starting at FN: 4294967290 RIFO_IN(0000000000000000000000000000000000000000000000000000000000000000, start fn + 0)=0 [depth=1, frames=1] RIFO_IN(0101010101010101010101010101010101010101010101010101010101010101, start fn + 1)=0 [depth=2, frames=2] -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by laforge 15 Sep '26

15 Sep '26
Attention is currently required from: manawyrm. laforge has posted comments on this change by manawyrm. ( https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email ) Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... Patch Set 7: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-Attention: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 18:26:41 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by pespin 15 Sep '26

15 Sep '26
Attention is currently required from: laforge, manawyrm. pespin has posted comments on this change by manawyrm. ( https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email ) Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... Patch Set 7: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-Attention: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Comment-Date: Tue, 15 Sep 2026 18:07:31 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by tnt 15 Sep '26

15 Sep '26
Attention is currently required from: laforge, manawyrm, pespin. tnt has posted comments on this change by manawyrm. ( https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email ) Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... Patch Set 7: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-Attention: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 16:56:58 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by manawyrm 15 Sep '26

15 Sep '26
Attention is currently required from: laforge, pespin, tnt. manawyrm has posted comments on this change by manawyrm. ( https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email ) Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... Patch Set 7: (4 comments) Patchset: PS7: Another code-review, please? 😊 File src/octoi/e1oip.c: https://gerrit.osmocom.org/c/osmo-e1d/+/43643/comment/f6970435_506b6d95?usp… : PS5, Line 263: memcpy(frame_buf, iline->e1t.last_frame, BYTES_PER_FRAME); > It's not zeroed, it copies the last frame AFAICT Acknowledged File src/octoi/frame_rifo.c: https://gerrit.osmocom.org/c/osmo-e1d/+/43643/comment/6db99812_1362e2ac?usp… : PS5, Line 147: memcpy(out, rifo->last_out, BYTES_PER_FRAME); > This doesn't really do anything since AFAICT the code further down will fill with 0xff if rc == -2 Acknowledged File src/octoi/octoi.c: https://gerrit.osmocom.org/c/osmo-e1d/+/43643/comment/c0051b26_abedddd8?usp… : PS5, Line 140: /* substitute with last received frame */ > "subsituted in frame_rifo_out()" looks more clear yes. Acknowledged -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: tnt <tnt(a)246tNt.com> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Tue, 15 Sep 2026 16:36:27 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: manawyrm <osmocom.account(a)tbspace.de> Comment-In-Reply-To: tnt <tnt(a)246tNt.com> Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-e1d[master]: octoi: rework frame_rifo logic to decompress frames on the output side
by manawyrm 15 Sep '26

15 Sep '26
Attention is currently required from: laforge, manawyrm, pespin, tnt. Hello Jenkins Builder, laforge, pespin, tnt, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email to look at the new patch set (#7). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: octoi: rework frame_rifo logic to decompress frames on the output side ...................................................................... octoi: rework frame_rifo logic to decompress frames on the output side The previous code tried to decompress frames against the last received frame regardless of the ordering (even when the frames got re-ordered by the network) and also when a frame didn't even arrive yet (rendering the jitter buffer almost useless). This commit stores the compressed frame and the timeslot mask in the RIFO and only tries to decompress the frames in the RIFO pop logic (when we had time to receive the other frames before it). The rifo->last_in_fn logic would also reset the counter back to an older frame even when a frame with a higher number was already received (fixed now). Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 --- M src/octoi/e1oip.c M src/octoi/e1oip.h M src/octoi/frame_rifo.c M src/octoi/frame_rifo.h M src/octoi/octoi.c M tests/rifo/rifo_test.c M tests/rifo/rifo_test.ok 7 files changed, 191 insertions(+), 37 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/43/43643/7 -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/43643?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I66af4f01ebb38ca1bdd8ffbc8135776322941230 Gerrit-Change-Number: 43643 Gerrit-PatchSet: 7 Gerrit-Owner: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: tnt <tnt(a)246tNt.com> Gerrit-Attention: manawyrm <osmocom.account(a)tbspace.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: tnt <tnt(a)246tNt.com> Gerrit-Attention: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • ...
  • 190
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.