Submitted patch 2 to [1] updating the doxygen tag in .../src/vppinfra/vec.h

Thanks,
-daw-

On 12/13/2018 3:06 PM, Dave Barach (dbarach) wrote:

Thanks for this one... If you can spare the time, please fix the doxygen tag / comment in .../src/vppinfra/vec.h...

*From:* vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> *On Behalf Of *Dave Wallace
*Sent:* Thursday, December 13, 2018 12:33 PM
*To:* dmar...@me.com; Mohammed Alshohayeb <moshoha...@gmail.com>
*Cc:* vpp-dev@lists.fd.io
*Subject:* Re: [vpp-dev] vppinfra vec alignment

I have submitted a patch [1] to update the documentation per this email thread.

Thanks,
-daw-

[1] https://gerrit.fd.io/r/16467

On 12/12/2018 4:54 PM, Damjan Marion via Lists.Fd.Io wrote:

    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 <mailto: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
        
<https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/infrastructure.html>
 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
        <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
        <mailto:vpp-dev+ow...@lists.fd.io>
        Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
         [dmar...@me.com <mailto: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/675079

    Group Owner:vpp-dev+ow...@lists.fd.io  <mailto:vpp-dev+ow...@lists.fd.io>

    Unsubscribe:https://lists.fd.io/g/vpp-dev/unsub   [dwallac...@gmail.com  
<mailto:dwallac...@gmail.com>]

    -=-=-=-=-=-=-=-=-=-=-=-


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

View/Reply Online (#11608): https://lists.fd.io/g/vpp-dev/message/11608
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