[dpdk-dev] [PATCH v3 8/9] mem: allow querying offset into segment fd
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Sep 14 09:57:27 CEST 2018
On 09/04/2018 05:15 PM, Anatoly Burakov wrote:
> In a few cases, user may need to query offset into fd for a
> particular memory segment (for example, to selectively map
> pages). This commit adds a new API to do that.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>
> Notes:
> v3:
> - Fix single file segments mode not working
>
> lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 +++
> lib/librte_eal/common/eal_common_memory.c | 50 ++++++++++++++++++++++
> lib/librte_eal/common/eal_memalloc.h | 3 ++
> lib/librte_eal/common/include/rte_memory.h | 49 +++++++++++++++++++++
> lib/librte_eal/linuxapp/eal/eal_memalloc.c | 24 +++++++++++
> lib/librte_eal/rte_eal_version.map | 2 +
> 6 files changed, 134 insertions(+)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list