Re: [dpdk-dev] [PATCH v4 7/9] eal: add lcore init callbacks

2020-06-30 Thread Olivier Matz
On Fri, Jun 26, 2020 at 04:47:34PM +0200, David Marchand wrote: > 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 2 more minor comm

Re: [dpdk-dev] [PATCH v4 7/9] eal: add lcore init callbacks

2020-06-30 Thread Olivier Matz
On Fri, Jun 26, 2020 at 04:47:34PM +0200, David Marchand wrote: > 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 [...] > +/** > +

Re: [dpdk-dev] [PATCH v4 7/9] eal: add lcore init callbacks

2020-06-29 Thread Ananyev, Konstantin
> diff --git a/lib/librte_eal/common/eal_common_lcore.c > b/lib/librte_eal/common/eal_common_lcore.c > index a61824a779..52c46a4cea 100644 > --- a/lib/librte_eal/common/eal_common_lcore.c > +++ b/lib/librte_eal/common/eal_common_lcore.c > @@ -224,11 +224,114 @@ rte_socket_id_by_idx(unsigned in

[dpdk-dev] [PATCH v4 7/9] eal: add lcore init callbacks

2020-06-26 Thread David Marchand
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 --- Changes since v2: - added missing test, - fixed rollback on lcore register, Changes sin