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 526CA41CA6 for ; Wed, 15 Feb 2023 14:42:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 456F0410F2; Wed, 15 Feb 2023 14:42:12 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2074.outbound.protection.outlook.com [40.107.237.74]) by mails.dpdk.org (Postfix) with ESMTP id 98ECE4067E; Wed, 15 Feb 2023 14:42:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eH1gdVi4+kJxOSXaxXzRFTBKAdTlcZi89daUn/k66f0pVqPUCQgsZg6BxUHm+0Ek8CB4pb/zZkxFORU1PARc7rdhP1k1sTsEGqMMKedfPDyVRTx5mTkReXg0+V+VFTAoBmyXrreDl8vOq6k5IXuub7An4+JQS+Ql9bhwl/l/uBh3Vp/6OUDmyTIFi6og/aOjePoQMhIcRw9pjZUE6VozVMYDt8c6Dv1Vj1uFct2S3IXBTuVds7NSHxXwD7mi3LnxH1/av0/1/GmJz0L1AONOZyz/7iJ+rKCgAzjI3xL8zxHFj2NjzbIRlbSZSPjzhcAhHLFDwFJKJV1mXd27B5syEg== 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=6F7ObNLAZkyBzI6cYS4yjE6Zn06CyhLMBzfOM0pbQcc=; b=CXQGkM2PKeUE0pJc9ibPAQ1hBb+Pibd6BohDe7Agw6jlqPCNzDxyoVjJZlf4NxrR9oNfwxK09Mx/VOvYs9VuMAUoH0flOsGYubCX0wgUSVwIFWPFumR3KpjTRAjBl1c/HK3oIK/sDJlxWDOGqnAVy1rZpS1lhV7etohNV/dw0yx5bZOuhHCWQp+AZXc05j7syXf086RrG+F8D8y+jzzpwTb7lOmZX3kjfbd75tPGzovT4Me3cdoX0ln4KHNya/IDFpODZVtjjvdeCmIxfzU8iPiT0j2fGPh/GCL/EM5DJJHM+g+VahQvWlKUbw5XHjgz0fUDvZ8smDjbI/DVggxTHw== 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=6F7ObNLAZkyBzI6cYS4yjE6Zn06CyhLMBzfOM0pbQcc=; b=OH1HYGyoEBIWcTnZ2wNB2IWr8JEqQH2pHkc9VTKAE4u1UJ+pk6m7o/dSMhoCyuyYf4unwZceTrPSPErpmFodBVTqoxeySIkAsh8AQBXUYX0cCzxC+mR1buJdE0M/MG7IXI7wARhpEmaQuiNMnf2H/hE8IYPDKjZ/7II1Zzon/nw= 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 BL1PR12MB5875.namprd12.prod.outlook.com (2603:10b6:208:397::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Wed, 15 Feb 2023 13:42:07 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%8]) with mapi id 15.20.6086.026; Wed, 15 Feb 2023 13:42:07 +0000 Message-ID: Date: Wed, 15 Feb 2023 13:42:01 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH] net/nfp: support 48-bit DMA address for firmware with NFDk Content-Language: en-US To: Chaoyong He , dev@dpdk.org, Luca Boccassi , Kevin Traynor Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Peng Zhang , jin.liu@corigine.com, stable@dpdk.org References: <20230208091544.22122-1-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <20230208091544.22122-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0376.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::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_|BL1PR12MB5875:EE_ X-MS-Office365-Filtering-Correlation-Id: 47eaee00-1cfd-48c1-16f4-08db0f5a6e21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 00eXQKeTezKGERjyF6MdupUNqI5AujJD80zUmmb6aiDDr9GVH06jXbX/YUxhBozhnu6Y1U1tPtf5+2KknrQAXmLu6GH16YebCt+tNDC4K0SdKPj5t5J9M3OcV+JVA7WY65b6grXhYXZrQw0wYVhiRid1OO1rN8w6KmPlPkndCTdCH4N5otOp4f95/UGHNsN+rQo81/PWegLP4dbkEsmtvFrUGkTO8pcdTDWPd41WZXyLxKvXu+TgM9v9GNk0E/9y9+MyMh9KEcOxuuXpiyjUD1vRcfBq4ftdCFIi+T1NYMOEb6o9gg9+HEne0ws4UnOB0DuAvsLgrNhcc8ywrlnPm7cXcDlFgHeWESgSePuSt4LhAZfEMR+EtnIexizatBQJpa31vkjLmWfmaFsBXb9r+gpzuobtmeniDgHMAswsSE5CUrbk26ghAW5VgfHbYuzAbpn8u1JOB4r7jRnqSsEZ950fa88mmCIKelqFdI9FAQcMvo17ZW2lQ7dmf+yN9fdjuZJr7webl5G7K/jnEBEb15JDaqFEmxBJcV3/SnQgDPcG4M7TamxmOm6ubDbNdcJQaVDkxUqxCUebHbfvsvCYsjr41T2v23Ii6KIWobMb95CfT0FyI+TZIAJhl1J7IXgWvisPt4XluWwniC+lK0+l/FCKIx/F6DvYNZZKp8OauenQ03E5P16XIoX16qGR+50kc6guOYOXrWeo10n2Oikypr7YBaIxMqyZyZf6J86Ynyc= 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:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(136003)(376002)(451199018)(316002)(110136005)(6486002)(2906002)(6666004)(31696002)(478600001)(86362001)(38100700002)(2616005)(53546011)(6506007)(6512007)(186003)(26005)(5660300002)(4744005)(44832011)(66574015)(83380400001)(36756003)(4326008)(66946007)(41300700001)(31686004)(8676002)(66556008)(8936002)(66476007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UWllN0dNREltQnZ2REloaTJDR0lFZmw4Ym5xYS9GRTBYdjNuOGJGZE1vQVA1?= =?utf-8?B?TStSNVVocnNEVGdMRUEwQ200QU1rRG1wUFcySXJXNUdac3Y5NWpBcXViUUFK?= =?utf-8?B?MVZMUDRBSFpmRWRNZmpCaEtPaHdhZVUzaTNEYVN3UDl6WENOSXZxbndORkRp?= =?utf-8?B?UnZVdHJkM0lrRzVYRXppRTFzdFRwd2hJWjdlZGpmWlZ4RWthaWZxR1FJYi85?= =?utf-8?B?UUdGV21YZUlxaUVXZUFCYlgvZkJTQUpCaU90c0VZamtrRGtYUXJxZmRBY0JO?= =?utf-8?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4LzJLSnhVTXVYVTRyYTU5RUNsbEFldmxa?= =?utf-8?Q?tGEqDP0X7kShUO5ejmUbntx6v?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47eaee00-1cfd-48c1-16f4-08db0f5a6e21 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2023 13:42:07.5317 (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: reyI3EQm64aRxIscA0gYxDjjjox7vXg01GadkL1nM5DZn6sDUOozGfsUT30AC4ie X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5875 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 2/8/2023 9:15 AM, Chaoyong He wrote: > From: Peng Zhang > > 48-bit DMA address is supported in the firmware with NFDk, so enable > this feature in PMD now. But the firmware with NFD3 still just > support 40-bit DMA address. > > RX free list descriptor, used by both NFD3 and NFDk, is also modified > to support 48-bit DMA address. That's OK because the top bits is always > set to 0 when assigned with 40-bit DMA address. > > Fixes: c73dced48c8c ("net/nfp: add NFDk Tx") > Cc: jin.liu@corigine.com > Cc: stable@dpdk.org > Why a backport is requested? As far as I understand this is not fixing anything but extending device capability. Is this a fix? > Signed-off-by: Peng Zhang > Reviewed-by: Chaoyong He > Reviewed-by: Niklas Söderlund