Actually, the original proposal for this had these as part of the
odp_pool_param_t structure, however some platforms have difficulty
implementing varying headroom/tailroom on a per-pool basis.

But good to revisit this since we'd like to minimize use of odp_config.h in
preference to more dynamic APIs, so I'll add this to the agenda for this
week's call.

On Mon, Jul 13, 2015 at 6:00 AM, Genis Riera <[email protected]>
wrote:

> Hi all,
>
> I just wanted to propose an idea for extending the packet
> headromm/tailroom feature of ODP linux-generic platform.
>
> As far as I'm aware, the default values for initialize a packet
> headroom/tailroom can be found at config.h, and if someone wish to modify
> it, then ODP must be recompiled. Since I'm currently taking advantage of it
> to manage some metadata, I think would be interesting to provide some
> mechanism to set the packet headroom/tailrrom size when pool memory is
> initialized inside an application which uses ODP framework. For example,
> having a new parameter on odp_pool_params_t to set it up (when the pool is
> type of packet pool, of course). Does it make sense for you?
>
> So far, I haven't looked in detail the source code of linux-generic
> implementation, but if you think that this proposal is not too difficult to
> implement, I could try to do it. Furthermore, it would be a good way to get
> more involve in the ODP developement.
>
> Please, don't hesitate to make suggestions for this proposal. Does it make
> sense for you?
>
> Thank you so much for your support. Best regards,
>
> Genís Riera Pérez.
>
> Genís Riera Pérez
> Software Engineer at StarFlow Networks
> Edifici K2M, S103 c/ Jordi Girona 31
> 08034 Barcelona
>
> E-mail: [email protected]
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to