eal: add API to lock/unlock tailq list
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 5 Jul 2019 13:10:28 +0000 (14:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 20:13:23 +0000 (22:13 +0200)
commita36f5ce06eae4c49eb9bbeb64e64875250d5b028
treecbe6d969a1b001995a060bf50eab087f5de10ac7
parent76f80881ef1e14cce2c11020ca913ea5d7186cba
eal: add API to lock/unlock tailq list

Currently, locking/unlocking the TAILQ list requires direct
access to the shared memory config. 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>
20 files changed:
lib/librte_acl/rte_acl.c
lib/librte_distributor/rte_distributor.c
lib/librte_distributor/rte_distributor_v20.c
lib/librte_eal/common/eal_common_mcfg.c
lib/librte_eal/common/eal_common_tailqs.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_efd/rte_efd.c
lib/librte_eventdev/rte_event_ring.c
lib/librte_hash/rte_cuckoo_hash.c
lib/librte_hash/rte_fbk_hash.c
lib/librte_kni/rte_kni.c
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm6.c
lib/librte_member/rte_member.c
lib/librte_mempool/rte_mempool.c
lib/librte_reorder/rte_reorder.c
lib/librte_ring/rte_ring.c
lib/librte_stack/rte_stack.c