Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/28669 )
Change subject: trxcon: rework L1CTL socket API to support multiple clients
......................................................................
Patch Set 4:
(3 comments)
File src/host/trxcon/include/osmocom/bb/trxcon/l1ctl_link.h:
https://gerrit.osmocom.org/c/osmocom-bb/+/28669/comment/337bb71c_2a4b761a
PS4, Line 29: l1ctl_conn_data_func *conn_read_cb; /* mandatory */
> Did you think about adding an . […]
Done
https://gerrit.osmocom.org/c/osmocom-bb/+/28669/comment/1ec84f95_5b44ccda
PS4, Line 35: struct llist_head list;
> document where is this item added to. […]
Done
File src/host/trxcon/src/l1ctl_link.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/28669/comment/5c72b659_ed813453
PS4, Line 110: static int l1ctl_client_conn_accept(struct osmo_fd *sfd, unsigned int flags)
> this new function name is misleading imho. […]
To me it reads as "accept client connection".
l1ctl_server_conn_accept() also looks good to me...
Ok, I'll change to l1ctl_server_conn_cb(). It's a callback after all.
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/28669
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I1cfc49f36ead6e2ba0a6110b0fb65c55412ef5e3
Gerrit-Change-Number: 28669
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Jul 2022 18:40:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/28667 )
Change subject: trxcon: introduce and use struct 'trxcon_inst'
......................................................................
Patch Set 3:
(1 comment)
File src/host/trxcon/include/osmocom/bb/trxcon/trx_if.h:
https://gerrit.osmocom.org/c/osmocom-bb/+/28667/comment/ff01f83b_9ebf9341
PS3, Line 44: void *priv;
> where is priv set through API below? I can't see it.
Done
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/28667
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I23319951c56577085e1092669b5534f9d6bda48d
Gerrit-Change-Number: 28667
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Jul 2022 18:14:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-cbc/+/28702
to look at the new patch set (#2).
Change subject: Rename {cbsp,sbcap}_server(_fsm).h s/server/link/
......................................................................
Rename {cbsp,sbcap}_server(_fsm).h s/server/link/
Change-Id: I1e56dd1fcba23f6efd209e9d4dcdc88c8866d250
---
M include/osmocom/cbc/Makefile.am
R include/osmocom/cbc/cbsp_link.h
A include/osmocom/cbc/cbsp_link_fsm.h
D include/osmocom/cbc/cbsp_server_fsm.h
R include/osmocom/cbc/sbcap_link.h
A include/osmocom/cbc/sbcap_link_fsm.h
D include/osmocom/cbc/sbcap_server_fsm.h
M src/Makefile.am
M src/cbc_main.c
M src/cbc_peer.c
M src/cbc_vty.c
R src/cbsp_link.c
R src/cbsp_link_fsm.c
M src/message_handling.c
R src/sbcap_link.c
R src/sbcap_link_fsm.c
M src/sbcap_msg.c
M src/smscb_message_fsm.c
M src/smscb_peer_fsm.c
19 files changed, 170 insertions(+), 170 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/02/28702/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28702
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: I1e56dd1fcba23f6efd209e9d4dcdc88c8866d250
Gerrit-Change-Number: 28702
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hello Jenkins Builder, laforge, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-cbc/+/28700
to look at the new patch set (#4).
Change subject: Rename CBSP,SABP,SBcAP structs and APIs
......................................................................
Rename CBSP,SABP,SBcAP structs and APIs
Rename osmo_*_cbc -> cbc_*_mgr:
Now they only hold TCP/SCTP server related conns, but will also hold
TCP/SCTP client conns in the near future.
Rename osmo_cbc_*_client -> cbc_*_link:
The term "client" is confusing, since it doesn't exist in CBSP/SBcAP,
and will later support connecting to server at TCP/SCTP level.
Let's use "link" instead, similar to what's used in osmo-bsc which
already supports both TCP client and server modes.
Change-Id: Ia9d26dc1593c8ee08dce348fe9f5f4c9398ea2a5
---
M include/osmocom/cbc/cbc_peer.h
M include/osmocom/cbc/cbsp_server.h
M include/osmocom/cbc/sbcap_server.h
M src/cbc_main.c
M src/cbc_peer.c
M src/cbc_vty.c
M src/cbsp_server.c
M src/cbsp_server_fsm.c
M src/message_handling.c
M src/sbcap_server.c
M src/sbcap_server_fsm.c
M src/smscb_peer_fsm.c
12 files changed, 235 insertions(+), 235 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/00/28700/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28700
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Ia9d26dc1593c8ee08dce348fe9f5f4c9398ea2a5
Gerrit-Change-Number: 28700
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/28667 )
Change subject: trxcon: introduce and use struct 'trxcon_inst'
......................................................................
Patch Set 3:
(1 comment)
File src/host/trxcon/include/osmocom/bb/trxcon/trx_if.h:
https://gerrit.osmocom.org/c/osmocom-bb/+/28667/comment/fbe67fca_ee289e9e
PS3, Line 55: struct trx_instance *trx_if_open(struct trxcon_inst *trxcon,
> This is a bit strange. All functions here are called trx_if_* but receive a trxcon_inst as object. […]
This is done on purpose. The idea is to use 'struct trxcon_inst' as the glue between different components. Here the pointer is used as parent talloc context, plus we'll need trxcon->fi for allocating trx_fsm as a child of it.
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/28667
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I23319951c56577085e1092669b5534f9d6bda48d
Gerrit-Change-Number: 28667
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Jul 2022 18:03:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment