eal: add API to lock/unlock mempool list
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 5 Jul 2019 13:10:29 +0000 (14:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 20:31:39 +0000 (22:31 +0200)
commit119cee86cd4dd37cbdd09d8a5012bdb45103d202
tree274001659f9b6129b26dbec8737e418534a4fa3e
parenta36f5ce06eae4c49eb9bbeb64e64875250d5b028
eal: add API to lock/unlock mempool list

Currently, in order to lock access to the mempool list, a direct
access to the shared memory structure is needed. Add an API to do
the same, and search-and-replace all usages.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_mcfg.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/common/include/rte_eal_memconfig.h
lib/librte_eal/rte_eal_version.map
lib/librte_mempool/rte_mempool.c