Re: [External] Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-08 Thread 王志宏
Done. Thanks :) From: "David Marchand" Date: Thu, Jun 8, 2023, 04:21 Subject: [External] Re: [PATCH] eal/linux: register mp hotplug callback after memory init To: "Zhihong Wang" Cc: , , Hello Zhihong, On Wed, May 31, 2023 at 8:55 AM Zhihong Wang wrote: > > Seconda

Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-07 Thread David Marchand
Hello Zhihong, On Wed, May 31, 2023 at 8:55 AM Zhihong Wang wrote: > > Secondary would crash if it tries to handle mp requests before memory > init, since globals such as eth_dev_shared_data_lock are not accessible > to it at this moment. Can you please resend this patch with a SoB ? Thanks. --

Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-02 Thread Burakov, Anatoly
On 5/31/2023 7:55 AM, Zhihong Wang wrote: Secondary would crash if it tries to handle mp requests before memory init, since globals such as eth_dev_shared_data_lock are not accessible to it at this moment. --- Acked-by: Anatoly Burakov -- Thanks, Anatoly

Re: [External] Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-02 Thread Burakov, Anatoly
On 6/2/2023 4:33 AM, 王志宏 wrote: Apologize that I have to go directly to function names to explain :)   - rte_eal_intr_init creates eal_intr_thread_main which starts eal_intr_handle_interrupts   - rte_mp_channel_init creates mp_handle which processes messages registered by rte_mp_action_regist

Re: [External] Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-01 Thread 王志宏
un 1, 2023, 20:26 Subject: [External] Re: [PATCH] eal/linux: register mp hotplug callback after memory init To: "Zhihong Wang", , < qi.z.zh...@intel.com> On 5/31/2023 7:55 AM, Zhihong Wang wrote: > Secondary would crash if it tries to handle mp requests before memory

Re: [PATCH] eal/linux: register mp hotplug callback after memory init

2023-06-01 Thread Burakov, Anatoly
On 5/31/2023 7:55 AM, Zhihong Wang wrote: Secondary would crash if it tries to handle mp requests before memory init, since globals such as eth_dev_shared_data_lock are not accessible to it at this moment. --- Please correct me if I'm wrong, but if init is not completed, none of the IPC stuff

[PATCH] eal/linux: register mp hotplug callback after memory init

2023-05-30 Thread Zhihong Wang
Secondary would crash if it tries to handle mp requests before memory init, since globals such as eth_dev_shared_data_lock are not accessible to it at this moment. --- lib/eal/linux/eal.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/eal/linux/eal.c b/lib/eal