Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-pcu/+/27641
to look at the new patch set (#2).
Change subject: llc_queue: Refactor to handle codel_state per prio queue internally
......................................................................
llc_queue: Refactor to handle codel_state per prio queue internally
A CoDel state per prio queue is needed, otherwise the sojourn time state
is not properly reset when a high prio packet is dequeued.
If we have a global codel state shared for all prio queues of an MS, then
basically high prio (GMM) packets will "never" be dropped because they are
handled/dequeued way quicker, so it's sojourn time will be below the
threshold most probably, stopping the "dropping" state for the rest of
lower prio packets.
The handling of different codel states is moved from MS object to the
llc_queue, also offloading already loaded dl_tbf.cpp in the process.
This will also allow in the future setting different CoDel parameters
for different priority queues if needed.
Tests need to be adapted since now the CoDel and PDU lifetime are
incorporated into the llc_queue_dequeue(). Also because dequeue now also
accesses related MS fields.
Related: OS#5508
Change-Id: I2bce2e82ab6389d8a70130a5c26a966a316b0fa4
---
M src/gprs_ms.c
M src/gprs_ms.h
M src/llc.c
M src/llc.h
M src/tbf_dl.cpp
M src/tbf_dl.h
M tests/llc/LlcTest.cpp
7 files changed, 207 insertions(+), 178 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/41/27641/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/27641
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I2bce2e82ab6389d8a70130a5c26a966a316b0fa4
Gerrit-Change-Number: 27641
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
Attention is currently required from: rauf.gyulaliev(a)fairwaves.co, ipse.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/15685 )
Change subject: Initial XTRX support
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
related PR on the read-only github mirror at https://github.com/osmocom/osmo-trx/pull/4 - I pointed the developer to gerrit.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/15685
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I1067dfef53aa2669cc7c189cccae10074c674390
Gerrit-Change-Number: 15685
Gerrit-PatchSet: 3
Gerrit-Owner: rauf.gyulaliev(a)fairwaves.co
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: ipse <Alexander.Chemeris(a)gmail.com>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: rauf.gyulaliev(a)fairwaves.co
Gerrit-Attention: ipse <Alexander.Chemeris(a)gmail.com>
Gerrit-Comment-Date: Mon, 04 Apr 2022 10:34:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/27627 )
Change subject: WIP: llc: schedule frames to MS based on SAPI priority
......................................................................
Patch Set 2:
(1 comment)
File src/llc.h:
https://gerrit.osmocom.org/c/osmo-pcu/+/27627/comment/b1148993_cb3cf60f
PS1, Line 37: union
> This line as well as the address field can be moved out of the conditional block to avoid duplicatio […]
I'm just leaving it as autogenerated from the script.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/27627
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie8bd91eeac4fa7487d4f11b808dea95737041c7e
Gerrit-Change-Number: 27627
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 04 Apr 2022 09:15:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: neels.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/27631 )
Change subject: libosmo-pfcp: implement PFCP header and msg handling
......................................................................
Patch Set 3:
(7 comments)
File include/osmocom/pfcp/pfcp_msg.h:
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/9bd8f6d3_249ab9dd
PS3, Line 44: #define OSMO_LOG_PFCP_MSG_SRC(M, LEVEL, file, line, FMT, ARGS...) do { \
This starts to look as too much for a macro imho, it may make sense to move it to a variadic function
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/c6227464_17a86ef5
PS3, Line 69: static inline uint32_t osmo_pfcp_next_seq(uint32_t *seq_state)
This function will return 1 on first call most probably. Are you sure that's accepted per spec? or it needs to starts with 0?
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/2d00fcc1_188ddd66
PS3, Line 110: struct osmo_fsm_inst *peer_fi;
Looks like these 2 groups can be in a union?
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/a4266ec8_93fcbdcb
PS3, Line 123: #define OSMO_PFCP_MSG_FOR_IES(IES_P) ((struct osmo_pfcp_msg *)((char *)IES_P - offsetof(struct osmo_pfcp_msg, ies)))
what's the meaning of FOR here?
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/6d8ae394_271aff96
PS3, Line 149: #define OSMO_PFCP_MSG_MEMB(M, OFS) ((OFS) <= 0 ? NULL : (void *)((uint8_t *)(M) + OFS))
write it as a static inline, where you can set type of OFS to unsigned, you can then drop the first check.
Or you reall expect to pass -1 to it?
File src/libosmo-pfcp/pfcp_msg.c:
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/7e3ccae4_d05fa19f
PS3, Line 72: uint16_t message_length;
You may want to use here:
union {
struct osmo_pfcp_header_no_seid hdr_no_seid[0];
struct osmo_pfcp_header_seid hdr_seid[0];
}
https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/063ee253_e4e1f759
PS3, Line 338: /* Append the encoded PFCP message to the message buffer.
I see a lot of stuff to put several messages into one buffer. Is there a specific reason to need that?
--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/27631
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I3f85ea052a6b7c064244a8093777e53a47c8c61e
Gerrit-Change-Number: 27631
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 04 Apr 2022 09:08:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment