Attention is currently required from: pespin. jolly has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667?usp=email ) Change subject: Add Cisco like DSCP configuration support ...................................................................... Patch Set 3: (8 comments) File src/ss7_asp_vty.c: https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/050d452a_69d7f9... : PS1, Line 423: asp->cfg.ip_dscp = 0;
Ok fine, but since here you are resetting ip_dscp, I think it's a good idea to if (asp->cfg. […] Done
File src/ss7_asp_vty.c: https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/7fac4c0f_00029b... : PS3, Line 440: ss7_asp_apply_ip_dscp(asp);
btw, it may make sense to rename this "ss7_asp_apply_ip_dscp" into "ss7_asp_apply_qos_class()" Done
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/236829c3_818e46... : PS3, Line 467:
Better keep the qos-class commands in this place rather than above, to follow the order in ss7_vty_i […] Done
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/82a15355_d77d1c... : PS3, Line 1458: if (asp->cfg.ip_dscp != 0)
you can use "else if" here, to denote explicitly that ip-dscp can only be >0 if qos_class is not set […] Done
File src/ss7_xua_srv.c: https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/e4ca32d2_6389fc... : PS3, Line 417: else
logic changed here, missing "if (xs->cfg.ip_dscp != 0)". […] Done
File src/ss7_xua_srv_vty.c: https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/f30af080_165227... : PS3, Line 152: DEFUN_ATTR(xua_qos_class, xua_qos_class_cmd,
Move these further below to match ss7_vty_init_node_oxs() order. Done
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/482d898f_2f41d0... : PS3, Line 289: if (xs->cfg.ip_dscp)
else if Done
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667/comment/b977587b_b33858... : PS3, Line 407: install_lib_element(L_CS7_XUA_NODE, &xua_qos_class_cmd);
Move this below init_ip_dscp, as in the asp vty case. Done
-- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43667?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: Ic346698fc63771d95e474aec53ffb6c776636b3b Gerrit-Change-Number: 43667 Gerrit-PatchSet: 3 Gerrit-Owner: jolly <andreas@eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: pespin <pespin@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Comment-Date: Mon, 21 Sep 2026 09:23:03 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: jolly <andreas@eversberg.eu> Comment-In-Reply-To: pespin <pespin@sysmocom.de>