Attention is currently required from: neels, pespin.
laforge 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: Code-Review+1

(3 comments)

File include/osmocom/pfcp/pfcp_msg.h:

https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/1d5c28ce_fe655651
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. […]
I would expect no constraint whatsoevre on the starting / initial value of the 
sequence number.  Basically every command must have a unique serial number so 
we can match responses to requests, and the receiver can distinguish 
re-transmission of a command (same seq) from a new command (different seq)


https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/ca80ed75_e149434f
PS3, Line 72:   (*seq_state) &= 0xffffff;
the interesting question is why we use a uint32_t variable if we only use 16 
bits of it?


https://gerrit.osmocom.org/c/osmo-upf/+/27631/comment/f78a1104_ebf16f72
PS3, Line 110:          struct osmo_fsm_inst *peer_fi;
> Looks like these 2 groups can be in a union?
peers and sessins are orthogonal concepts, why do you think a message is only 
either part of a session or related to a peer?  shouldn't it be both at the 
same time?



--
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 <nhofm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-CC: fixeria <vyanits...@sysmocom.de>
Gerrit-CC: pespin <pes...@sysmocom.de>
Gerrit-Attention: neels <nhofm...@sysmocom.de>
Gerrit-Attention: pespin <pes...@sysmocom.de>
Gerrit-Comment-Date: Tue, 05 Apr 2022 13:24:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pes...@sysmocom.de>
Gerrit-MessageType: comment

Reply via email to