pre_data is not intended for that. It is headroom space which may be used
for outer headers in case of different tunnel encapsulation.

You can use opaque area in vlib_buffer_t....

-- 
Damjan

> On 21 Sep 2018, at 07:59, Prashant Upadhyaya <praupadhy...@gmail.com> wrote:
> 
> Hi,
> 
> I want to pass around some custom data between my plugins using vlib_buffer_t.
> I believe the pre_data field of 128 bytes can be used for this. (I use
> the DPDK plugin)
> 
> However, are there some best practices to use this field ? I ask this
> because I do see that some debug capabilities of VPP use this field
> and if I start using this field then it might interfere with those
> debug capabilties.
> 
> Regards
> -Prashant
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10594): https://lists.fd.io/g/vpp-dev/message/10594
> Mute This Topic: https://lists.fd.io/mt/25840898/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 (#10595): https://lists.fd.io/g/vpp-dev/message/10595
Mute This Topic: https://lists.fd.io/mt/25840898/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