Attention is currently required from: laforge, daniel, lynxis lazus.
Hello Jenkins Builder, daniel, lynxis lazus,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/31069
to look at the new patch set (#5).
Change subject: gprs_ns2_fr: use osmo_netdev to monitor and operate network device
......................................................................
gprs_ns2_fr: use osmo_netdev to monitor and operate network device
As a result libosmogb doesn't depend directly on libmnl anymore, but
through libosmocore.
Change-Id: Ib0e499e09c50135a5c4a361332d6120f660a1a45
---
M src/core/netdev.c
M src/gb/Makefile.am
M src/gb/gprs_ns2_fr.c
M src/gb/gprs_ns2_internal.h
M tests/Makefile.am
5 files changed, 65 insertions(+), 141 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/31069/5
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31069
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ib0e499e09c50135a5c4a361332d6120f660a1a45
Gerrit-Change-Number: 31069
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge, daniel, lynxis lazus.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31069 )
Change subject: gprs_ns2_fr: use osmo_netdev to montior and operate network device
......................................................................
Patch Set 4:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31069
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ib0e499e09c50135a5c4a361332d6120f660a1a45
Gerrit-Change-Number: 31069
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:53:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/31073 )
Change subject: Increased the size of the FIFO/RIFO to 1600 frames (instead of 800) and changed the RIFO tests in such a manner that they do not hardcode the FIFO/RIFO size.
......................................................................
Patch Set 1:
(6 comments)
File tests/rifo/rifo_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/3ab315ab_729e15fd
PS1, Line 18: (((int) (depth)) - (FRAMES_PER_FIFO - 1)))
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/1ce9c4f8_b8aea8ee
PS1, Line 18: (((int) (depth)) - (FRAMES_PER_FIFO - 1)))
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/5d539fe1_9ab164fa
PS1, Line 18: (((int) (depth)) - (FRAMES_PER_FIFO - 1)))
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/6bf6201c_8bdeb960
PS1, Line 20: ("FRAMES_PER_FIFO - 1 + "))
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/481811d6_bfe652be
PS1, Line 20: ("FRAMES_PER_FIFO - 1 + "))
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3019):
https://gerrit.osmocom.org/c/osmo-e1d/+/31073/comment/8c45f9db_aa0a1e2f
PS1, Line 20: ("FRAMES_PER_FIFO - 1 + "))
please, no spaces at the start of a line
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/31073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Iebfe10aaf5244901c6ac0f4f84ac75e7947b57b8
Gerrit-Change-Number: 31073
Gerrit-PatchSet: 1
Gerrit-Owner: Christoph Lauter <christoph.lauter(a)christoph-lauter.org>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:43:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31071 )
Change subject: netdev: Fix compilation building with --disable-libmnl
......................................................................
Patch Set 2:
(1 comment)
File src/core/netdev.c:
https://gerrit.osmocom.org/c/libosmocore/+/31071/comment/9575831b_218ae49c
PS1, Line 845:
> Now yes, but I'd need to do that anyway for instance if an ioctl() based implementation is added (I […]
Understood
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31071
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I62bdea075afb9e0cc2bbcec6dd3a930e8f7bbc40
Gerrit-Change-Number: 31071
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:28:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: daniel.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31071 )
Change subject: netdev: Fix compilation building with --disable-libmnl
......................................................................
Patch Set 2:
(1 comment)
File src/core/netdev.c:
https://gerrit.osmocom.org/c/libosmocore/+/31071/comment/c5d72226_a61b181c
PS1, Line 845:
> But you're only doing the netns enter/exit to (not) call the mnl function? […]
Now yes, but I'd need to do that anyway for instance if an ioctl() based implementation is added (I even already had an ioctl() function in a previous patch adding osmo_netdev).
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31071
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I62bdea075afb9e0cc2bbcec6dd3a930e8f7bbc40
Gerrit-Change-Number: 31071
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:20:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: comment
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31072 )
Change subject: configure --enable-libmnl: Add libmnl to libosmocore.pc.in Requires
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
The data types are exported publicly in struct osmo_mnl, hence the libmnl APIs may be used by apps using libosmocore. That's why I didn't add it to the .private one.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31072
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I8ad8418ada95e79bb6079f34c6b57817c6f6ab11
Gerrit-Change-Number: 31072
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:19:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31071 )
Change subject: netdev: Fix compilation building with --disable-libmnl
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File src/core/netdev.c:
https://gerrit.osmocom.org/c/libosmocore/+/31071/comment/8630c8d1_68ce5e43
PS1, Line 845:
> I would prefer to keep them below, since the netns stuff is totally orthogonal to using ioctl or lib […]
But you're only doing the netns enter/exit to (not) call the mnl function?
In any case fine with me.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31071
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I62bdea075afb9e0cc2bbcec6dd3a930e8f7bbc40
Gerrit-Change-Number: 31071
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:18:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: comment