This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15979 )
Change subject: WIP
......................................................................
WIP
Change-Id: I5eb4c5fceeb902930c94f390dd5fc949f0d0bf04
---
M src/xua_as_fsm.c
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/79/15979/1
diff --git a/src/xua_as_fsm.c b/src/xua_as_fsm.c
index cf75ef3..2c38843 100644
--- a/src/xua_as_fsm.c
+++ b/src/xua_as_fsm.c
@@ -95,14 +95,16 @@
first_idx = (as->cfg.last_asp_idx_sent + 1) % ARRAY_SIZE(as->cfg.asps);
i = first_idx;
+ LOGPFSM(as->fi, "tx loadshare: first_idx=%u/%lu\n", first_idx, ARRAY_SIZE(as->cfg.asps));
do {
+ LOGPFSM(as->fi, "tx loadshare: checking asp %u: %p\n", i, as->cfg.asps[i]);
asp = as->cfg.asps[i];
if (asp)
break;
i = (i + 1) % ARRAY_SIZE(as->cfg.asps);
} while (i != first_idx);
as->cfg.last_asp_idx_sent = i;
-
+ LOGPFSM(as->fi, "tx loadshare: returning asp %u: %p\n", i, as->cfg.asps[i]);
return asp;
}
@@ -111,6 +113,8 @@
{
struct osmo_ss7_asp *asp = NULL;
+ LOGPFSM(as->fi, "Tx using traffic mode %s\n", osmo_ss7_as_traffic_mode_name(as->cfg.mode));
+
switch (as->cfg.mode) {
case OSMO_SS7_AS_TMOD_OVERRIDE:
asp = xua_as_select_asp_override(as);
@@ -132,7 +136,7 @@
msgb_free(msg);
return -1;
}
-
+ LOGPASP(asp, DLSS7, LOGL_ERROR, "selected for transmission\n");
return osmo_ss7_asp_send(asp, msg);
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15979
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I5eb4c5fceeb902930c94f390dd5fc949f0d0bf04
Gerrit-Change-Number: 15979
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191105/dcd973c3/attachment.htm>