diff options
author | Florin Coras <fcoras@cisco.com> | 2019-07-02 13:07:37 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-03 11:26:36 +0000 |
commit | eaacce4753c33342a6512039fe4153b15b476fb3 (patch) | |
tree | b7465c6da3970f28db0aca7ab92b12b3c7fbaa5d /src/vppinfra/warnings.h | |
parent | b5ef26d1ed524d1f2f59ffd5546d1c581f4c88a2 (diff) |
svm: fix multi-chunk fifo alloc and add more tests
Type: fix
- make sure that chunks and the rbtree are initialized if fifo segment
allocates multiple chunks for the fifo.
- ensure head/tail chunks are updated on all enqueue/dequeue events,
including when dropping data.
- more unit tests
Also fixes dequeue drop updates of head chunk.
Change-Id: I77f3550bc4e8b4e077f80ea87fe82b83ed013aeb
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vppinfra/warnings.h')
0 files changed, 0 insertions, 0 deletions