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 E1CE5426E6; Sun, 8 Oct 2023 03:37:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74EC240263; Sun, 8 Oct 2023 03:37:24 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2116.outbound.protection.outlook.com [40.107.94.116]) by mails.dpdk.org (Postfix) with ESMTP id D96434021F for ; Sun, 8 Oct 2023 03:37:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dgcT2FZrilFm0duTuAHETy04vL8M4UNwRGmWo/1O+w4mSm7x84P7uyMXg9mPUL/+0NmoA6IRDnN71eY5E+mYwLXK2SFyMp0hJCMqskZID3U889Q9oUfWti0+TogXx6Ki9o8hP2f9ySzuodNk1cManVMp98IyOni/JngDCwy4FiJ4zJ/bl/es2DbEQLHWrX1M3DDZZMkI0yuXy4AmeM++EHlB72j+oObifKu8BjJfheIxCRW872fycsBJH4CVspyviNjxPcgrEQA9Rwjiv1IoQw/35aWG/adbnGzIxepTLV6Qp+tFrBdKQNqSmKAXW160xDoyiRL/eEUtKh3qiN6S8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/bz6Ldl7PFKBCVI3OV3b3C/UIZ5ZegB1TDixrEwXXW0=; b=FkyjMtaMTOl4dIeosS9QI9IJV3uexxfHgW8Y2y5WbCn8a0PSIl3hXHODQa/UwrD0wxfBaJI0esLbo2oVBImhADuOqZBhTw2QS8Pxi29U+Ct4qEGDFj83TF8ZfeQpICAOFnY0Ak/6BdxUPt/WeuqKrscFtNodBvX9cv08m4yHTEgOhHpO9bbpTJPKzDBP45bmf1nNdvoNgWpweFcfraPXTFl0nopEOWN+wivi++c6BTTd7Y52IWz9dTxmM276RHt60wIpZzhU24M6sQQ9Y1WDTYGI8ziscoKoW7SYyr5qH+FVB59nMa2mv8nZavWYKbFK0QnNBGXQYlFieqkz13Cg1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/bz6Ldl7PFKBCVI3OV3b3C/UIZ5ZegB1TDixrEwXXW0=; b=uzDQWl+1OImj7yMZb7ZyObvm5dA3hCxk+lGky5yF/CDxTcWqiXhrNl4iPo6aMVfYMLOl8U6qA9fYSQNzti/ztab9xeZuDBzQoevbdq0IDMeZWrxB53GDUZdff5LtrrvB2WJX6M1nHir11yvIuHxILamQiFivhKmjnxmGTGOfmbU= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH7PR13MB5573.namprd13.prod.outlook.com (2603:10b6:510:138::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Sun, 8 Oct 2023 01:37:20 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::28c0:63e2:ecd1:9314]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::28c0:63e2:ecd1:9314%4]) with mapi id 15.20.6813.027; Sun, 8 Oct 2023 01:37:20 +0000 From: Chaoyong He To: Stephen Hemminger CC: "dev@dpdk.org" , oss-drivers , Long Wu , James Hershaw Subject: RE: [PATCH v2 1/8] ethdev: add member notification for bonding port Thread-Topic: [PATCH v2 1/8] ethdev: add member notification for bonding port Thread-Index: AQHZ+L59/SO4SCeUKkW8VnzDYmCjn7A+ekEAgACj/9A= Date: Sun, 8 Oct 2023 01:37:20 +0000 Message-ID: References: <20231005024012.1279810-1-chaoyong.he@corigine.com> <20231007013440.1309422-1-chaoyong.he@corigine.com> <20231007013440.1309422-2-chaoyong.he@corigine.com> <20231007084936.48ca7161@hermes.local> In-Reply-To: <20231007084936.48ca7161@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|PH7PR13MB5573:EE_ x-ms-office365-filtering-correlation-id: 6d5f8d17-46f6-4dce-2be0-08dbc79f1ce2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QLc8RnwND8AyollpYZa3qKxKl915tt/QbM7Iz8q44MPN4l/IzQFPVoEnBKpFSjA4MZo7xDcUQjWOVaQyU/GOrydPGKxK1qpzSg010l2mybhLoHnuiokRngvxS5r23kh//GhehA5WZKEYrmsGXX7b5qTjFtNKQD7XgJci7DdQ+Ch0KQ2Njpej0kN9XgpKZyHR+bJWBVjFwAy082cIEv3nUvSwM84VD9jCPG2L2II0srqr/1JjeA/h1JkkazimwN+WltoLlevQz9BQsmZMYI5v3wR+7JVDvosFGlcug+Id2kPSYOz8Magh7BwmhEFJ7zD/e/MYfMxmnAZhdfK2h9ooAlLT4D/3tKN6aqDqkA4eL8pBK/wbMMurhdDMp+T1F8CaM/NsK4iDVpmPq+7f868jMBmV0yGsEX+0SAW04xJOOedLE87U8ddAVB0jLYuxRKihPs3nRes+5D6CsdtWzJpxj5yA3elyYbBfS9V/egrEIRtjbT05oSqGdCNXBmqZPrmtpj0KCQF96KSYqH1vuGDMf1j1G0tVdSCkGnQ7X+8Wzc2QVo+O1OL0bKjaiGyQuWooXO3JGDl0mVgjHrsaSle3I9umjmXSfGbuNUhwHvhbXHtHJuFQE2CXIjqGFqt0vFIV8CL0KzBDKF5qvBAcG+NSKSA+KLVODQDa92ufEL2WWHA= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(346002)(136003)(39830400003)(396003)(366004)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(71200400001)(26005)(55016003)(33656002)(38070700005)(86362001)(38100700002)(122000001)(107886003)(83380400001)(4744005)(4326008)(15650500001)(2906002)(478600001)(8676002)(9686003)(7696005)(6506007)(41300700001)(52536014)(44832011)(5660300002)(6916009)(316002)(8936002)(54906003)(66476007)(76116006)(66946007)(66446008)(64756008)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bnnQsGV7GmramJT4NG5bcgPt4S+oEtSdEfLLmd/NWDofMXIjUV3y8+nphCNB?= =?us-ascii?Q?6HE1us8sZFHR+/TNDK3XYiGabJZgaNlchz075+LhRsCyYFTp2LWCdHRUoTjG?= =?us-ascii?Q?0ktslLJcPxXkIo42U2MigiS6mASScM2ouYpIFTpPiHGJIf1gJLKWoXg71q9V?= =?us-ascii?Q?botTofOzQ7zLJXmjf5tMtDfBlaWxHlZ9fnF+IzheiGUrM2dX+saU+bm56sE0?= =?us-ascii?Q?yZVcNudGPPapOqzvMtJO/OnR794N4E0Es3HGgLYK7cAhYZEFsg950gzUYdTH?= =?us-ascii?Q?9F5z8kZt+vAxnwavA8w6basu2CjsMrJHpW9rWABRk9hBVZg3cwB2jT3iZVlG?= =?us-ascii?Q?l/c5TwtLg7wYJb4xKKLEooxJw2AHVa92Rp/Z0O2yggzx245sU+4ACCphJwTh?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ZcWySUxbRZ8Ef8TX+fkh4?= =?us-ascii?Q?u51nceBhCMyYSM19mFMvVU5WWQN5u6Llw5dUh659V1apzhqZ/KsVA7MkGwr4?= =?us-ascii?Q?DZXVh3r5OK7QP1KxPbUlldFfxAfPx+AMwgoKH4lLonflY/pagnmQAX1N5Q3I?= =?us-ascii?Q?eDY164+dOhRIPD/gFfqNFD4w9bOz6MyRHx5/pjzXweupEoDs3uJVSFtaCg1e?= =?us-ascii?Q?AAgP8JQWTWLAC66+2bf6H2ymMywaz8c8z+1kpraAyChnaU20msCHGGieuANu?= =?us-ascii?Q?7UvjwnSj0M/tSWtVEXJfyCR5BOgj4lC9CVtIAHxL?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d5f8d17-46f6-4dce-2be0-08dbc79f1ce2 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2023 01:37:20.1214 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ULk6cLUtDsbK+nwhPU/FiGFPjfOetsC9rUC2IlX5ULoUA2bfV7v+6vnvWtL9JikZSRC3rQdAWL7gws9b1GDSdTG8qiekzjTgdxU/g8sKsgU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB5573 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 > Chaoyong He wrote: >=20 > > 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; >=20 > There are holes in existing data structure, use one of them for your new = flag. Okay, I will do that in the next version, thanks!