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 29D6F42606 for ; Thu, 21 Sep 2023 12:58:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0F8840E72; Thu, 21 Sep 2023 12:58:25 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2076.outbound.protection.outlook.com [40.107.92.76]) by mails.dpdk.org (Postfix) with ESMTP id 3419040A8B; Thu, 21 Sep 2023 12:58:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fwxg1FNeFDskODMLfqkUgPxUzMWmICFn7aeluaFO8rktH/fOryvrXuJKtrPz5f3PNVkEXUlRmjAi3Seb7j6VUyGte9j5yRG6OKKpIv0nqcSaLAeJM8BLDEtDJH26LEZrLHsfL1hrNCOYG7SkuMV7yq6m7j2jAWr4aviDIlfQCnSbqi9TGQraqpjxnPAWcigkJlWwm25C4na+CRKKHI0eqE1cWCmIa7l8vVzhxGpYjAzSwKgLQXKzNJdi1Nr3QOQiEdngufyaakjD6KJatuvC6aUXq0onGXWNSpdPS0Jv82j5o0YpfiCSqtBo984vT2ZNLskJ2k0AlexgiHN4KPrt2A== 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=O0UqtvDYYBrqlLqeBavx20JhwYKqMuEX8uUBwwJdEJI=; b=AjqO+d87QYiyd9yC6pAVpzOi5YPkupMqZo1hls8yA2sdO/Zt0X2eLMh2Po4WEmp4gSQBvkeaNk37/fmlXmpiLMpOiUeoqZPTcU7ilZDv769Nt+s9Clbji+YpZvb8hNY795a8aeat06AcJ5vKT1IRGlQdk6T8v8msNw1bcf4Ck0ag0iyPNiDXUHYMeVb6yGrvz8L6Ls9yiCaQ51KkMVYPUxlBN+U9ecvcNAfLorHXeFaTfaBSctUyfDxRzJ8d/BwNiNMWMpSEaa9VBt43szvV72/sdF6/s5Meu6kMDrMMyDa0+UiYSWgKwBgB0R0AFtJZw1YPoOOCEoYl7Xut28I9aA== 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=O0UqtvDYYBrqlLqeBavx20JhwYKqMuEX8uUBwwJdEJI=; b=CMJ/wONSjVIW8axS8Egy/ZysD9TydGmJU24QCescfuM5PkHJ32VKtNXwueaBDuNcx9v0JRfwOgyLtkGekAnLDMAxyL3V1+qDkAQsDSOruleZb2zm0+KuaZEhYIkM4U3+xWXVtKU/PVxDoJt8NbJkGLK6WGIgRQsSg9iPP9lGvRQ= 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 CH2PR12MB4277.namprd12.prod.outlook.com (2603:10b6:610:ae::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Thu, 21 Sep 2023 10:58:21 +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.6792.026; Thu, 21 Sep 2023 10:58:21 +0000 Message-ID: Date: Thu, 21 Sep 2023 11:58:20 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] net/mana: 32 bit support Content-Language: en-US To: Wei Hu , dev@dpdk.org, ktraynor@redhat.com, xuemingl@nvidia.com, bluca@debian.org, Long Li Cc: stable@dpdk.org References: <20230921083442.2104530-1-weh@microsoft.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/YAAoJEFRTPtCK Km/6d94P/irGq3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qPW6Ku 3FQ= In-Reply-To: <20230921083442.2104530-1-weh@microsoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0511.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::12) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4277:EE_ X-MS-Office365-Filtering-Correlation-Id: b4759964-06f6-4cc2-e023-08dbba91ab9a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Uv6IPATHNcyZMkXTIxun5pHlVOSml+oJC8Cn63vGgvLfJR+xE777Wz1VZmJwsET2A4HsZo1qm8Lk4RgnNd4qbltmhHnmkP6lMWjySkYENS+cCcslKYzvq6lMetMizTS2gtWWDS9ghasx3VnJvHAf86lRD35yaTU/apPSkvu8ojQblVgyx3eQNUHhs022BUQ02e4ohKHAJ8mnYwE6WsWChUC/HVxT+5tGCD58GipglexiPYXtRcrfHuw7r1DVMB6O+ZFeZsssTWzDF9tcC9SKdCM/D0+qFK30zSMFL39ptJVg5/qK+m9dkOD/v0YC79mviPtaMmENaHOBOswDgC4GF1NF51yDmyw01Ss6Mv8MJgeRkR1TeiLPv9FWUbEwPzBX6E2j5A0Ux0Ly8cAARCaqZjEQTfZcTfeM0XgQiX071e9CUv7nFBIlyqeAJE1U5as+xuwl8TjNSWER1+fxeeKbIalz7oWlNSkaBX1l7Ti/f79brOQbsBCR5UcCTOTqOu7Pa75KRU129kwo/JM/W7OdqzlsyB15y/XxmnK2b4QnmP77lHQWTIuoY7o1Owo4OYjVV2f13s491CgQKFGJXYLALUj21HZ58EkhVmr90AMq7LePHYiYIWe5PTcsXDTXsCrP+c1+fjce2H6wOslzuktj+g== 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)(346002)(39860400002)(376002)(366004)(396003)(136003)(1800799009)(451199024)(186009)(4326008)(5660300002)(8936002)(8676002)(44832011)(41300700001)(110136005)(66946007)(316002)(66556008)(66476007)(2906002)(4744005)(36756003)(38100700002)(26005)(478600001)(2616005)(6506007)(6486002)(53546011)(6512007)(86362001)(31696002)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZHl6S0hDd25GYStST25RMDZuU0hmSHk3Tno4TTh0S2lwZzdIQWJXaCtaWnVK?= =?utf-8?B?SUJqdS9vZGoxQzZnYlNzY1NpZGk3bHpPYTcxWHU2TkpLTzRDdzJzcUtOT29u?= =?utf-8?B?OTVPUlczTmZkdmRnYlhWWWhFZEZVSWVMT25TRUVJK01pTkVQRDRxdGMzcHpv?= =?utf-8?B?NTBmNzl5bDduRUVUMUEwUzdKVUFCWGU2ZzJWWUZVUHBZZ2gvUkdVMjYrMk4z?= =?utf-8?B?M09OLzU1OWFCcnhVaVVEMmlmbUZPTzNsWnMxVEwzaFpGM1pDanZ6clMrNWpM?= =?utf-8?B?MkV5NWJ2aGZRR2htSHJaOTM4anpsVjdCNnExeGtDT0hFbmxsMzBKNnh2Tklp?= =?utf-8?B?NWNwOE1MMGo2MkxBSHRyYXlySWQ0bzhCVlVyNjlpZGZmNHlkbHNqVjFJcXYv?= =?utf-8?B?UnRya0NNbmJCSlNzUndzeEl3UzVEaE9YNnFZU09NbUtRbCt1VzhFbUZ0bFRh?= =?utf-8?B?QzNDZG8wTURPbzRMSG5FcE15dndCK1gvTTZ1MnpSU2ZENWNheU9QUEJpdU9X?= =?utf-8?B?cEhpRmVlRTRVVC9kZ3UxRVhmNElNOUs0akNVbnJvU25wYjBZ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JPOUFzeGVQNGh5NXRqc0VXZExaVEhX?= =?utf-8?B?eStWU0Fqbkptd1hWd2NkUmxGa0x1YzMyZG9mT0ZZWWl4cENUZlJ2M3ZuSzJ3?= =?utf-8?B?RnVSK1Z2dk0zVkUwTVdpNFlGTTdhSkc2a0I2dmFSVjcrdnFBQnlIMjRiUElt?= =?utf-8?B?dXZuZGhJQkpmQzRRNjNkaGxTYlNPV1pnbUtyY0gxZDk2cGZqclAwMWYyQmNk?= =?utf-8?B?V3ovaWZCaGZvUys0c3NsVER5bUxybHJQUHVPWU1oRVpSdGg0UUt3ODVZVWtU?= =?utf-8?B?WDB2QVk0UHVIMDFIYkdyU2RQY3VMWWp0c2tsNTVqMDhMUnJCblBEVTc2bEg2?= =?utf-8?B?VHcwenFvbWQxdExaWWdMaytFOTZjOXJrK2V2eld0SzRsN3g0NjY1RjRuYjlp?= =?utf-8?B?aXBVUmsvcmhzSHZYNGJpQ0d5eGhDM0JWMUlydGloZkJDRFY3TGdHUkFnLy91?= =?utf-8?B?c0hobHBlTmhSc1JjeW5aM0tGNVhRZjJCYnkzUkordnJYdUpsUzcxeE56V0t6?= =?utf-8?B?eFR6TkMxc3F5ZzN3L3RRZFplTGVHNW5acWpONUhCWU50ZHdWQzQyWmJ4R004?= =?utf-8?B?ckJQRFdkRUhGZlJ1NXZPS3MzMmJzK01iWlBLSzRLN0hCVFk1RkhuOENjd3d5?= =?utf-8?Q?DazyzvLLKHKwscNLGDkUab9a9?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4759964-06f6-4cc2-e023-08dbba91ab9a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2023 10:58:21.6843 (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: 1SMICoT+QE0QtSwuk0f6jEl/Lf2VsxknxcE1XAplfxyX+uFQDpCXeim++cV5VUDX X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4277 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 9/21/2023 9:34 AM, Wei Hu wrote: > This is to combine two patches into a patchset. These two patches can > be compiled independently. But we need both to make mana functional > in 32 bit. > > Review comments received previously were also incorporated. > - change port casting from size_t to uintptr_t > - remove short doorbell for CQ as it is not supported > - add a couple missing ifdefs > - fix the short doorbell threshold counting in wqes > > Need to backport these to 22.11.x > > Cc: stable@dpdk.org > Will keep the tag and leave the decision to LTS maintainers. > Wei Hu (2): > net/mana: enable 32 bit build for mana driver > net/mana: add 32 bit short doorbell > Looks good to me, will wait Long's ack to proceed.