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 77692A0350; Thu, 27 Jan 2022 05:07:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6488E42758; Thu, 27 Jan 2022 05:07:57 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8D1684067C; Thu, 27 Jan 2022 05:07:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643256475; x=1674792475; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Vf8Qc06EAoazjSOprgpYEoK/VZV7sRTvBdOC8N94vtk=; b=ORfWTNqmq73z+Rw4M2JZJzhygfnB2IY+a6oAwptxsSvpG23jJcf9p3yt 0J7GMNy0qvjUE1uWsYiGNELmOejhotvcdE5WwWyy5o1JhhwatOcJa9ghI iGcUA//WFVfoMLEat7be9zjf1vyvRTDz1DRQRrCOibpVi4EcUe9CR1NHh HckRZh/LRVqyznXi752dXQ01t73s3xsRGWMXa6NP+PforLrpCqnharuR+ tmO0qSALFOqcQvcBNNPQ9ACC+cPtLsjy0gh93R99ID6rsFEXt4PemzBqX EmruWaNio6rUgQY0f8kJygZU3X5QSM2gILTJJlzmEjFq7oEPb2SgZ069h Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="246962305" X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="246962305" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 20:07:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="769595717" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga005.fm.intel.com with ESMTP; 26 Jan 2022 20:07:54 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 26 Jan 2022 20:07:54 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 26 Jan 2022 20:07:54 -0800 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.48) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 26 Jan 2022 20:07:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YiiakDi0ZCYoBy6QsuTTDHPcGHc+1iLyfr+sHMlBCjtxr81FwYBXkoAweHp8AHJ/4Ebe8O9GIZ/wl8KySCCRsvfcu7kxYAGLi+KBlsq7JBJVa0Th4wImSE8glP5uDr+nrHVwJV6YANIacBqrMB6LT7Pe3U6YRO2mlQPSExZI2fp5Cy543pssBxs/EozxYfYyaRdxpNyBEzb52d2J0QDgGUIsoV2cEatng+nCRUsOyJLma/fiq6Vgj4e1hakYEv03VsDJtbE7jCYiPD7mzaRz6JxFza4vKgDz6AS6bxmgOKhtDlDOd/+wxqZvpHrRCq/pONpoFVPTJAXyU8fqy0dr8g== 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=Vf8Qc06EAoazjSOprgpYEoK/VZV7sRTvBdOC8N94vtk=; b=UCK6D3x4tD3O4tSsL0JRciZCAGb+nK28AmZw0otu8935lEn/dKhxnX85uXo+XKWnLiKU6lJg8NRGxQdAzHOEdurRrJDNvYVviilYXp5SubCz4lDngMX1n7TKfMqlXNBNCat3uaqPHeEnGXeAYHV6KBHBXYFLZ5IasbyaH09O/aoQYPfhU3J27zw54zyf2TdaDHlMVnrO8GPLsxJ/6yxDn1Jtre/crZtERMbvy6n0X5fEsh4ZtH5Skxv6CjDnlt032zjHshxXZj2nJ2O4tFnvj2HTlya288FylXARcw3H2Ns/fBfH0fewdLH7N5+86lZXPPQ+CC0IMjA/SxJWC+XiDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by DM6PR11MB3900.namprd11.prod.outlook.com (2603:10b6:5:19a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Thu, 27 Jan 2022 04:07:52 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::d4d8:987a:6a87:21a7]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::d4d8:987a:6a87:21a7%4]) with mapi id 15.20.4909.019; Thu, 27 Jan 2022 04:07:52 +0000 From: "Jiang, YuX" To: "Yigit, Ferruh" , Chas Williams , "Min Hu (Connor)" , Ivan Ilchenko , Andrew Rybchenko CC: "dev@dpdk.org" , "stable@dpdk.org" , Andrew Rybchenko Subject: RE: [PATCH] net/bonding: fix MTU set for slaves Thread-Topic: [PATCH] net/bonding: fix MTU set for slaves Thread-Index: AQHYErYidpGbHDd9C0aoOHNCWfI2a6x2M3hA Date: Thu, 27 Jan 2022 04:07:52 +0000 Message-ID: References: <20220126131037.2403369-1-ferruh.yigit@intel.com> In-Reply-To: <20220126131037.2403369-1-ferruh.yigit@intel.com> 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-office365-filtering-correlation-id: 1e8ff782-76cb-4c8f-bdb6-08d9e14a96d5 x-ms-traffictypediagnostic: DM6PR11MB3900:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Lt7X4HJh1n2GVrE5+0WellmIUNHl/GLf0yKgK21umA2Mfc0NL1PtLr/eYLrlqR8ZkY80/qPV5I+Pp5WG7IOxFHm5lcofFFatY8/VDwtHBFa8e67OUJ/IlUxJrjGUEKswCzou1xx1IEMp916/jqcd1uSaajJUNcrNuGy4FxE4PovRsbMfA8CHnogs56sdgahrHDyBMnkWpQVkb+PtIc667OmfMAEn4MS+wQHTILxYPV7rM4tTjW/B94kCVUcQtc+YuQwOOf2pwjeCkoOBBewTC5xkQL7tTbETqlex1AXz6jWZPRqd2ogcxUDR9KxqSdBacFrsO9/YfGOwU5uO5jgTVWhdmSIJOMuaq3auHPi2ESDSkT3Ak2/eBnMdbRGTnCv9xpK1aVlMQoJUWGxvaY9FkeU22dgFBAKxUOg5Kvodn6xRqMGx0ebyJkPDXXdl296KGYK7RyMLTb47W76WAubiRsDosshRhaAUEjePBUmFcp9PS+7Frdy34CB2SdIm+YwNGA3cXcATr5xUqvyKKFBtI9L/fNZcfUYzhtxhA3tbuMqKn/EzCecH/xPZhPeOiQvm/WY5RGY30460WXEVYb03Vyv+ByGnj79NMmn5IaSBfyp1UggrxUnQR9in58G5KJgUr/QR8VqCpr3fZ5VylJqyIIVqSxs7Ba9YyU/auweeZJoMLnjOccfRHj0ZxR/WhdOWjH+LisWHIFzoQRaTsE6zN6xrBmm0PndcfNRfmePdBc91et7QnxBWQjU9ouYrg7dE/LcvqwD9t2e9yTS5Xw7ymLF8YZq1CXVhiSQhuQtNFpQ= 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:(366004)(4326008)(9686003)(82960400001)(5660300002)(66476007)(33656002)(26005)(186003)(316002)(122000001)(71200400001)(8676002)(54906003)(76116006)(7696005)(110136005)(966005)(53546011)(6506007)(66556008)(64756008)(83380400001)(2906002)(52536014)(8936002)(55016003)(66946007)(508600001)(38100700002)(38070700005)(66446008)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?T7RNKbSNNo0s/KZZbC8hdBZUgh/oxt/XaxEOVES+eno9MRua3/VMp4Njw43h?= =?us-ascii?Q?5odoc+J4DokY6RAgiAxeM+2ZRPNrYSXI3BGquFqQ2xB3AfFY4M9EE220kBYU?= =?us-ascii?Q?54dWmlI4lupI8vR1JWsKowiEBMvPxj6KG4WXj+vzlZu1mQkRwuEGWI4VvZQs?= =?us-ascii?Q?S/mABmnF5wT0W0+J1sDJeVcLHcNZnShnWbXNBtRnTc/Gzds/izOjnvddw2xk?= =?us-ascii?Q?H3l+AiuzCLR/CxMNMoW8tAxNPXcHMyX/QAdza6BXi7QrbreHASOGjWwEG/Vo?= =?us-ascii?Q?V+RPy48UqeLukkX2cK1ZknKJJVdLLJH3+EsVcJm8vbguGmE16J4jyHAv2EV2?= =?us-ascii?Q?BcISfL7rSVVUG5n4W3N9mjlJxi/EEHpUk2tAsqaoNM+yFxkn6AeKs4BdaHZJ?= =?us-ascii?Q?wDxMbypQxb0cCAH5Ub5glDdcCRcOcbDFL8v7ombsRs2rru25gIIEGl0Uo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KicWQHGi25MiozbyZwF7pf8aekqxPiV5VAB9?= =?us-ascii?Q?dmWB/ha4tfDiYaaqzKiowJuvLJaMk+Mp+Rqh57XCWASfBsi+eoiA50LDiWGX?= =?us-ascii?Q?zGbS3+uHqAlilX/hUQKO+upCv9f9kM47FqpZmUN5WZC/gmat1qwarwHfH6j8?= =?us-ascii?Q?I7HNWeHNoWShVWdiCTtEgjEiVnZnnU1FLfUFDliP8QHm7O+hVm87MQNRYoal?= =?us-ascii?Q?C4pXzXViH7uYsysMWFXXR8pKaPGhXFq7SnlMdpaKxaETviXixaiKjmETPCXt?= =?us-ascii?Q?Rihn5L9iY1OF/lG6ltiMBIw=3D?= 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: 1e8ff782-76cb-4c8f-bdb6-08d9e14a96d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2022 04:07:52.2805 (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: 051ZvdKD2PTclQJ9xkPJV4mY+T0jFIIZ0KciWeJFFxgLVl7oxhdJjUQzkuWcD+98Yj30Q7K6DnEn7AXdUkITKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3900 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 > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, January 26, 2022 9:11 PM > To: Chas Williams ; Min Hu (Connor) > ; Ivan Ilchenko ; > Andrew Rybchenko > Cc: dev@dpdk.org; Yigit, Ferruh ; stable@dpdk.org= ; > Andrew Rybchenko ; Jiang, YuX > > Subject: [PATCH] net/bonding: fix MTU set for slaves >=20 > ethdev requires device to be configured before setting MTU. >=20 > In bonding PMD, while configuring slaves, bonding first sets MTU later > configures them, which causes failure if slaves are not configured in adv= ance. >=20 > Fixing by changing the order in slave configure as requested in ethdev la= yer, > configure first and set MTU later. >=20 > Bugzilla ID: 864 > Fixes: b26bee10ee37 ("ethdev: forbid MTU set before device configure") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ferruh Yigit > --- Tested-by: Yu Jiang > Cc: Andrew Rybchenko > Cc: yux.jiang@intel.com > --- Verified patchset https://patches.dpdk.org/project/dpdk/patch/2022012613103= 7.2403369-1-ferruh.yigit@intel.com/ on baseline v22.03-rc0's 8a5a91401d . Tested pass on nic Ethernet Connection X722 for 10GbE SFP+ 37d0/Ubuntu21.10= ,5.13.0-19-generic