mem: provide thread-unsafe contig walk variant
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 12 Jun 2018 09:46:14 +0000 (10:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 09:20:06 +0000 (11:20 +0200)
commitb917147601ea4b890f8331c42a13df3cda8d187d
treea7194d8b9271cc1e141a80f7553ee044ffc48581
parent76480e38856e70345b473efbf28a1ef453e33a4b
mem: provide thread-unsafe contig walk variant

Sometimes, user code needs to walk memseg list while being inside
a memory-related callback. Rather than making everyone copy around
the same iteration code and depending on DPDK internals, provide an
official way to do memseg_contig_walk() inside callbacks.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/common/include/rte_memory.h
lib/librte_eal/rte_eal_version.map