VLIB headroom buffer size modfification


Mohamed feroz Abdul majeeth
 

Hi folks,

In FD.io vpp the default VLIB_BUFFER_PRE_DATA_SIZE data header room size is defined as 128.
And in dpdk also it is defined as 128 as we have encapsulation which goes beyond 128 bytes
the packet descriptor block is getting corrupted in the structure vlib_buffer_t as defined in vlib_buffer.h
 
how to increase the headroom buffer size to 256 bytes for both dpdk and vpp?
 
Thanks,
Feroz

Join vpp-dev@lists.fd.io to automatically receive all group messages.