Hi,

I've noticed that a buffer allocated from a ODP_POOL_BUFFER type of pool doesn't have any means to store how much of the data there is actually used. You can see how big is the reserved area and at what address it starts, but no way to maintain this information. Packet buffers support that by odp_packet_(seg_)len and pushing/pulling tail and head. I know raw buffers are supposed to stay simple, but isn't this a little bit too simple?

Regards,

Zoltan
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to