From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9A26CA00C2 for ; Tue, 1 Nov 2022 20:32:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FB8D40693; Tue, 1 Nov 2022 20:32:40 +0100 (CET) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id D17C540223 for ; Tue, 1 Nov 2022 20:32:38 +0100 (CET) Received: by mail-pl1-f171.google.com with SMTP id j12so14509821plj.5 for ; Tue, 01 Nov 2022 12:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=YxfDBB0DFmDmT1MU4aM6d461duuZ436sHx+Z8oupzFY=; b=iBEays1m95/kuEjRvm9KDWvxmKn71dKoV82EoFVp74ljUR5LTq3lCBo10skBcTSz0o KBbG7O1KOt7tfQg2r06PzsAKjlcB7lNufax1Ou1aCkUHUqx+JMp3RxL1uQANtKqQPvD7 LtmoyZCvxZCEVOSQIGFtDB10pJ9cfi1f8Bn+7UqscifK9DACW8EQXA5yO8IaS52fxzFC o2Kk6P9Vq48BBECzJ4UzafTYZ/Xognx3xlMvau6HjQp1wq9SzYkL+Ljdcrwvq6APiWwh JEUgD5RCajBvT2DqsLTXbyqHbkJvHnFOGpdlwW7Ql0AFUoALIdzKwAi6CjLrBLeb8MLy jZxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YxfDBB0DFmDmT1MU4aM6d461duuZ436sHx+Z8oupzFY=; b=pp/mqt6MWzcWYcMH1w6uqVoZ+2O3ijqrd5sATHf3AjMClAe/uijT7KInuDVP2+gaoq ra+puPlIp7aRl6sGz+5Xrfyg/HIw/l+TmwUElgCuiQOPI1IlDKP26eCv4erex5GwMr9t eJDY5atrcrp6tJ9QNwAd4NtxyR984tNXC9ITfk4Zls7fN5KxY50d4NUHhLZS2x4QvHMm yRzDdVzOxyWK6JrwLzLRjaJtyBBMAn2jILUfpb5Tmy1I+7VHKiEtQq8Wh13a4gVRE1JD TF5O5/JeD1yVsA7zEOl+D4KtoLogUhrtedNyfU+bKHMYgfZEkIsNNkJ9td1nlFOcnoQJ QfEA== X-Gm-Message-State: ACrzQf2lNNTH12fA/4/m4MF7+LsAgKFB+K7C6qTXyb71uQE6lj2YFSUq 8YnFBMsXGvZJ2egGOGTD6OXq+g== X-Google-Smtp-Source: AMsMyM6Z2nzRMolbPQp3FWRA2Hw4CE/NmG/4jEE2iuFeYh1DrPPFQ2aXVncheesDSkqcGrEhBelrMQ== X-Received: by 2002:a17:902:dac5:b0:187:411c:4f1a with SMTP id q5-20020a170902dac500b00187411c4f1amr1799524plx.129.1667331157786; Tue, 01 Nov 2022 12:32:37 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a17090abf8700b00212e5068e17sm6300738pjs.40.2022.11.01.12.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 12:32:37 -0700 (PDT) Date: Tue, 1 Nov 2022 12:32:35 -0700 From: Stephen Hemminger To: Ivan Malov Cc: dev@dpdk.org, "Jiang, YuX" , Chas Williams , "Min Hu (Connor)" , "Burakov, Anatoly" , stable@dpdk.org, Andrew Rybchenko Subject: Re: [PATCH] net/bonding: fix device configure reentrancy Message-ID: <20221101123235.7d321376@hermes.local> In-Reply-To: <20221101161853.2702425-1-ivan.malov@oktetlabs.ru> References: <20221101161853.2702425-1-ivan.malov@oktetlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Tue, 1 Nov 2022 19:18:53 +0300 Ivan Malov wrote: > diff --git a/drivers/net/bonding/eth_bond_private.h b/drivers/net/bonding/eth_bond_private.h > index d067ea8c9a..7171516d0d 100644 > --- a/drivers/net/bonding/eth_bond_private.h > +++ b/drivers/net/bonding/eth_bond_private.h > @@ -184,6 +184,8 @@ struct bond_dev_private { > > void *vlan_filter_bmpmem; /* enabled vlan filter bitmap */ > struct rte_bitmap *vlan_filter_bmp; > + > + bool kvargs_processing_is_done; > }; Minor nit: why not use existing hole in data structure after slave_update_idx?