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 9AD3943C8B for ; Mon, 11 Mar 2024 19:17:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9070B40DDA; Mon, 11 Mar 2024 19:17:59 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2056.outbound.protection.outlook.com [40.107.93.56]) by mails.dpdk.org (Postfix) with ESMTP id D6A184027C; Mon, 11 Mar 2024 19:17:56 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ftqwrdhAoD9UTECJROtLbpzxO7INJapMVVCmPIDPePDVpa9HD7VMXID07b6qGF2jtdrmVDBeYok7Lc36snTMVHjSj4iAoI6ApgLMr6CjO4IGux+AdkL9NbVHKmQsyd9TL5IwPReY5RlRiIW4xC0x8trN+nmAh2W3pEt6m9gkw26qR+FtFCEtwyde9k4K6MjEjTW63T4a6mRotzp0+ApJ8NFkNYOgif65w8EcuUeX9+IM7p8GmDVvrxCKglc7zI7OeoQhvwA/u/pdhsew3wTZeNdQP482Zsq96BTnI2OlhGLUvzIVAdAeSUubPrHabnZCFXd7I+kaNzq3UwyMsZmSCw== 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=Rw6wLhft0fpsY/hxgUhgCachtBRCDAU/Pybdg/+vGgs=; b=f5AJ8wRFhgnv3x4ZZ2llcAA6CiFlEHbuHCt0wH1WBZTf6QgMnwewTbfy8kOtlXTvDi/uNmQimVRzbUlNG1B8sE8qOyRcV49aic4W/LhoQ/HBPdPCtn5bOZetbKvPdEPqi1XDRgxKhFpb+QwTNu78jvmOFxinGbytIFnUgRgEbfJYgAVGOJ0Il8xtNs8H2o1eEKvHzamAnXZFYoOyVJ3wFM5FjVahmtRTRb69OLHm8/3VkqR8typc74c4zZ8h4hAmeV5M384wiybdxIcUaRYwnWI5ciAWUaG/WbvDA9zksfmtvaD4tDLjrLtgQnEsW+ru0rNXY40juD9ucT95yJYPCg== 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=Rw6wLhft0fpsY/hxgUhgCachtBRCDAU/Pybdg/+vGgs=; b=rU8EZrBySbHithIY4Bfij49LSpv4HWVMOBJLgtFOL/MTPeybNmg9I+aSczaWJOySTSSgY65RO+b5PvXrhNAcJcNjxI/wNcizK6HtMsVrYrvuqYdZrfbHjSO8QchlvZ0DDCpSEv/MZsMNy7IK5FpoRvo13iONWYfdOhvMuuvX/YE= 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 DM6PR12MB4123.namprd12.prod.outlook.com (2603:10b6:5:21f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Mon, 11 Mar 2024 18:17:55 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.035; Mon, 11 Mar 2024 18:17:55 +0000 Message-ID: <794f8598-f882-44e0-ab4d-3d81a19f7d73@amd.com> Date: Mon, 11 Mar 2024 18:17:50 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/nfp: fix skip reload firmware issue Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, Peng Zhang , stable@dpdk.org References: <20240308105004.2146837-1-chaoyong.he@corigine.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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6Udc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HqNxKuyO 8Zk= In-Reply-To: <20240308105004.2146837-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0444.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::24) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4123:EE_ X-MS-Office365-Filtering-Correlation-Id: d274a509-d6e8-40a6-77e2-08dc41f79260 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4PC567P+uNrqzFOT0TNzBXKI2Z8bewSoWvS44WT1guJB1kqLThqA0Du+vKe016tSSwKn5HAEJOJogQ358L+wFgZvfZTYeUct0zcLWh1bYSbdHvjoupoPWIfpxsAY1eK4X9fzrLixe6wQ+vs4Z9yFjeuNDnu+KVhTZPr7Y8Uw8WqdizMgG/Jy0lsiXLAkan46ZoRfNupV2/aH7zGBU5IG2NjmiL9fqRb7eSNCAueyjDkyqxqYBY6yG9VWrygC4INikdmfJT/oBMvu4iZkwoAmuhSjIPYyn/RHpz9tMaz8omfm1Wj7rVwPuSm9D6lRO6/UKqau845LmsDkQKx5SC9hMWyrJHLQaISt4AutG+qoftGieEdhyWtHtpGqG9JD0ucdYsX8N+7Dd69EgcEkFyY9dMFK2YmYexinvB9rA8WbI9zgD0rhc4VG/NyRCsAFM1/zuqkCOoDku8l3fJ35qH1O5lj0WWn/I+tr8okHlhdr9LdF7E08Aqu03Als1teGYsUv+amazUeJovX5qMJvfwSqLJ4nUQ+lNYTqllVS/8BdD6Q6+uUZ6MZbp8XMxa/O0TLq6st/IgqJAZiZHnuj+P90kml40Ljw1HZy4zwz1rRfMY8KhdflihmUoQ31tcVU9vZappwErlaTVoyu5mrpbSmQlpb86Khlz37BakxlzKGUQ1Y= 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)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?am8xN3hjQ2hubUhTbWQ0bUJzRS9yQkJJTnJneXZyOHRaR09LMER1d1V1Ynp6?= =?utf-8?B?dW5odDUyRDdjTVVWTmV4Y0RDejFTQUdEdGxyR1NrdkpOL3FqSWQrMkFHVVp1?= =?utf-8?B?L2ZhK1BQZW5oQ2RlK0lGVUg4SVZFZkc5N09ZWXExUmt2QWZtTmVqb2dHOGEx?= =?utf-8?B?ZGtpa3lTRE53SjY4MXVmNmJQczBQMWdCbEszczRjRFp2M1F6aC9KZkxieUE2?= =?utf-8?B?NlNJdEpINHNQOXEwU2NzM25VQ1ZicTRWSUplUVp4aFU0Mm5yUllZT2hhbDBu?= =?utf-8?B?eDRSczNiaXJGK0FkeHRyOUZjSWk2c2ZJU1I4YmxGRGk4cGM0QW0wWGUrS2p0?= =?utf-8?B?R1pWL1R5OFV6QkFRc1VqK3A1dWI5SXpUOEpnU2wyK0RYa3orRDd2R2N0WWhD?= =?utf-8?B?MDNqSDFHOVRNRVNqbFI5R1E2UkdOTmhLOWxLd2NZTWxoWk4vK050STA3UzNT?= =?utf-8?B?L3U1VS9adzcxaThRNzZ3Z1NPUS9WVXRGUC9UOGpzdGdPamdSaUxxcUc2WjJt?= =?utf-8?B?SHRseG01Rk9QUmpBTm9DeWIrNlBIcHgvNnBWN0JTUUQrUUU2R2hlTi9ycFNK?= =?utf-8?B?M1BGOWZqbFcyQTZtSWhRMDYya1Y0Q0FKSmhCTzh6eTBULzlxSlo1USttc0E0?= =?utf-8?B?L3Erei8xT0pSb1MrSXlIR1pKRDJLVjlnQlF5YmVq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9qcHJWVDRONFI4T1EraUVEaHNQZ005SmxJUzJBMFU0?= =?utf-8?B?SkxBWlV2YmNvUnlROE9Vb3FJY1NzVytjNjlDbG1pOURiM0trSDdHcTVJWmJH?= =?utf-8?B?akZnakJFT3FUQyt5V2xhNVVFL2Naa0p3dGJkWlRxVktxa2dpU0JqRW1WaDRV?= =?utf-8?B?R0ZtSEtCdEU4UGtpeU0xKzE4S2ZNL2JITWFpeWk4em1semFmcEtwMG43RXFS?= =?utf-8?B?SjYvb3RuU1dMS1BlcnNSNnI2aEx0VFUyamdrLzRYSkJSTGJRQXd4T2R3L0JT?= =?utf-8?B?UnNMUDVVWDdFSWlLZnlYRWxGVHFqR0JjM1lFRmhwOE9maEFsaVEzZU1zRWtN?= =?utf-8?B?TU1WYmRPdmV0dDYzNkhTY0lCVU56N2hoaGY4N0pkRTRuYjA3RW1xOTR4WjFr?= =?utf-8?B?M3RWRHZwT05QN2ZXS1lTeG02cU5kMEN0MU1URkx1Z2l5TWs4a25TenVhZXZR?= =?utf-8?B?NEZkSkV5WFRuaS9pTXNsSGR2bjNSQnBXdUhBR1ZrSGl1WmRqakorbDNlLzhZ?= =?utf-8?Q?cOINUoDl8ZL1gsuAnyevm6ZaC?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d274a509-d6e8-40a6-77e2-08dc41f79260 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2024 18:17:54.9524 (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: k1aQx/xH//L97oeNeIYGkv+hn3Tbdw30KZo8ZuwYE2tcBHw5NvI0m6ojw6cNFhbd X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4123 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 3/8/2024 10:50 AM, Chaoyong He wrote: > From: Peng Zhang > > When the beat value of all ports are 0, which represent all > ports are unused. But the current port starts beat before > the check process, so it needs to sleep 1 second waiting > the beat value change and to ignore the current port. > > Fixes: 8b9a83ea2af2 ("net/nfp: enlarge range of skipping loading firmware") > Cc: stable@dpdk.org > > Signed-off-by: Peng Zhang > Reviewed-by: Chaoyong He > Applied to dpdk-next-net/main, thanks.