On 12/13/18 12:43 PM, Anatoly Burakov wrote:
If memfd support was not compiled, or hugepage memfd support
is not available at runtime, the API will now return proper
error code, indicating that this API is unsupported. This
changes the API, so document the changes.
Fixes: 41dbdb68723b ("mem: add external API to retrieve page fd")
Fixes: 3a44687139eb ("mem: allow querying offset into segment fd")
Cc: [email protected]
Signed-off-by: Anatoly Burakov <[email protected]>
Acked-by: Tiwei Bie <[email protected]>
---
Notes:
The API is experimental, no deprecation notice needed.
doc/guides/rel_notes/release_19_02.rst | 2 ++
lib/librte_eal/linuxapp/eal/eal_memalloc.c | 40 +++++++++++++++++-----
2 files changed, 34 insertions(+), 8 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime