That should be corrected to:

Users may specify the alignment for first data element via the vec*_aligned 
macros.

Other elementa will be alligned only is data structure is alligned, i.e. By 
CLIB_CACHELINE_ALIGN_MARK(...) macro...

— 
Damjan

> On Dec 12, 2018, at 2:04 PM, Mohammed Alshohayeb <moshoha...@gmail.com> wrote:
> 
> Hello everyone,
> 
> From what I understand and see that the vec_*_aligned restriction is for the 
> vector hdr/userhdr not the individual elements, however, this page says
> 
> Typically, the user header is not present. User headers allow for other data 
> structures to be built atop vppinfra vectors. Users may specify the alignment 
> for data elements via the vec*_aligned macros.
> 
> Am i correct in my assumption?
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11587): https://lists.fd.io/g/vpp-dev/message/11587
> Mute This Topic: https://lists.fd.io/mt/28735587/675642
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11588): https://lists.fd.io/g/vpp-dev/message/11588
Mute This Topic: https://lists.fd.io/mt/28735587/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