Re: [dpdk-dev] [PATCH v3 7/9] mem: add external API to retrieve page fd from EAL

2018-09-14 Thread Maxime Coquelin
On 09/04/2018 05:15 PM, Anatoly Burakov wrote: Now that we can retrieve page fd's internally, we can expose it as an external API. This will add two flavors of API - thread-safe and non-thread-safe. Fix up internal API's to return values we need without modifying rte_errno internally if called

[dpdk-dev] [PATCH v3 7/9] mem: add external API to retrieve page fd from EAL

2018-09-04 Thread Anatoly Burakov
Now that we can retrieve page fd's internally, we can expose it as an external API. This will add two flavors of API - thread-safe and non-thread-safe. Fix up internal API's to return values we need without modifying rte_errno internally if called from within EAL. We do not want calling code to ac