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 D55A3426E1; Sat, 7 Oct 2023 17:49:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F7804029C; Sat, 7 Oct 2023 17:49:41 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id A93DC40293 for ; Sat, 7 Oct 2023 17:49:39 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-278f0f565e2so2042507a91.2 for ; Sat, 07 Oct 2023 08:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1696693778; x=1697298578; darn=dpdk.org; 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=I+n6K2bAseJ9aELBPDp/MiIBbc5njswwdv2zbF6vzGU=; b=OE8SpAoHBjfMQIa/8gvV38ERdHsj4XlihtgD0sGvVnSlzFjdRxuTBHU44eAQ5MmNyY OxmNPacaDR9iKCzg21VhJfmOpwsTE5VPKiRMX2S7Bbovjc/1ZyCf5OQMbx8XBqFhrxFy O84eaQZoKfmepIZgPp3yV/m/Nl/Qu2A0tMLqpo4zovo2si2wmqY8fV4iPc8JKwCvLbzl qxbu1/VKaod5GBOPZKna8blrdBOB3gOqtpG7FOuwp/zRbOGJDKBqRBSqzbIxQ4lpmb/Q ieyYbtQBJadkdC3E90XOR4lTlJjLe3j4pC2dwx13cjU9HlJBfnAfvuC4VfmefuhWvLck VzRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696693778; x=1697298578; 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=I+n6K2bAseJ9aELBPDp/MiIBbc5njswwdv2zbF6vzGU=; b=bOYqWcTEVyrA0sOErvmR05CTE0BG6Xbf8twJvhVfPG+BVYUhYvwgHcwNr+2UM5/9N5 GG3cZkU8JTg4tEEwmXpQ/kRQ00FOyuqYa9PZ9ZDaaqI2wAc5O9wfxXwVmoQ+9ebAslSH DzVMgPPZ8Dqx2tQo7BT7qOIrwZ9IYRZeyteherV7jMbVGVpvUv5YdAh5t+IpUd+DOE4p VJmPbn+3dKwNGyCEIQo4zjA4bMJufBaHuIda/mPrdiWQEvTbvVrFr0gkhCprYASYvLqh pvl7ZQDd5DbhtEhHiM//j8dozGNBLofCDfjGuXFzeiNYow5kq8kLICybRlZrN8SHE3v6 gr2w== X-Gm-Message-State: AOJu0YzC9OJno8iN8T9KXte/vQxy0sSmuj9JXUGoKYl/zke92CuxBLrq N87h+Z2g9Xu4PpiaViwQLlKtXy6BYyoP9kU3cbc= X-Google-Smtp-Source: AGHT+IFRtXT0Ud+Gw5VsjnJKbtJ6/8s1AEKne6uSNfB/kuldioHeppsQS1PE1beCH9jo7PZbD/3HsA== X-Received: by 2002:a17:90a:d496:b0:274:6ab9:9d38 with SMTP id s22-20020a17090ad49600b002746ab99d38mr9832694pju.36.1696693778512; Sat, 07 Oct 2023 08:49:38 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 30-20020a17090a001e00b002791d5a3e29sm5753036pja.6.2023.10.07.08.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 08:49:38 -0700 (PDT) Date: Sat, 7 Oct 2023 08:49:36 -0700 From: Stephen Hemminger To: Chaoyong He Cc: dev@dpdk.org, oss-drivers@corigine.com, Long Wu , James Hershaw Subject: Re: [PATCH v2 1/8] ethdev: add member notification for bonding port Message-ID: <20231007084936.48ca7161@hermes.local> In-Reply-To: <20231007013440.1309422-2-chaoyong.he@corigine.com> References: <20231005024012.1279810-1-chaoyong.he@corigine.com> <20231007013440.1309422-1-chaoyong.he@corigine.com> <20231007013440.1309422-2-chaoyong.he@corigine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, 7 Oct 2023 09:34:33 +0800 Chaoyong He wrote: > diff --git a/drivers/net/bonding/eth_bond_private.h b/drivers/net/bonding/eth_bond_private.h > index e688894210..1344f8c002 100644 > --- a/drivers/net/bonding/eth_bond_private.h > +++ b/drivers/net/bonding/eth_bond_private.h > @@ -186,6 +186,8 @@ struct bond_dev_private { > > void *vlan_filter_bmpmem; /* enabled vlan filter bitmap */ > struct rte_bitmap *vlan_filter_bmp; > + > + bool notify_member; /**< Enable member notification of bonding port. */ > }; > > extern const struct eth_dev_ops default_dev_ops; There are holes in existing data structure, use one of them for your new flag.