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 AC3B3A00C2; Tue, 1 Nov 2022 11:56:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4021D40693; Tue, 1 Nov 2022 11:56:08 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 251EF40223 for ; Tue, 1 Nov 2022 11:56:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667300166; x=1698836166; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZAgO8JENrz+1zKO99Nf20LZtPDkk8jzZq2Vhcuwpuzw=; b=j7tGFoRRqMByN5rhTvyep6vWze26WWXgnTAktB1farQbWPPB3xejhSyU NK21z5sNUcPMxU0IAZbs2Y/1mGNAKpCAq23a36QVxnvNoQwb2zMXXQ+5t X5a9f5HuwfufTecupdVkTRxQPnurM4wQxEra5ys3/0rsjNbHInaPUHRsl mtkPWG+cnm7jTNPOUSvhFYi93YcrBbZheXtezhgEluJEBtkNCJ5734aDO y5LmHJ7dGnRt/6Ux9/s8Wwvo+JU6yB5oWT8RLPbnCKEp49cdrGwGxDA91 /GiTLe8LWyNERkP0yqQFHhSvNzsmHibldLxqryE+ZR4VYhbjkbdUNqYKi A==; X-IronPort-AV: E=McAfee;i="6500,9779,10517"; a="395422417" X-IronPort-AV: E=Sophos;i="5.95,230,1661842800"; d="scan'208";a="395422417" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2022 03:56:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10517"; a="665114017" X-IronPort-AV: E=Sophos;i="5.95,230,1661842800"; d="scan'208";a="665114017" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP; 01 Nov 2022 03:56:04 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 1 Nov 2022 03:56:04 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 1 Nov 2022 03:56:03 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 1 Nov 2022 03:56:03 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 1 Nov 2022 03:56:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PZXnsXiTjKmO0TtDtZlA7UfLvPOjEPcWG6rSAmh2Pf0uj/7P/LnDC9K3AJ2sIdWGrQ5jbyA34+b7KlMKUvoAEAIEuPnvU0ZK2Pm8gUSt9iobm2EQ178tEHygPwWybda1c3nexYkx62QnAZeUOBEAzZlV9OBxztQQiu01phYUpPC+fUGmN2ZuAsYqngS1QDhNKk8PA8AiXrdJbowZV4BiPEnaw38OZz9H3gr6QdmPr3FGnzsBUuYOd2NGnWQ7L0hztcOM8rY3C8C2oGdsLGLK1lW2nHjwO5C6XHN7KJisP52H9+51xWXCveHr6F6ry89zzdaueBjJylYLdrzdYCnExw== 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=ZAgO8JENrz+1zKO99Nf20LZtPDkk8jzZq2Vhcuwpuzw=; b=hgKIyLeOnBQMzpvlSq0LJIXX9cqH9kUd1p5/KdGmoAFuuHLYKQz8gnVHmBXMITe3r65Cmwc2zWEVZvqrNt71hHlGHvxe0vdHLC3W/qeqQZPolfV0gOA4cgCugB/bG4DBdD8WM245Aq5/t7MVBU1lZu/CMsWvh+6PtmBQryTdq0oi66ixhXFAg3sCUtD1mvIeLUcLtwXOjGgvsI1HpuQtPllgPS1YHLgiYx06jf0zgauVeaKQw9Glfo8hP4qGc5NTs2SRxE/Sh4l8Bvnd+S6CJryH5ClGWNIBoPRbNNvXNBynvhMeJF/86yPTiJA1vUPbzAZwiM3RD7wBCWz+qazSaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by CO1PR11MB5041.namprd11.prod.outlook.com (2603:10b6:303:90::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Tue, 1 Nov 2022 10:56:01 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b95b:ac1f:484:c589]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b95b:ac1f:484:c589%4]) with mapi id 15.20.5769.021; Tue, 1 Nov 2022 10:56:01 +0000 From: "Jiang, YuX" To: Ivan Malov , "dev@dpdk.org" CC: Chas Williams <3chas3@gmail.com>, "Min Hu (Connor)" , Andrew Rybchenko , Chas Williams , "Burakov, Anatoly" Subject: RE: [PATCH v2] net/bonding: make bonded device configure method re-entrant Thread-Topic: [PATCH v2] net/bonding: make bonded device configure method re-entrant Thread-Index: AQHY4ypJVGQo8+t7V06MozjDyNHajq4p+eww Date: Tue, 1 Nov 2022 10:56:01 +0000 Message-ID: References: <20220911122405.3995083-1-ivan.malov@oktetlabs.ru> <20221018194549.635113-1-ivan.malov@oktetlabs.ru> In-Reply-To: <20221018194549.635113-1-ivan.malov@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR11MB2711:EE_|CO1PR11MB5041:EE_ x-ms-office365-filtering-correlation-id: 448ef185-eb9f-4dac-f38f-08dabbf7aa74 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QJSKh1RgPmbkqH8PTVp+G1rND91WsA6Vp50XifJ52VUp2sifIt/UNWtczRBU3gymGDEsC3kQ4VvqbBMS5S5mwCUw1KT2HQAsTMo1OMpR/0eGC2l8XCfhAXE7vKG2N8N9FXEhfRmKBPwPVQUmq7111C/XbriIz9IJjhRtTsYHtmqhDNhfcH31jxlu2w+m6jdboBvPIFky8MPj/yaL5WD8p2eJ1NhOkPv9QIP3x5q42+6iEPU0pfhyG7k+HO7Ab5v3uWkCouKeGX3G2bqvjm9yYedRFjItyRa3mepLBJpn+rI4WtK2xtCZlY53TVCq2KXlNqcIlBbUaMjQLKxIyZL/YyMDKzlh5KyVNSTMGABkYrmeeGP37X4P3h774EPAVlHFSUIGhIpBeFxINt/2qIjDFCkyyn1aj+yB1Da/EWMh4JeaeVerNBynxTN353ZrsGWMyLq3yadGPuDXQ4jIUQ2aR9lIa9xr+IrYuOHYSSnMTTmjK70Tj7gbQMx6vQhpC3EL5mdS1rAc1bW1wTDyvwI0KeXUBrLzDDXnV0uOa3NK9PpPV6BGLoPY22N4XkL9cue6amMuGRan18io72TozAhy2r6lWSDgi5FxoqqU0BuDBy/HwveAbRerzIQPoqgHUsHIssQQhUwJIxCnzNTy9kw0irjxzM6Tv8eW+O3a53XY+gxxFjECGGpFeHrxQYLthMaOfHelxDq3cm+1lNfjmcaixBzY4xj7Atg36u9ELoAXR1QzrIBWSSGX/EM1U8eGEtiVHFkjtvVgwyd3wASul4/1HyWpONu91khKyxydoMC4FuQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(376002)(366004)(346002)(136003)(39860400002)(451199015)(82960400001)(478600001)(122000001)(71200400001)(83380400001)(2906002)(38100700002)(38070700005)(76116006)(8676002)(4326008)(55016003)(66476007)(66556008)(64756008)(66446008)(66946007)(7696005)(86362001)(26005)(53546011)(966005)(6506007)(41300700001)(186003)(5660300002)(33656002)(316002)(107886003)(110136005)(8936002)(52536014)(4744005)(54906003)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XMWrDoYhEUyaVuzR8aXjOAs6YP9RY9yJ2itFdpJ78MO9iHnaFnCsI4vXSfgT?= =?us-ascii?Q?Bh7dMtresZMzluPw5vaUOkEo5YqE9ekIn+b+WTHJoMEq5Un5X4IT9zuw/jW5?= =?us-ascii?Q?zkIogEbg5xUs3vr00/phgSKDdLHXerHfq8V1h1s3oROiyhbJ53qh52MIytAM?= =?us-ascii?Q?dOWjCf22lojZOf44ErHZk0OzjceEX1hWjXunMOMODrqmKTjnU1l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2FzMTx/pQt3UrnOhbwmo4iz8mSwwUv/1Q?= =?us-ascii?Q?l8hHjD5z0xOROPrCc2XN6qcZxC7bYRO9I6TkdSM4Qsn7ZAhJqfb5n8gvqRCP?= =?us-ascii?Q?IJtjNHtZWz8Fl8xSA2Bb5js3ZQEsRWqH/2MB+nR0Ql1rCwAcH0BMZTsaHc8b?= =?us-ascii?Q?lmHG3zy8vzXr1AONKBnw7p/KRjeDpCXmi7DMSG73AsVZju1eYbYY32MYDAZc?= =?us-ascii?Q?GC2pu8wFDmOPHbCBZVQ10m5+ZYTDD0xGtJD9xGQk2yM0TImF/7ivO5nvYXso?= =?us-ascii?Q?mb3ViwgvYe09+E72hRa4SkXP8JKGiO3HBhOaxH2nsG5D4ETqZVXQO2kzUmPi?= =?us-ascii?Q?8XD0Og9COYC8yNkYR39HkjEJuO+tgA6NsTS5srM/9nqzTdfRMj3sUBakSulZ?= =?us-ascii?Q?GIns09fHKJGKA8jGRzXGC/5BXrQJ74zDheY8/ca0TbiBTG+H4s2M+HZIQGvH?= =?us-ascii?Q?WzWvBn1weHULrt7MBt6/qqiEbLgDlcYRfHZ2g1i7?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 448ef185-eb9f-4dac-f38f-08dabbf7aa74 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2022 10:56:01.6985 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4Pzmfw5C9mazLJ9bkgNc2dHd7QJ+/dYyT4Yg/oqr0fHBkB4/3cDDVe8gfJAb6rR2lufB527uLN+xCNLKS5Q1oQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5041 X-OriginatorOrg: intel.com 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 Hi Ivan, This patch introduces a bug https://bugs.dpdk.org/show_bug.cgi?id=3D1119, c= an you pls have a look quickly? Best regards, Yu Jiang > -----Original Message----- > From: Ivan Malov > Sent: Wednesday, October 19, 2022 3:46 AM > To: dev@dpdk.org > Cc: Chas Williams <3chas3@gmail.com>; Min Hu (Connor) > ; Andrew Rybchenko > ; Chas Williams ; Burakov, > Anatoly > Subject: [PATCH v2] net/bonding: make bonded device configure method re- > entrant >=20 > According to the documentation, rte_eth_dev_configure() can be invoked > repeatedly while in stopped state. > The current implementation in the bonding driver allows for that (technic= ally), > but the user sees warnings which say that back-end devices have already b= een > harnessed. Re-factor the code to have cleanup before each (re-)configure. >=20 > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > Acked-by: Chas Williams <3chas3@gmail.com> > ---