you need to set it on both sides: For VPP:
$ ccmake build-root/build-vpp-native/vpp and change PRE_DATA_SIZE to 256 or modify following line: src/vlib/CMakeLists.txt: set(PRE_DATA_SIZE 128 CACHE STRING "Buffer headroom size.”) For DPDK you should be able to build custom ext deps package: $ sudo dpkg -r vpp-ext-deps $ make install-ext-deps DPDK_PKTMBUF_HEADROOM=256 > On 14 Feb 2020, at 11:44, Mohamed feroz Abdul majeeth <feroz...@gmail.com> > wrote: > > 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 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15397): https://lists.fd.io/g/vpp-dev/message/15397 Mute This Topic: https://lists.fd.io/mt/71267509/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-