Re: [dpdk-dev] [PATCH 7/7] eal: add lcore hotplug notifications

2020-06-15 Thread David Marchand
On Mon, Jun 15, 2020 at 8:34 AM Kinsella, Ray wrote: > > From ABI PoV, you are 100%. > > Is the agreed term 'callback'?, not 'notifier' for example > rte_dev_event_callback_register, rte_mem_event_callback_register > > I did wonder however, if all these cb's would be better handled through a >

Re: [dpdk-dev] [PATCH 7/7] eal: add lcore hotplug notifications

2020-06-14 Thread Kinsella, Ray
From ABIĀ  PoV, you are 100%. Is the agreed term 'callback'?, not 'notifier' for example rte_dev_event_callback_register, rte_mem_event_callback_register I did wonder however, if all these cb's would be better handled through a EventDev event notification style approach. Ray K On 10/06/2020 15

[dpdk-dev] [PATCH 7/7] eal: add lcore hotplug notifications

2020-06-10 Thread David Marchand
Now that lcores can be dynamically allocated/freed, we will have to notify DPDK components and applications of such events for cases where per lcore context must be allocated/initialised. Signed-off-by: David Marchand --- lib/librte_eal/common/eal_common_lcore.c | 91 +++ li