summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/stream_session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-08-14 22:33:41 -0700
committerDave Barach <openvpp@barachs.net>2017-08-16 13:28:27 +0000
commit0e9c33bb5fef22be4db350a33bef1f7534123b04 (patch)
treedc880008afc5783c421822d5d283da270dd5d8dd /src/vnet/session/stream_session.h
parent4f80b81d4a7ab537b7a6ede88abed26f278c0f26 (diff)
tcp: improve builtin http server
Additionally: - remove opaques from stream_session_t - ensure first segment manager is only used once per app. Change-Id: I143d1fdb8effc88815ef969b78122ba3ac29e06e Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/stream_session.h')
-rw-r--r--src/vnet/session/stream_session.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vnet/session/stream_session.h b/src/vnet/session/stream_session.h
index 39bf846aca7..533cf97fef9 100644
--- a/src/vnet/session/stream_session.h
+++ b/src/vnet/session/stream_session.h
@@ -63,9 +63,6 @@ typedef struct _stream_session_t
/** To avoid n**2 "one event per frame" check */
u8 enqueue_epoch;
- /** Pad to a multiple of 8 octets */
- u8 align_pad[4];
-
/** svm segment index where fifos were allocated */
u32 svm_segment_index;
@@ -81,10 +78,7 @@ typedef struct _stream_session_t
/** Parent listener session if the result of an accept */
u32 listener_index;
- u32 opaque2;
-
- /** Opaque, pad to a 64-octet boundary */
- u64 opaque[1];
+ CLIB_CACHE_LINE_ALIGN_MARK (pad);
} stream_session_t;
#endif /* SRC_VNET_SESSION_STREAM_SESSION_H_ */