Hello Genis,
this config.h is platform settings and limitation. Every platform
developer sets his own limits according to his hardware possibility. So
it's not intended to
be edited by application developer.
What is your use case? Maybe it's possible to do what you need with
other odp api?
Thank you,
Maxim.
On 07/13/15 14:00, Genis Riera 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] <mailto:[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