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 2FEA043E86 for ; Tue, 16 Apr 2024 17:44:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22BD940685; Tue, 16 Apr 2024 17:44:16 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2086.outbound.protection.outlook.com [40.107.243.86]) by mails.dpdk.org (Postfix) with ESMTP id 2B88040262; Tue, 16 Apr 2024 17:44:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TwfaptSgO3gscq70cpI+WoMyiUa9hOJhQe6MQLdQ/dEo7oyU0NpQrsI06pc8fYBrBL72hOMrOS+BfcVLQvcQOlk6Dkllc4Wh9En5xp4lAQ4J0CbqnWEY5ei5lnuChHJ4SmR0MPsYPUhXsPcPpAHFQrxaaSWm7KVN9baE63HBO8NGKlmQw86sa5xvmoaZdXe6BGYGF7tdG5QR7OZggpp/7IQPQ9JNGVnVh1FMe4/NA2VNw49keKsQbIVoYbNhv9niEHK2xBakMO4BimeH0y0z/aZa+CI4wcYWRPzzdfpANCDlRqeZRxCJtG9Z8B7P2NkyKRFvDICO2y3ngZGS/NvWAQ== 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=AVLvkPGmLLTGYvQJB+OgBo4Af8vUe683NVd2x3sDNvk=; b=QOIQoVoEKJhLA16WPdH4rGE+qDShe6ZFpZYDDbJNoZd0Q0NeZSKkOmUnfAurmJs6qH77eoiY8hAj8a9daLa0BUoHiokFI8nnwspJaD7ydx26rSZLuaEYjoIsYvNG3ySP1vLIrf63dAIwQFIkd9WQbb+foZoN6UXUTC4wvfQeAfXVVWOKS9076nVDJPU7PSf62Nqbih6VyCCuxV2c1PK1OWphNFnTVuqYzGd6i0cy7eGFS0aLEdD7TiU0IsfIHtDxajzSHMlkFgETlzzlRUZmJdieavPylytuJTKyJxNm1m6wgWiVTW4MsieE59mB2z2jVqDmny/1duYf3WfBHDDyww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AVLvkPGmLLTGYvQJB+OgBo4Af8vUe683NVd2x3sDNvk=; b=1bBWBIdkQJlpNLVfN/xVPb5ZoMwg6qjcZ+gtROvlzvP0nJGzuIF8ce+unDIdLR9ZDXbO6j3rmxzQSAzpbFdQ4tK4m1HWkcM1DyE+J4q2zENYZ5PHAxvBD/0vjl23T6z4TUGDLCT9dxL3nV09NohKjZbx+8UxB3olS6uR5dcv254= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by IA0PR12MB8713.namprd12.prod.outlook.com (2603:10b6:208:48e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:44:12 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:44:12 +0000 Message-ID: <58328abb-1249-4eb6-a625-91cb149496ca@amd.com> Date: Tue, 16 Apr 2024 16:44:08 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] net/bonding: failover of LACP with mode 4 takes long time To: Gaoxiang Liu , chas3@att.com, humin29@huawei.com, kiran.kn80@gmail.com, nandu.rangaswamy@gmail.com Cc: dev@dpdk.org, liugaoxiang@huawei.com, stable@dpdk.org References: <20220605030737.4670-1-gaoxiangliu0@163.com> <20220606143445.501-1-gaoxiangliu0@163.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYV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IZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20220606143445.501-1-gaoxiangliu0@163.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0196.eurprd04.prod.outlook.com (2603:10a6:10:28d::21) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA0PR12MB8713:EE_ X-MS-Office365-Filtering-Correlation-Id: aa3aeea8-7799-443f-f3e9-08dc5e2c0ffe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pLiGzNClyZHGeubFlfd5N8fD+/BkgUqt8eJUXsxQtHV5XeGbQCD7H9fSIiYCNtuPWy9VSbXmbfKQ5rgMAPH8VSrAgrrSX/gJyse4tVz4VCf0ufN6kYDuemAKUEa/kBUdaSYL4ga57wqJ6SdUEBbgXoJsrX2UiPJorDbNW7fVDVYCd/Vm4PhY/+Jw7kWxpQxegaw+Gtfb671JkA0W7bmxZDhjFIXzdWTAIm4sNVz7wNYzfLVti3spDOcIvIVqaMT9x68JQ0z55QU/URQadKGANiV+yixAiy/mRD6wL0boVC5jpUIWYCl0CGI3RSkNn3q5jW5nM2xkRo9WuYokkje70eXrNGIkwGeMelztNP+gOX5N7JLPM+J3gra+86Vdvh12QnA0NonWfjkF2hyDbrEmoUpyFCtDCS0PtiSX9U6D0yuIpb9dLzaSNG32CNY3KXUgHzm2p0tcp/HZJEKsV5oTGjHa+nQlK1yIoX75byLYQRt0pBcx+M+iFTcwl0gkDHA0j3Zcksdi9G4FDCPPyl+KsUe9FMYi6oPtqSMy1P5U3KtJLsoeIdZB8iyrpybTMFFK9lvhdTOfh7hfNLyGyFOzJUjeRK9h3OEZncfnjx4H27eNDmpnefRMDw8XCxQb2ULdlQv7+DbPuAMu4uoqhsJ2tFdr66S/li1j5c3HIqik0qc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QWY1djhha3dza2RBNjRXVWdUbE5nd1lwWEE1WHNCdEluZ0FoVVp3bHpkQlNs?= =?utf-8?B?M2FpeE5Kd0gvaUUvUlhtVGovT1RkMmgybkJjVFhXVzBEZ05FY1hOOEVqYlBh?= =?utf-8?B?aHRhMkNEQ0dXQnpwZUNnMzJyWFBhWHl4RFh2ZnpWbCt3NGJFKy8xd00rbHM4?= =?utf-8?B?bVpIVkI2WkdlUklPN1orMTVicVh3cEZmN1dRVVNqMysxdnB0U2phaGxmaFFE?= =?utf-8?B?bWE4RWZ5WVZ5ZnZvTjNVZlhpRGpNWTZQTEtibEpnZS9wZHc3b0I1UmxORU9z?= =?utf-8?B?TVQvS09xVzNReXl2eXNIYlZCYUJUY3ZEeUNvYVVEWkZsM2ZwbWlBeXovVThR?= =?utf-8?B?WGxKdDNkR0xMaGhJRXByQWU4T09ka3pBNW9kcWd2NjZsSCtBNkQ5dHdmcXVG?= =?utf-8?B?SG5xc014eWhVZ2VjMC9TdW85dEpla0tkUVhGUU9hQUEzM0RFTkgrbVNaaStP?= =?utf-8?B?YitWSEtFcTZ5TWpQNHQxdHJncm1nbW1pY1JEU01hNURSVlBIa2wvdmxYcWdv?= =?utf-8?B?YmphZGtORTJVUld5eFlLNE0zV3VxeEhOVXpMTEVxT01GekNoNVQ5Ri9nNkVO?= =?utf-8?B?VjBhQmVhZGljdTZpbDRqc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JLckpYc2czRGcrdGxqZENwbWFvUHZndy9HN0dIOGYzeERISGZLRXVGMTFO?= =?utf-8?B?WEViTTJVVThGQVZWb1FqQmFoM01xT3BQU1R4N05NcGNhWUJCYzVFVHJPZnlk?= =?utf-8?B?TCt2bytRcjZnV1MrT0dpMHYxb1pBQXdOakZ6QTQxWXRsdWYvYTlDNGgvZTNK?= =?utf-8?B?VHVXc2FLU1c1YzhrVEowMHBKeHFvbnV5R0cvbVEvajZHbUQ0NWY1MVlnVlhK?= =?utf-8?B?dFRVSElGR1VRMnhKODNiTHNPUUduVlJ0S3pXQ0g0UkRRdXJlMElMNFU4WHlG?= =?utf-8?B?NndlVmtuaDE1blFRalNHUTFNWmNlOEk0eitqTzFLZFpFSksvZW4wdENnd1Mr?= =?utf-8?B?cmJKVG9udFZCV2IxbENoQXNMM0tuTnd6SEZ6REtYakpKQ1RIb1p3eGRFMHZY?= =?utf-8?B?ZlQ3eklJbjFiYUlWcndGN3pHaGV0SVV1WERDR2pSQzhndUgxbitWSlRYNDV6?= =?utf-8?B?eFhST0F0VmZmdm1vemczSkd2N09xWGJyU1F6TG1OR3FEa2FsektHbEErY1ZR?= =?utf-8?B?Z2RtRkFCY2RVSTRxbGQ4Y3hiQTF5UWErU0hKcW9kQ250bXpZUEFkQ0ZtYVQz?= =?utf-8?Q?Hh+DZRzj6q9k9yp+0+l4gIDKd?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa3aeea8-7799-443f-f3e9-08dc5e2c0ffe X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:44:12.2216 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: URsOJ+evCCBj0gY2mFPoTQ1IlQWgrhGIJHAcjHf+FdSDArAxtyXPIt/qaZZySphx X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8713 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 6/6/2022 3:34 PM, Gaoxiang Liu wrote: > When the primary port of bond slaves with bond mode 4 linked down, > the system id of the other slave ports channged. > It may cause some switches to renegotiate, > and the process takes a few seconds. It is not acceptable for any > Telcos. > We need sub-second switchover time like in linux. > > Set the mac of the bond port to the slave port's system to solve the > problem. > > Bugzilla ID: 551 > Fixes: 46fb43683679 ("bond: add mode 4") > Cc: stable@dpdk.org > > Signed-off-by: Gaoxiang Liu > > This is another old patch, as far as I can see from bugzilla, the patch the issue is reported by Kiran and proposed by Nandu, and shared in mail list by Gaoxiang. As it is addressing two bugzilla items, and we are at the beginning of the release cycle, I am willing to take risk and apply this patch without ack from a bonding maintainer. If we found some issues we can revert this back. Chas, Connor, if you have any objection, or if you need time for review please let me know, otherwise I will merge the patch soon. And if anyone can provide test, like Kiran who reported the issue, or any other stakeholder, it helps a lot to give confidence to the fix. Thanks, ferruh