If a vec header had better be aligned at 8 byte boundary,
currently _vec_resize_inline( ) can't guarantee the vec header is aligned as
no alignment requirement of vec header is input into this function.

For example,  when a hash is created, the hash vector (hash_pair_t) is aligned 
at
8 byte boundary,  but the hash_header often is only aligned at 4 byte boundary 
not 8 byte boundary.
hash_header(void *v)  let hash_header be 68 bytes ahead of hash vector .



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10510): https://lists.fd.io/g/vpp-dev/message/10510
Mute This Topic: https://lists.fd.io/mt/25719963/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to