numam-dpdk/lib/librte_eal/bsdapp
Anatoly Burakov 41dbdb6872 mem: add external API to retrieve page fd
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 accidentally close an internal fd, so
we make a duplicate of it before we return it to the user. Caller is
therefore responsible for closing this fd.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-09-19 14:48:04 +02:00
..
eal mem: add external API to retrieve page fd 2018-09-19 14:48:04 +02:00
BSDmakefile.meson eal/bsd: fix kernel modules build with meson 2018-02-02 11:28:52 +01:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00