eal: add lcore init callbacks
authorDavid Marchand <david.marchand@redhat.com>
Mon, 6 Jul 2020 20:52:31 +0000 (22:52 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 8 Jul 2020 12:41:06 +0000 (14:41 +0200)
commit61bb531295a43b9c8e207fef899365539c12975c
treed0c80ddb8cd7cd8482301174a534213d40e5a4cc
parent5c307ba2a5b14abb70dcc80a1283ba5a128262d9
eal: add lcore init callbacks

DPDK components and applications can have their say when a new lcore is
initialized. For this, they can register a callback for initializing and
releasing their private data.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test/test_lcores.c
lib/librte_eal/common/eal_common_lcore.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/include/rte_lcore.h
lib/librte_eal/rte_eal_version.map