Re: [lng-odp] New API to convert user area ptr to odp_packet_t

2017-12-09 Thread Bill Fischofer
We certainly should have this discussion, however I believe what VPP really wants is the ability to associate a managed prefix with packets, as this is how the VLIB buffer is currently being used. ODP packets have the notion of a configurable headroom area that precedes and is contiguous with the

Re: [lng-odp] New API to convert user area ptr to odp_packet_t

2017-12-09 Thread Maxim Uvarov
I did not understand one moment there. What I understand is: 1. you created pool with some size of meta data. 2. you get or alloc packet and send it to VPP. 3. VPP returns back pointer to user data. Why you can not place packet handle inside user area then? Is it cache line problem? If VPP alloc

Re: [lng-odp] New API to convert user area ptr to odp_packet_t

2017-12-09 Thread Francois Ozog
I'd like to have SoC vendors feedback on the discussion and on the following: This ODP user area is used by VPP to put a vlib_buffer information. VPP is just one of the applications that will use this simple mechanism and that is certainly a design pattern. A user area can exist when an odp packe