Improve fifo allocator performance

- add option to preallocate fifos in a segment
- track active fifos with doubly linked list instead of vector
- update udp redirect test code to read fifo pointers from API call
  instead of digging them up from fifo segment header
- input-node based active-open session generator

Change-Id: I804b81e99d95f8690d17e12660c6645995e28a9a
Signed-off-by: Dave Barach <dave@barachs.net>
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Barach <dbarach@cisco.com>
This commit is contained in:
Dave Barach
2017-05-30 09:30:07 -04:00
committed by Florin Coras
parent 26261594a0
commit 10d8cc6bf9
21 changed files with 537 additions and 268 deletions

View File

@ -193,6 +193,9 @@ typedef struct
i32 vlib_signal;
/* vlib input queue length */
u32 vlib_input_queue_length;
/* client side message index hash table */
uword *msg_index_by_name_and_crc;