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 51B734317F for ; Mon, 16 Oct 2023 14:23:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B23240693; Mon, 16 Oct 2023 14:23:03 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2078.outbound.protection.outlook.com [40.107.93.78]) by mails.dpdk.org (Postfix) with ESMTP id D3C584021D; Mon, 16 Oct 2023 14:23:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QCp265JxyUznnUUM8cnxTPqIQkrheUd1WezN5EQlxivmwVCNsgfkgav8xVNhZ4SZ+fhXM7n8oY8HEN0CeGDW6biUeDAVCbKTGENLfXoBZVwGdHmCBY1PweCaHo8zECAGUedM5SuFA25uE+pEmKIjlTrcNJH8h+/KirdDZpkS1lu12Z099ydXvVR95OcPahG8iS2H1cury+4eid3AVEllcqWicAAU0k5iOwU4y/13yNGg2Qhc6R9yD9WpJGAIzxdzualE/+mEm8L1ZUkoN+rhtzwGZLLJ547N/tndioQW11wtEINo8IlWktA2HHU6AVFnHwFMisIBduflwZUQOSTc1g== 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=VeIf3B70Z9/DfXr9OjbH9m26gKsSOyhrpjgW/FNUOmc=; b=E49r9p4gCYM1FhtDOJgV3M5uy1BaYyZxW1GDqVRYc75GjzTM81gqGGFAfEoW/vab2g75oyaicrWi6lSvb8dCkDkaoMDv0rdWhvBmOX/C8Gs4rK7FtnCA46F+fMaArbW1zLrsHIkpyGuYdtNK6swQmGq9kl2sh659utzwZLOA4RFHCTprlBF4OenyOP2lY2BGJoX1BdK0IanZfgRsrlKcdIXb0j9t+ZTCZs4w905NUUx30bBZChZFZim4WHTHBTsCCNSAci8fbZwmOEnA9Cj2cLlxanl+0WdMeBIMIcj7zmAFiXuiyigIdJcXyiWCpU2q4SkvkQ9kFcm0Adgu9PcIEA== 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=VeIf3B70Z9/DfXr9OjbH9m26gKsSOyhrpjgW/FNUOmc=; b=nFeF/tA/Bqud9ZtIBDC0nielHTjR+wX6TmYFRw5CDdIVZReR7Rl0bD8Chz9Cf5Uxrg0200JQUIqmSxz6UJel4Alxh94NRxwWx1YFjR07ROdEuNZqe/N99S2sV21Sv9Y5FzVxjUwSanxHh3MocfJm8h+BKmXgigh6p1KP9VgBtos= 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 PH7PR12MB7454.namprd12.prod.outlook.com (2603:10b6:510:20d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Mon, 16 Oct 2023 12:22:56 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6863.032; Mon, 16 Oct 2023 12:22:56 +0000 Message-ID: Date: Mon, 16 Oct 2023 13:22:49 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/bonding: fix link status callback stop Content-Language: en-US To: fengchengwen , David Marchand , dev@dpdk.org Cc: stable@dpdk.org, Chas Williams , "Min Hu (Connor)" , Pablo de Lara , Declan Doherty References: <20231016084744.734493-1-david.marchand@redhat.com> <8e752c64-1e94-7147-6f65-e9e924e998ab@huawei.com> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJjb9DJBQkC+3/YAAoJEFRT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++0dSta5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <8e752c64-1e94-7147-6f65-e9e924e998ab@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PR3P192CA0024.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:56::29) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB7454:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d26ea36-80cf-4e1b-a13c-08dbce42a0f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jCBLyQlX6HIVaFrAcIrQmB2fx66WLgKquyJ5/Vc6e7C513ksE1T0PHWddnls9+Jvls7IPzhs3dPnV2CDvW9tA6R6mFCnrjdfLId08HmrRJXOvv4SjejrD/nIwXCDCqZECNSsKO1rC0bJdpgrW/FRiGd6ggID7pfJ/syCzDghaSjI5BEz6yoJA1AXUzCeJLCPT+415RXdhMSmJ5a+fvMGHdiDrU5KD35XRo0bqe80mVqPE0ROTDgstZiPcKOCt6Y0tP6YUMz/Vi1tlQu7yTz/LdGv5AYSPsby8LbUDa+Tg6NPHltktWNVqbIX1aD+UHz9SnlT9IDKjkQ0n3LExWoFrcwL2N+uv2idO31L096hx2AIGmQ5G9crey/S5mQHxH+wmbAd+BREZhGAE0zyfTkmJ4v6mKP48n4pbSH6g6f7GBTZWMDjTQ9gY60aKmKXRha9fGTUBfzQ6O7zeuphsfMFk4+sm2bLrBw7QAFW3aJQNJ3qI6n9PFUOqjvcVsq3D2vhfkpb80wlIVJ1CXmDs7CdEIxP9YKTNrrYR/Ebdemw3yF3XnAV6jp/cvp/i1kpI84rGgG7EcHdZibzLgEESEcVbuiKM0tn1Ui0NxmcXMIQuTal5CHOTf0v+3Y6rZL7dNViJZBREn3+DPRhZR5ATPAZAA== 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)(396003)(136003)(366004)(346002)(376002)(39860400002)(230922051799003)(64100799003)(1800799009)(186009)(451199024)(110136005)(6486002)(478600001)(53546011)(6512007)(6506007)(6666004)(86362001)(36756003)(31686004)(31696002)(38100700002)(26005)(2616005)(316002)(54906003)(66556008)(66476007)(66946007)(41300700001)(5660300002)(8936002)(4326008)(8676002)(4744005)(2906002)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dHVDYVNoeEZKbGR4RDZaRVV3bVZib1dVblNhZytpcHpMR2tYMjN1Q0hWamFh?= =?utf-8?B?ZHFlRnM4UkRtUEFCVHVJQkJnbThCbU1EbjlYa3NJeXRPUW1HS1JhVnREeUdH?= =?utf-8?B?Y1M4L1BmUGJNSkZrQ0UvdVMxR1pja1Vodzhkd2pMZnFjWUtBRFNzTnE3Y2dx?= =?utf-8?B?Qm1KQ1BGaVh2YTBpR2pNZGUwWlIvZVl2SVpNUE1xaGMvQnlqMXo3dVBmaVd6?= =?utf-8?B?eW9IL0IyN0Q0SGxubDJaUUdJcWkvSEt2VlNzT0ZEdzZYK01YV3pEZ0lrT1hX?= =?utf-8?B?dGFaZlFPSFVWYm91TkhRVGNSQlNqd091TTNtWVVyT2lReGlDbnNFMHhjV3dj?= =?utf-8?B?L0R2d3J6ZHFCVXVYQVZrdlVzZ09xNDBvZTNSQWtmUG9LamZHNll3RGJyYmlG?= =?utf-8?B?TWFxS1cwUG9JSmFtc21ib3Njb1Z1QVdkdjBNdm9tc1NjUWR2K2ZXV2dPRjRD?= =?utf-8?B?RjZDTzJZNVA0ZEdFQjJJNFdWclExVDJu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MTVwSzJJd1gwV3YyeFpxMzhpc2xocENlTHNSeXYz?= =?utf-8?B?QlZZSmlxZkVGV1p4U05hVWQ5alkyQ0xGak1OQ25NS1NVam9KU2FWZHEzdTd2?= =?utf-8?B?NjRTNWpvdHMxSHMwTVd2VmNpaXFPczhPeWRtL3BNTEZWNDA1R0ZjcE9EMGVZ?= =?utf-8?B?OTJRUnNLM3Y4Y1oyZHRNZGJ6V2ZNSGhubk1QYUNEM25LSERHM1A3dSs2Z0Q0?= =?utf-8?B?dThlTUNWWkthVnZycGozZy8vTEhrdlp2OU92N0cxT0IrL0NPZjBvT1VVcUhM?= =?utf-8?B?QUJDVHdKT3l4S3dpN0p6N1AxakFXeEtoYlJLd28rRjdLa3NzaGd4US9wY1Fu?= =?utf-8?B?MGN0RTJnK0h1bjRFN2NONzhhMTN0NHRNWDVKK0c0T1hRU1p3SlBzYnBZcnl6?= =?utf-8?B?Ukt3dkdJKy9ZVlVsMHVFNVZXejRMNjR6WW9mdjdOQWlxMWdka0t1S0N5TWcy?= =?utf-8?B?T0pKNU54ZGtJbnlzRG5YaGhsVDA1WG5SUFp5eGN4bVEzNG9HbVdabStWeEhF?= =?utf-8?B?dkFTV3FDSHpVQ21hSENHN2FrMzM2ekRSZVZEZTNwUGMxMzdRV3F5WThWeE9S?= =?utf-8?B?eFl1cTdlU1NBSk41NkpHNmNIbWdQbnh6cTBsbE0rdjlkam1kc3I4bXZhbzRU?= =?utf-8?B?MUpYVWZXL3hEaFp4UElxeXVWQ1B2SjJWS1Z0WXdyeVNCeG9zYk9VdWlJcUpn?= =?utf-8?Q?N/m/BJTeYomx80Ox2CxZMvFJH?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d26ea36-80cf-4e1b-a13c-08dbce42a0f8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 12:22:56.7883 (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: /Dx7lTmutofNYWIn8mMvsRESci764G5r/Ys6bpdo7GL9y6UiZGp5zd74HNRW4caT X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7454 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 10/16/2023 11:33 AM, fengchengwen wrote: > On 2023/10/16 16:47, David Marchand wrote: >> If a bonding port gets released, a link status alarm callback still >> referenced the ethdev port that may be reused later. >> Cancel this callback when stopping the port. >> >> Bugzilla ID: 1301 >> Fixes: a45b288ef21a ("bond: support link status polling") >> Cc: stable@dpdk.org >> >> Signed-off-by: David Marchand > > Acked-by: Chengwen Feng > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.