[dpdk-dev] [PATCH v5 6/6] eal: ignore messages until init is complete

Burakov, Anatoly anatoly.burakov at intel.com
Mon Mar 12 09:58:00 CET 2018


On 12-Mar-18 1:42 AM, Tan, Jianfeng wrote:
> 
> On 3/8/2018 12:56 AM, Anatoly Burakov wrote:
>> If we receive messages that don't have a callback registered for
>> them, and we haven't finished initialization yet, it can be reasonably
>> inferred that we shouldn't have gotten the message in the first
>> place. Therefore, send requester a special message telling them to
>> ignore response to this request, as if this process wasn't there.
> 
> Two nits:
> - I think we could add a note in commit log that "it only applies to 
> primary to secondary request".
> - To make the change more simple, maybe we can just put a declaration of 
> function mp_send.
> 
>> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
> Acked-by: Jianfeng Tan <jianfeng.tan at intel.com>
> 

Makes sense, will do for v6. Thanks for the reviews!


-- 
Thanks,
Anatoly


More information about the dev mailing list