If without DPDK, is there any way to directly manipulate on a vlib_buffer_t
to prepend/trim packet?

Regards,
Hongbin

2017-04-19 11:18 GMT-07:00 Hongbin Li <[email protected]>:

> Hi, Florin and all,
>
> I am trying with vpp stable/1609 and would like to utilize native dpdk
> prepend/trim actions. In https://git.fd.io/vpp/tree/
> vlib/vlib/buffer.h?h=stable/1609 , there is a check "#if DPDK > 0" we
> need to turn on in order to make vpp compile with DPDK.
>
> my question is how can i turn DPDK on?
>
> steps i did to compile vpp:
>  - git clone --branch stable/1609 https://git.fd.io/vpp
>  - vpp/build-root/vagrant/build.sh
>
> Regards,
> Hongbin
>
> 2017-04-18 17:51 GMT-07:00 Florin Coras <[email protected]>:
>
>> Hi Hongbin,
>>
>> See the functions here: https://git.fd.io/vpp/tree/src/vlib/buffer.h#n259
>>
>> If they’re not enough, feel free to add more.
>>
>> Florin
>>
>> > On Apr 18, 2017, at 3:33 PM, Hongbin Li <[email protected]> wrote:
>> >
>> > Hello,
>> >
>> > I am evaluating vpp as a tool to conduct packet prepending / trimming.
>> >
>> > Is there any functions available in vpp to manipulate vlib_buffer_t,
>> just like rte_pktmbuf_prepend and rte_pktmbuf_trim in DPDK?
>> >
>> > Regards,
>> > Hongbin
>> > _______________________________________________
>> > vpp-dev mailing list
>> > [email protected]
>> > https://lists.fd.io/mailman/listinfo/vpp-dev
>>
>>
>
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to