diff options
author | Florin Coras <fcoras@cisco.com> | 2018-07-11 16:35:38 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-07-18 18:54:07 +0000 |
commit | e91bdb3783653b34c1bbf9738a739e646d02f533 (patch) | |
tree | 8472b991b10c3843cf0ac8245a7852ad4851fcfa /src/svm/message_queue.h | |
parent | 19668e8a3984aec0e91811696e8b4194e3019cb3 (diff) |
svm: make message queue more compact
Change-Id: Id45957163c2b95a2300a8ac9104fc92b9cc928ed
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/message_queue.h')
-rw-r--r-- | src/svm/message_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svm/message_queue.h b/src/svm/message_queue.h index 5ff0c4be103..e4a5f07d480 100644 --- a/src/svm/message_queue.h +++ b/src/svm/message_queue.h @@ -32,13 +32,13 @@ typedef struct svm_msg_q_ring_ volatile u32 tail; /**< current tail (for enqueue) */ u32 elsize; /**< size of an element */ u8 *data; /**< chunk of memory for msg data */ -} svm_msg_q_ring_t; +} __clib_packed svm_msg_q_ring_t; typedef struct svm_msg_q_ { svm_queue_t *q; /**< queue for exchanging messages */ svm_msg_q_ring_t *rings; /**< rings with message data*/ -} svm_msg_q_t; +} __clib_packed svm_msg_q_t; typedef struct svm_msg_q_ring_cfg_ { |