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 1E4E243B79; Mon, 4 Mar 2024 14:29:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C2FB4027D; Mon, 4 Mar 2024 14:29:00 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 027EF4026B for ; Mon, 4 Mar 2024 14:28:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EUNhrzZjnZ3bj7vG+Nqfv/DdmTFk0V3Hw44WhTA+NBdMR1fpAkyRy/CdRicDunAch32CPcyq8pfa85UaSG9Zfwy3mm3vPvVaC59ZmTH+FGQ+e4JBahc5/VzAYR0IWbJxEmODYOkg6TqQctSgzyRvW8znZwZyt3ExHaGKmNk61Nj8Gq6prTkoXjc6Ur7ZxHg0RgSHfm+rU12pzB67AMjGdDN8GMpshKq6QMQT9pM7Yxvrx6cvjed50VwP+sVz52z4A3NuoCZD2CGPTD4egsInRMY32U2I1vNbuBnrNCkma+jOm33pdmU4xplToAKdX3bQXL5foWajwMAtrZwlq87ztw== 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=9yVJQ9eYjT0dz4cX5LMh+y60cU/pHnAkKHP5zR5fAHA=; b=idFEb7kt8VUQDmK/KXLysNMPPRHJtyyyYO1wZkdm/tVG7pFao7aMpUJM9mO8R7QR2eXAjBSp1BuFbvaiz4KqGdT+aszAsFOH49IXg+wWB3EJAILo4NcOyCHnR/tktsA2af6qxIcqDKoVcpSl7e/00UlexJY9IaJKUiIr0HuuK651e6vBZM1ddoQCyxPTe5/N+GwR85hHSUks/bfXNlezjF39CCKgQJ8OD+TX4/0f1Hw6/Grb6/NZcYNS2FH8PdVCuuO84AQ5m2VghqdpqSl+zr5ZKU6NfLNzbBy7+URVvXDXli5H5gmVjfhytCgq9puZ/uM6ay8aYCEaLm6cAgKD+g== 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=9yVJQ9eYjT0dz4cX5LMh+y60cU/pHnAkKHP5zR5fAHA=; b=zQv1PyDcmomTStFdmyPRHdC00ib1yw41ESVTlQhcrOhM0VYIz82216HIQW9RVLQ/rvA5o7EGNNw1XXqMu4LKdPrmmh0WJJU00UWw/9rxSlALiRm1Ng+2WbD54NACCBjJF3bkC93tQ+YgdqoKRniScUQW10CJszdq0G5J/hArVQM= 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 CYXPR12MB9443.namprd12.prod.outlook.com (2603:10b6:930:db::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Mon, 4 Mar 2024 13:28:56 +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.7339.035; Mon, 4 Mar 2024 13:28:56 +0000 Message-ID: Date: Mon, 4 Mar 2024 13:28:52 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] reload the firmware as needed Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com References: <20240227111551.3773862-1-chaoyong.he@corigine.com> <20240301084244.190484-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/6UdcP/0/kEp49aIUhkRnQfmKmNVp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20240301084244.190484-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0442.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a9::15) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CYXPR12MB9443:EE_ X-MS-Office365-Filtering-Correlation-Id: 17520e2d-b7c7-4914-1257-08dc3c4f0aea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gW9163LZA8VyaA/oDI9xQ1DrZQ+/PzFs7vrXu5sRoJcIFv6Av5ClfhxWv5JuDSTeoQjKCTjtSuVo04bV5jLlpmEZUFC/TP2UTcNNajUMwE7ESCaibFh3cp1110SY/wrb5fyZAGuSzM/8DbHdwGz6Xn8NOURmh4G4MXrV970441YbkT3yDFWMFGrc5z1uvn3p+JVXkAYm8fBhEPXNPh+FJ1lRnewoPfLFia0vwHTYXZTeRXdFWey2vckWuGoaRrYLOGfmSspE0PffAWWPVWE+I2Eq/As5el1FC/ufT5UCcc9LvNG2SZEZuiSBjM6J0XNx/qD+z3zS93k2OVDyIEpRIQowlwGqihS+GvgBl/A7ydPJFMYtobFhBkhulCtE6+XvxZVEkLltrq26NQZZ6E0nPJWV6bawteg7S6Rvz3D15Ez22rMBKSRaJHKGOY6yJ65P3sFTdCJ5bXTrfsQoN6j3rtkjQu5aDiN/GgxrCR/mGITHSFFqEtn7loPxj6/Y3/gR3tmzocTNrgtgvqqtXwZT/fPMAdaQclqN79EXM5b2pKY3aWcZKryH5c6AEPfAeQN/VDBix1tzc6PzfIuybqnsqCofA3imKN/0wW4NXcvdnsBQWmCwK4V2mzK7C0ZB8cR9MmixuX7GloqzZp76hOCnyy0WkAUEoEqScWGILG+fWcY= 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); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aUhjN2NHclArNVY4aGhsWG5zR2pVRUpscUZJS1ZNMk1ZM1FzT0hEQ2poMzF1?= =?utf-8?B?OFM5UE55aisyWnFrM1ZnQUloYmZNb1Fkck0zQU94bFlDTTVJTnhKYkZzL2Fo?= =?utf-8?B?V2d5djhZQzRtNWNuVHdkZXR6RUh3UkxYSUVEbHo0LzdQV0tTa0F5NUUvZk1o?= =?utf-8?B?TklnOExQVEFLRTE0Tmc2eWlHZ3QzWlROVUJETmZveXc3dDJaUUFoTFI2dEVV?= =?utf-8?B?UDFiQXBOSGRIY3NnbUcwZG56N3AzYUVFMGp6R282OVhOU3BNSVhRTzdrQVRQ?= =?utf-8?B?bVJyUHRERW1zWDJPejErNy9FZDhkZ3h4di9wdW51clBJanlZQVZWWXhVNSsy?= =?utf-8?B?dUkxNkllUnNIWVAyU01scmdML1R5R0dpUm5EVzcxeFUyckg1clp0YldNRGFF?= =?utf-8?B?NGtLTURTK2k4bUg0dC9rME9ISTVpWE43eTZicU1NclBJam94Q0ZLTUlUb2E1?= =?utf-8?B?N245dWNpV3Fzd0ljTlE4ZG9QaXhpZ2NFRmhpSW9LS1lDUHhYWXcxQjhZL0NK?= =?utf-8?B?OGxDWkkwdGNqZHgwVTNNdHhEa091YVVMS2R1K0FNYUZTOHV6QU9DVWhzUGtI?= =?utf-8?B?alN1alF3bGxhWTlNREtlV1dJWDAxNFBMUHZpVXdGWHBISkN0S25FSVcwS1VI?= =?utf-8?B?b0tSY0tpckNmMlpIR2x6ZExtbGlqQzJ3emdCVWJ2cExDU3J3YlR3MzFkbDJu?= =?utf-8?B?L201UVI4eGMvK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waGM1cXRw?= =?utf-8?B?RHRGVldnWUM1S1BJbGpYSUZOZkpOTm0vWThYSUhzNU5oOFVITnVDZVZQOGtr?= =?utf-8?B?cWRKNnVBcXJ5MzFGbXMvVVRnNUQ3bzdsNGhjTjlIWmpkUXBKaVVoUmZ2dDBO?= =?utf-8?B?UHdJOWFYdHlSaTNNVk8xVDM2d1BCdFNFZ2VFbW55MkNLSm96Y1NMTGl3alpk?= =?utf-8?B?VUN3NUc2aFVCMk5rZVpvSmU1YUdEbXh0QmV4WlVVdldoNGNiUVgyalU3TE1M?= =?utf-8?B?L2phV0pnOTQwRHU2Z0JHWTZhcTZGRkIvaFNoZU1QK01xQk5zZUc0V2loTFJ0?= =?utf-8?B?MWtObmpvak12QktVaEtaN0tyUVl3V282SUdBMTNHYlM3My9wTVN5MEtoMnYz?= =?utf-8?B?ckJGS0h3Y29QYktkNnlFbE5KSFU4RUFncHFCZloxdU9IVTZXalVEOWR0bU8r?= =?utf-8?B?bjMwVTJPcGE5VXRvd1Y3dkVEU0ZMU0xnSGZHYXBodXNGUU9PVVU3Z1lYSEFx?= =?utf-8?Q?0jKK2iv9db1UVtRlFShSoWLHQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17520e2d-b7c7-4914-1257-08dc3c4f0aea X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2024 13:28:56.5063 (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: RufS/jTGEtcsuzilyhCfAIQq/GwGjseIjYUOZSWedm12kP2Q7acy54DAxHdadwK1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR12MB9443 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 On 3/1/2024 8:42 AM, Chaoyong He wrote: > Add the necessary logic to get firmware version from firmware file, and > only reload the firmware when the firmware version changed. > > Also add a device argument which can force reload the firmware and > ignore the firmware version. > > --- > v2: > * Update commit log to explain what 'MIP' is. > * Document about the new add 'force_reload_fw' device argument. > --- > > Peng Zhang (3): > net/nfp: add the elf module > net/nfp: reload the firmware only when firmware changed > net/nfp: add force reload firmware option > Series applied to dpdk-next-net/main, thanks.