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 6A4EC43C27; Fri, 8 Mar 2024 18:25:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 598B642F77; Fri, 8 Mar 2024 18:25:21 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2068.outbound.protection.outlook.com [40.107.100.68]) by mails.dpdk.org (Postfix) with ESMTP id 6825242F3F for ; Fri, 8 Mar 2024 18:25:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YPqUCwCnCrxpOdxP9u3iZBTX1G9YhszlAWbSEKN+PFpYI+ij7WlZyTpqZ17whDmMjwVDnGprnLd9lEy3LWuPfzo+TWv52/pb4C5Qhvl1x75ic4KmjaFt05kDJT/AvhFXFrO/At9UtjogRUBeVzAqyDGhV4t4zhEaLfo9amSYNseVACQCqd7ExII21FP+pItrivbE3x/tBdrAodgm5QAB6o9IZgZYpeH7m1ZPSiXKa3becPl7+crocOH6cHU8aYY5NAs5dqSWUU7xI23V6/crjX2Fh1km1tucQKcYY679DzNGPUy6E0qHmwLsAwwKza+krYBGf5+HvbJVAN//MTXcUw== 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=aOe1iTvpCldjwywZ3fheU3oqOo9cy430xko5qR2IHws=; b=M9xE4+4qKRP8ybLOK672Y04r16lo7OJxtWOrye98+WqEKLzGSm6WjfQG4mreqCJFZtbh89CfWoWo2glFC585mqOdOBM48hRxgEYoaZi25LBAPpNcuV2JP4YvwDhsHbmS+Jv8KMx+MOwdYlc8+GYXBaz2J9oZQi7N1q5dvsQ1nl/JARW3QmSYjwIrmshuPsZIbq3cbMuAG58MsN6bzp0FmMTqowaot2sHsm9/VINa0GtJTBaop2j+aOSJD+zvaaxetE3gpMiMKH8D0xX9+CmiX7X2LHWUJGiIsIr5dipnh5/pa+JlpuuWEhvNWW9fcRV+4sftVsXfNovse4uChdAx4g== 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=aOe1iTvpCldjwywZ3fheU3oqOo9cy430xko5qR2IHws=; b=bwEgR/JzV0E3OhmZ8eO+JlNBdBKgBw5RmCQL8lHvbWdureMQUSMKnNPCtsMFbwopUSg0MuftIisrCimP9RpZE06vetbPyKmV7F/2+QOvrsq9zoD+VsmUmM2pbWDnMOHgA/oSc1LIQqpJMUPTvThmXrQhmiPT8m6C6QrxENiznMg= 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 IA1PR12MB6531.namprd12.prod.outlook.com (2603:10b6:208:3a4::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Fri, 8 Mar 2024 17:25:17 +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.028; Fri, 8 Mar 2024 17:25:17 +0000 Message-ID: Date: Fri, 8 Mar 2024 17:25:16 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 10/33] net/ena/hal: added a bus parameter to ena memcpy macro Content-Language: en-US To: shaibran@amazon.com Cc: dev@dpdk.org References: <20240306122445.4350-1-shaibran@amazon.com> <20240306122445.4350-11-shaibran@amazon.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/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQlaXdEwL1lxf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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0217.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB6531:EE_ X-MS-Office365-Filtering-Correlation-Id: d01ca3f2-f22b-4e5e-ece1-08dc3f94b932 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0+DJB2bJjAyMKCxbMKZEtju7l/1vn1g8XAgJCB3CI/4NC38D5GSBwJwIKPTVhzeJzCbO+UKEI/oCSuliysu2XIBS8oBVaiu2Xay7tFsuMxrgEKTbTT1tZuesgqxoibztwI2WrKOrBrAqlqQZniLKUjBibFIu45MFZYLuHx7MPHLenWZwMEPGr3pzXu6tjJy6q4ohptDRPIa3SgDQxXizMkN/l0czlHqFWZlVGGtjrWTiqjRGj3ziSN3eGeFivEM4Ema+hhiMHAT1H+St3Nn/6F0ObZScJYDjAgIgRACS/KQkpPx6vDWSUtwwTqcTjsOZkxDQd0pZSgvJmJfTeQqrBBf0XIYHvZiMf3pfVtRyO8gav4Ye8AWBN7kkPbAhoMYmwNvvmcUa0ph/IrVhiuPVtLs/lUOzjhrnzRmN5dP31sqfMkMvay/Wp6gXSZJ99PrHLVrodKi6enhnigV8cmIsBWLWnmPfF1ef6zz1cZqIU6ucGSN4EhFDw9eSnZy/7O5oDSn0fBdLqiAzLe0cUijTzChd1U/zmmlN75jhKX3faPbjLlD0CfPGbvGT9MVB5Wnp8BCVcRneMUunfLQcm8H3Id+sTQYL1CM8f6ccgMosVYRcEVaPX0olKvq+EYYMd4ZW3lDym26f4hTs/ZDAck7ogRt3WrdyJoigCxqRIFowRg4= 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?WkJyK0k3eXgxVkFlK05KbjAxTWt2eXNRZjh5QlpWbml0R1UreUZ6TnFCZi91?= =?utf-8?B?Z21ubHZ4OVhGSjQvQWxueWhMdGQ1Nld4MzFONmdablhWOXZnN0JaZUhIRFcw?= =?utf-8?B?aE0yc3RsUSthd0lKekhFZnZFNDN5NDNLWlJlUTYzeHRTY0prVzlSSHovclN4?= =?utf-8?B?YmxxMXByak1DeU9kU1dQVkREd3FaRWs4azBPYUxIUGpSSFZEdTdCbUZQNWdn?= =?utf-8?B?ZFh6QVNaalJkbHBMeE1TL011cFc0QTZKTkhzUTJ4NmVNNlViWk9MOVYrWnpn?= =?utf-8?B?YS9kdTk0RXRhMkhWaUdmdlJRN0k4bUp0K1ljbld5a3BwVTlUS0RUMkpXLzJs?= =?utf-8?B?WE5kUVlFTi9FWkZEVmhGYi95ZUE1MksyYTgwc0JWby9pQk1oZ2NUMFhUZHZT?= =?utf-8?B?a3NkcXYwcFBjZUU1VzYwZzBQQTdsUVBJWENpOXkvTERjei9TcTBZNTBNK1gz?= =?utf-8?B?OVNhNk1ZZ25DNG9oclVibHl4alFIeXo5MlI2Vmp1Tnc0MzQ2TlQvNXZtMEpo?= =?utf-8?B?ZGdXOTA2Tjl0M2gzK1V3WE5SdUN3NU91M2FhWkhKRjh1OHZJSWUvcXJtVHFv?= =?utf-8?B?WU5UcWVLR3g2ZHl1a3JrbW92YUJzY0hmZkdNaHd6OHl5aXZ1aStDTFg2K2xu?= =?utf-8?B?TTgveThrZUZab0xMamdkb2RXV09hL3NPT0hyb2RXWHRrbS81RTYxcW5rNW0z?= =?utf-8?B?V1E4Q1NYbUZpKzB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utf-8?B?UytEZjRkZENtb3FWeXE4b2lDRmRqOUpYV3lFMUpUUkJud01wcnhCWnh2T1lG?= =?utf-8?B?YzFQNStPMEJHU0ozRm5LeVdUVWJ3RVc5ZERmZ1pNRVlGUThKMUF0YXZxb05v?= =?utf-8?B?VzhvNUxSK0lwY1BOeFdMQlBMV3R4K2huSnBrZit4SWJQNW55UDVNeHE3MmM0?= =?utf-8?B?YzgwV3g3WGRUTDRSampoSlB5WTIzcWYzbTAxdzRjSVdxSmpQaGlteVdka2lh?= =?utf-8?B?S01IM3hRMmdqTDZVT21taHhhMTF0dDd3RVlSUVY0YTkwWE1IVFZSRDRHYnRE?= =?utf-8?B?SHgwT1gzT0d4WWtwTXhQcmlLUDNzSmdZTC9UL0VQUzd1cnB3cXA2dG50T21q?= =?utf-8?B?SjltSFRObTRoWTQ2dGxVWU81KzNRc2xLZU1DK0Nyd0gyRXdVL3VXMUVLWWRS?= =?utf-8?B?SDNyejB2MTF3RUtWT1Mxem9VbUVXMkcyR2dta2RPdUVqMm5kUXExRFBqY3dU?= =?utf-8?Q?vukAacp/kxqA+CSXrKFpJrfzr?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d01ca3f2-f22b-4e5e-ece1-08dc3f94b932 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 17:25:17.6451 (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: IUXknqUk7N001epGcaNsdTZBB0E/kY23QF7n8D7AakDSL7FiccROBBSEAszdT44C X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6531 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/6/2024 12:24 PM, shaibran@amazon.com wrote: > From: Shai Brandes > > ENA_MEMCPY_TO_DEVICE_64 macro needs pci bus id in order > to write to the device memory when using llq. > As far as I can see macro doesn't use 'bus' at all, "(void)(bus);", how/why it is needed for LLQ? Can you please describe it more?