diff options
author | Florin Coras <fcoras@cisco.com> | 2017-09-14 03:08:00 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-09-19 19:10:29 +0000 |
commit | 9d063047eb1a3738cb0fc9ebebb55793d155bb20 (patch) | |
tree | a5100d8f3224cde45c874c9f32a49434ed86a238 /src/svm/svm_fifo_segment.h | |
parent | caac350076e386e5caf6322a3439ea0c36d77cc5 (diff) |
session/tcp: improve preallocated segment handling
- add preallocated segment flag
- don't remove pre-allocated segments except if application detaches
- when preallocating fifos in multiple segments, completely fill
a segment before moving to the next
- detach server application from segment-managers when deleting app
- batch syn/syn-ack/fin (re)transmissions
- loosen up close-wait and time-wait times
Change-Id: I412f53ce601cc83b3acc26aeffd7fa2d52d73b03
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/svm_fifo_segment.h')
-rw-r--r-- | src/svm/svm_fifo_segment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/svm_fifo_segment.h b/src/svm/svm_fifo_segment.h index 7c97e9b489f..5b771328c6c 100644 --- a/src/svm/svm_fifo_segment.h +++ b/src/svm/svm_fifo_segment.h @@ -33,6 +33,7 @@ typedef enum #define FIFO_SEGMENT_F_IS_PRIVATE 1 << 0 /* Private segment */ #define FIFO_SEGMENT_F_IS_MAIN_HEAP 1 << 1 /* Segment is main heap */ +#define FIFO_SEGMENT_F_IS_PREALLOCATED 1 << 2 /* Segment is preallocated */ typedef struct { |