David Marchand 5c307ba2a5 eal: register non-EAL threads as lcores
DPDK allows calling some part of its API from a non-EAL thread but this
has some limitations.
OVS (and other applications) has its own thread management but still
want to avoid such limitations by hacking RTE_PER_LCORE(_lcore_id) and
faking EAL threads potentially unknown of some DPDK component.

Introduce a new API to register non-EAL thread and associate them to a
free lcore with a new NON_EAL role.
This role denotes lcores that do not run DPDK mainloop and as such
prevents use of rte_eal_wait_lcore() and consorts.

Multiprocess is not supported as the need for cohabitation with this new
feature is unclear at the moment.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-07-08 14:41:05 +02:00
..
2020-05-05 23:46:21 +02:00
2019-11-15 11:36:27 +01:00
2019-07-19 14:17:11 +02:00
2020-05-05 23:46:21 +02:00
2020-07-07 00:24:38 +02:00
2020-02-05 15:29:59 +01:00
2019-05-04 23:39:23 +02:00
2020-05-18 18:14:21 +02:00
2018-12-19 01:25:56 +01:00
2020-07-07 00:24:38 +02:00
2020-04-21 12:52:55 +02:00
2019-01-20 13:08:50 +01:00