neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/30495 )
Change subject: nft: end each rule in semicolon
......................................................................
nft: end each rule in semicolon
also cosmetic: put the line ending in a separate PRINTF so that adding
or removing items to the rule in future patches does not affect the line
ending.
Change-Id: I6ff6f59fb24a18596aa60848fb00ac70deb1985f
---
M src/osmo-upf/upf_nft.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
diff --git a/src/osmo-upf/upf_nft.c b/src/osmo-upf/upf_nft.c
index 0b270ff..4dfea6c 100644
--- a/src/osmo-upf/upf_nft.c
+++ b/src/osmo-upf/upf_nft.c
@@ -149,7 +149,8 @@
/* Change the TEID in the header to the one to_peer expects */
OSMO_STRBUF_PRINTF(sb, " @ih,32,32 set 0x%08x", to_peer->teid_remote);
- OSMO_STRBUF_PRINTF(sb, " counter\n");
+ OSMO_STRBUF_PRINTF(sb, " counter");
+ OSMO_STRBUF_PRINTF(sb, ";\n");
return sb.chars_needed;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/30495
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I6ff6f59fb24a18596aa60848fb00ac70deb1985f
Gerrit-Change-Number: 30495
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(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-MessageType: merged
Attention is currently required from: Hoernchen, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30416 )
Change subject: ms-trx support
......................................................................
Patch Set 15:
(2 comments)
Patchset:
PS15:
> The designated initializers problem fixed here: […]
Updated the patch: https://cgit.osmocom.org/osmo-trx/commit/?h=fixeria/mstrx&id=ffc6ca06d28719…
File Makefile.am:
https://gerrit.osmocom.org/c/osmo-trx/+/30416/comment/519081a7_b7242eb9
PS15, Line 32: SUBDIRS
> There should be no tab here, otherwise automake simply ignores the subdir (at least on my machine). […]
https://cgit.osmocom.org/osmo-trx/commit/?h=fixeria/mstrx&id=944c6ace068677…
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30416
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I36c65a8c725c4da76dc70006cd96b0a2b6878e84
Gerrit-Change-Number: 30416
Gerrit-PatchSet: 15
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 11 Dec 2022 13:25:07 +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: Hoernchen, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30416 )
Change subject: ms-trx support
......................................................................
Patch Set 15:
(1 comment)
File Makefile.am:
https://gerrit.osmocom.org/c/osmo-trx/+/30416/comment/df47f643_daea38e9
PS15, Line 32: SUBDIRS
There should be no tab here, otherwise automake simply ignores the subdir (at least on my machine). o_O
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30416
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I36c65a8c725c4da76dc70006cd96b0a2b6878e84
Gerrit-Change-Number: 30416
Gerrit-PatchSet: 15
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 11 Dec 2022 12:56:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge.
jolly has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/30446 )
Change subject: Fix support for HDLC/RAW type channels at mISDN.c
......................................................................
Patch Set 1:
(1 comment)
File src/input/misdn.c:
https://gerrit.osmocom.org/c/libosmo-abis/+/30446/comment/4d0bbf8e_4df74767
PS1, Line 690: /* TS 16 is the D-channel, so we use D-channel proto */
: bfd->fd = socket(PF_ISDN, SOCK_DGRAM,
: (ts == 16) ? ISDN_P_NT_E1 : ISDN_P_B_HDLC);
> the problem here is that it makes assumptions. […]
mISDN handles TS 16 different, so that ISDN_P_NT_E1 must be given instead of ISDN_P_B_HDLC. The result is the same, both use HDLC mode. Opening TS 16 as 'b' channel does not work with mISDN.
Only NT mode is supported in all other places of misdn.c. Support of TE mode would require changes to the API or additional e1in_driver.
E1INP_TS_TYPE_SIGN works with kernel space or user space LAPD on top of HDLC. We cannot use that when we want pure HDLC. (E.g frame relay function of V5 interface)
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/30446
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ie9a2a3f6ae1ad7da1711b6ff2f0aeda39839a427
Gerrit-Change-Number: 30446
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Sun, 11 Dec 2022 12:55:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30416 )
Change subject: ms-trx support
......................................................................
Patch Set 15: Code-Review-1
(1 comment)
Patchset:
PS15:
Looks like you forgot to update contrib/jenkins.sh, so your code is not being compiled during the build verification. I tried to build it on my machine and got this error:
CXX ms/osmo_trx_ms_uhd-logging.o
ms/logging.cpp:73:1: sorry, unimplemented: non-trivial designated initializers not supported
73 | };
| ^
I am also seeing warnings like this:
In file included from ms/ms_upper.cpp:23:
ms/ms.h:201:65: warning: ‘optnone’ attribute directive ignored [-Wattributes]
201 | void grab_bursts(dev_buf_t *rcd) __attribute__((optnone));
| ^
In file included from ms/ms_upper.cpp:51:
ms/ms_upper.h:39:101: warning: ‘optnone’ attribute directive ignored [-Wattributes]
39 | bool pullRadioVector(GSM::Time &wTime, int &RSSI, int &timingOffset) __attribute__((optnone));
|
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30416
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I36c65a8c725c4da76dc70006cd96b0a2b6878e84
Gerrit-Change-Number: 30416
Gerrit-PatchSet: 15
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 11 Dec 2022 11:42:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment