DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Zhihong Wang <wangzhihong.wzh@bytedance.com>, <dev@dpdk.org>,
	<qi.z.zhang@intel.com>
Subject: Re: [PATCH] eal/linux: register mp hotplug callback after memory init
Date: Thu, 1 Jun 2023 13:26:04 +0100	[thread overview]
Message-ID: <76dfde52-62ab-5497-194c-c49f6a4cc95c@intel.com> (raw)
In-Reply-To: <20230531065506.63021-1-wangzhihong.wzh@bytedance.com>

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 is initialized either, and any hotplug requests would not 
trigger any callbacks in the first place?
-- 
Thanks,
Anatoly


  reply	other threads:[~2023-06-01 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31  6:55 Zhihong Wang
2023-06-01 12:26 ` Burakov, Anatoly [this message]
2023-06-02  3:33   ` [External] " 王志宏
2023-06-02 13:10     ` Burakov, Anatoly
2023-06-02 13:10 ` Burakov, Anatoly
2023-06-07 20:21 ` David Marchand
2023-06-08  7:29   ` [External] " 王志宏
2023-06-08  7:25 ` [PATCH v2] " Zhihong Wang
2023-06-08  8:08   ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76dfde52-62ab-5497-194c-c49f6a4cc95c@intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=wangzhihong.wzh@bytedance.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).