osmo-ggsn/tests/gtp
Pau Espin 0585769741 libgtp: Define retransmit QUEUE_SIZE relative to PDP_MAX (increase)
QUEUE_SIZE holds the number of pending transmitted messages
which can be handled concurrently.
Current value was 1024, same as PDP contexts (PDP_MAX). However, that
seems to be a quite low amount, which can be filled under certain
conditions, for instance if recovery procedure is triggered on the GSN
which is running full (around PDP_MAX pdp contexts created).
In this scenario, the GSN would need to send around PDP_MAX concurrent
messages (DeletePDPContextReq), which means the queue would very likely
end up being full.
Hence, let's define QUEUE_SIZE based on PDP_MAX, and set it to twice the
size to make sure it won't be filled in extreme conditions.

Change-Id: I6034b0fab2b2e5962314c2fca2f893246ce5cf4f
2022-03-01 12:39:08 +01:00
..
Makefile.am gtp: queue: Add unit test queue_test 2019-06-21 11:57:50 +02:00
gtpie_test.c tests: Replace deprecated API log_set_print_filename 2021-02-19 13:23:00 +01:00
gtpie_test.ok Add unit tests for libgtp gtpie.[ch] functions 2017-10-14 08:11:13 +02:00
queue_test.c tests: Replace deprecated API log_set_print_filename 2021-02-19 13:23:00 +01:00
queue_test.ok libgtp: Define retransmit QUEUE_SIZE relative to PDP_MAX (increase) 2022-03-01 12:39:08 +01:00