Hello,

I have a need to add some custom fields to the existing vlib_buffer metadata 
space i.e. opaque[10].
The new field is related to L2, so it makes logically sense to add it to the l2 
structure in vnet_buffer_opaque_t.

But it does not fit into the current real estate i.e. opaque[10]. So, I have 
increased it to opaque[12] in vlib_buffer_t.
No compilation failure, the functionality also looks fine so far.

Is it valid to increase the opaque[10] in vlib_buffer?
Is there any restriction based on cacheline ‘CLIB_CACHE_LINE_ALIGN_MARK 
(cacheline1);’ ?

Thanks,
Leela sankar
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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