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 EE1D243BA7; Thu, 7 Mar 2024 11:26:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C387442D26; Thu, 7 Mar 2024 11:26:01 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2050.outbound.protection.outlook.com [40.107.94.50]) by mails.dpdk.org (Postfix) with ESMTP id 0D55340272 for ; Thu, 7 Mar 2024 11:26:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d7wYOs6RNEYJSu9ZIxX5Qhy6U2qlF99wYFqjoBo05nnoG10ukWRPKw9U+gZBmCIO/lrcm9jkWbRbH2AHHui61wYasGcNofSzFQi0zb9Nc/iGoF/hNfLVGThkm8lpG1M9WMDyZTi8U1ni07PxRaH0grJiObGQj5AFtcL3ccbIFKhXU48v4GVzLrk4z7/g07fT6C1XxhH8z2W/7U1Q2DfwREkNAJA8er+0LNkGKbkna5IwINmZZihNUp0eDXfkHzTahVOMPwAlTAnPJKwd+mPMPvfPoRtqF3HwbNTzfjY5dpZfPBhb6JU14kvB2OawqwpLi+rdz6mrmZxLP+NYr4BrYQ== 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=xQXYoPaJkBJSisICAXrdhZkqgKXItFqb6NIKIO8iz3M=; b=VhfLd9L63XLOO03+GMdsO5HVX5dyk/FcoWxxxdIm9GR92H9o0Un1r+K9St0Q3DeYpFkoSgQYrNczCnxIMsobxXtfifMVndgrQ/7BPrZmCwBiCoa95ryoJd8ECAEuOcZ4bhQRACJ7ljnJI5LaFimdPqZx90Xax/BIjbW4IzoRqmPsYcJTWYapJcKzXi6IifoXUs4SFVW+Kl4tr77jBuxxHknKOXK/aSk1CgWd/L9hIM1TkpPz9T5f2ZYZjzGYsZwunsGYf2nrJh/Uk0W/avFp5rTk8rPWRer98jl3bRO38OmkLC0mfS/07YQnyuCMUu1inxeN619woiLtJ7Lm13MNRw== 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=xQXYoPaJkBJSisICAXrdhZkqgKXItFqb6NIKIO8iz3M=; b=VEhsTHbaIZlOjKYR5J1L5UWhKH/FCLLYUh88YU4kM5xY5hVNsiTGDaBhFVjJnLCUEx2vl0Sdh2vdrV9QG1vPIeUfvnDFEp828T9vB1khMao+tQKzHEFj5IquLUNlAM5fpPErOZydAiP1O7yIUJYIQixXpbvdDn4YFcyzByQaUw8= 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 SJ0PR12MB7068.namprd12.prod.outlook.com (2603:10b6:a03:4ae::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Thu, 7 Mar 2024 10:25: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.024; Thu, 7 Mar 2024 10:25:55 +0000 Message-ID: <33a18d63-192c-4b2c-ad1c-3c75d713bc33@amd.com> Date: Thu, 7 Mar 2024 10:25:48 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/tap: allow more that 4 queues Content-Language: en-US To: Stephen Hemminger Cc: dev@dpdk.org References: <20240229175620.122949-1-stephen@networkplumber.org> <20240306122104.143a7424@hermes.local> 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/kEp49aIUh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k= In-Reply-To: <20240306122104.143a7424@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0073.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::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_|SJ0PR12MB7068:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fd18203-856c-49b2-ec81-08dc3e90f910 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Poq8eoRjLRSbpIASD0FRkoo/+eHjuJZQI3flUv8dhOyceOE6WZUlAiz3Xf+nQKUoDSqc8q1hgKAOB3Lp0eDsTcrScEOU5yEOMOWRa4UqL3iGF3bqH95l0ZGFNr3z/KcMfamgzAHZmR9ZysnfvT2hhxKWOGupG5VvxijJXWdDgBwPA2t2jvhyIeRKTFahYjPPHzylRGdCU0ieVYFIqFEkj1ZN5SfQGVjkD+fjt6QKZylb6lMScK8gxjSIXoFKjqbbe0vgnum2+Vfhd7caiMxIbqpst5qN/32Zx6KjZvTuBUgz8pZ0Uz9AuLPa7o3bWh+dO23Ov0xqlf+/11rL0kHpLCElKhSuw8Nne6wRnYU4UZd7LSN4Az0YjQcnVVnJVNPu5Q7JQxKFKLBe7wCLzNPUUFdG7MWIqV1l7MlinV2/jEm39nJyGrv3ymiB3llOpS+q2pYm/YDhZO6gvDuzw/etBJt3qCmMtfFtFx4YEZxuDHxgsiKzbzdNY0gkpfLaLf+3LrqaQlG4cTvf4w0vIuqJuy4pFacF9grd/dF+7KvAWVDGOHXdFVzO2TVGgHp8OtQTJdQG8x2lZQId7MpguM10jof6TMQaIHuqLaoh1fN/n3kkOftiJwQ+DFoLpu2peuRhpvOVRDP8kCrRyZr4IwCXuj/f7CuesCL2pt0YR4Y1wWk= 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?UE53aHJ5QUZtcFAweGgveHJlYzVKNUdFZHFqMmRSZ0IzRUhYRkNxY0xHa1Ey?= =?utf-8?B?QXBJRld1bkZQdzNSTFowUHV0M3FRQTJNcS8za0FucEJ0WmRMQk10dHNLT3dO?= =?utf-8?B?WDhHN09XV1NLNnBuTzB4bGplaGhvZ2NtK1hHR3RodmEybVdGL1prd1J2NGx1?= =?utf-8?B?SUxGY2g3OGx2c2FsbTNOVDZ5U1BGY0JoN1poY1ZQWjNGek1ZUm53TGxqUnZQ?= =?utf-8?B?MldOQnNKWXZEdDRlUllYTlZubDlUQ3B4eGhKVTF0aXFJRXBveSs1L0NwbktC?= =?utf-8?B?U2lNRVYxNzdsNUoxbGx3QjN3VmpZYVQ5Uk1iZmpuV3E2aUxJTGJnOUJRLzNs?= =?utf-8?B?cGtEWDZReVNzTHMzSU05UGlPS1NDZHlzdHQralRmckNFSVRWYmhBcWZ1eXBi?= =?utf-8?B?Um5VZW9VcTFpVk5VRlBLcFFmMTExTUxpbXFFbXB0SkV5RXppU1lyUWQyZE96?= =?utf-8?B?Zno0REdCcjZVb2l3ZWQ2UUlYRnhxT3ZSRTIyVnJEWDZCRk4rd2R1VHYyeFNM?= =?utf-8?B?QU1zeCtHQ0hBeVozZkdTMXZ1QzdVc0dwTGsra0M1aVk1ZUdMTnhsY2ZHT0hO?= =?utf-8?B?STFxWlBuZUZGQ0MwYVNyWXA0YUZKZ09ta0lQNEdZbzZUcEhhaDJGMEFOT3dS?= =?utf-8?B?dGFRR2dIM2RHNW1zNHpDZ21JdThmdUxtZmpOWjlLY2ZV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1JrcDlDeXhVYTRMcEQwcmkyWm9HTVBETFU2cExCSEY3?= =?utf-8?B?Z3YveE5aMnlzeUh2Q2dsbndPNTBoK3FFMzN0Zko2WjhHMVF1cjNNQVo5K01O?= =?utf-8?B?NWJRakRrR1pOUGlwUFJrR3A5Rng5S3FUbExkRWpJeThFSlhQOWczLzVVaTd6?= =?utf-8?B?NE94amN4VEpoTnI4RURaSW1kZzF5blI4SEhOQUdSb0ZqS09PZ0owZG1TaWI1?= =?utf-8?B?Mi93am5GUEdYQnpzTU5HWEVBZ1Fqd1dOWkVCTFd0MFFCcFFIeTRpNGU0WWpP?= =?utf-8?B?NTQrSDFhVW1aMHlTQSttbTN4Zm02TGVkdWJJZWg1MDJOdTROd3pOUUxQdjFF?= =?utf-8?B?a1R5THBhQk9VTk50dncvYXpQdUZHa1o4UjZhVDZxQnhyTmdVNS9ScDRKdFVK?= =?utf-8?B?Zk5Pa1ArTnlWTXdDdnRRZWlYTmNRK1Z1dUpYeHlieW42bVlhaEpQdk8xSEhT?= =?utf-8?B?RjhhZVc4MmhqOHhiZ2w5UUozT0tqSG5RSDlESVg3cWxXSWs1aDRQT0xyYmJ1?= =?utf-8?Q?3AO7I6eQJLwpGy6A6Z/qBZPNC?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2fd18203-856c-49b2-ec81-08dc3e90f910 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 10:25:55.6525 (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: vj+Kgv+6kdEQL23LfH8NbJYLSBds1Pv0VEWZpDNCZsIUsyubtysn+QO5CkfEv0Ra X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB7068 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 8:21 PM, Stephen Hemminger wrote: > On Wed, 6 Mar 2024 16:14:51 +0000 > Ferruh Yigit wrote: > >> On 2/29/2024 5:56 PM, Stephen Hemminger wrote: >>> The tap device needs to exchange file descriptors for tx and rx. >>> But the EAL MP layer has limit of 8 file descriptors per message. >>> The ideal resolution would be to increase the number of file >>> descriptors allowed for rte_mp_sendmsg(), but this would break >>> the ABI. Workaround the constraint by breaking into multiple messages. >>> >>> Do not hide errors about MP message failures. >>> >>> Signed-off-by: Stephen Hemminger >>> --- >>> drivers/net/tap/rte_eth_tap.c | 40 +++++++++++++++++++++++++++++------ >>> 1 file changed, 33 insertions(+), 7 deletions(-) >>> >>> diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c >>> index 69d9da695bed..df18c328f498 100644 >>> --- a/drivers/net/tap/rte_eth_tap.c >>> +++ b/drivers/net/tap/rte_eth_tap.c >>> @@ -863,21 +863,44 @@ tap_mp_req_on_rxtx(struct rte_eth_dev *dev) >>> msg.fds[fd_iterator++] = process_private->txq_fds[i]; >>> msg.num_fds++; >>> request_param->txq_count++; >>> + >>> + /* Need to break request into chunks */ >>> + if (fd_iterator >= RTE_MP_MAX_FD_NUM) { >>> + err = rte_mp_sendmsg(&msg); >>> + if (err < 0) >>> + goto fail; >>> + >>> + fd_iterator = 0; >>> + msg.num_fds = 0; >>> + request_param->txq_count = 0; >>> + } >>> } >>> for (i = 0; i < dev->data->nb_rx_queues; i++) { >>> msg.fds[fd_iterator++] = process_private->rxq_fds[i]; >>> msg.num_fds++; >>> request_param->rxq_count++; >>> + >>> + if (fd_iterator >= RTE_MP_MAX_FD_NUM) { >>> + err = rte_mp_sendmsg(&msg); >>> + if (err < 0) >>> + goto fail; >>> + >>> + fd_iterator = 0; >>> + msg.num_fds = 0; >>> + request_param->rxq_count = 0; >>> + } >>> } >> >> Hi Stephen, >> >> Did you able to verify with more than 4 queues? >> >> As far as I can see, in the secondary counterpart of the >> 'rte_mp_sendmsg()', each time secondary index starts from 0, and >> subsequent calls overwrites the fds in secondary. >> So practically still only 4 queues works. > > I got 4 queues setup, but looks like they are trash in secondary. > Probably best to revert this and fix it by bumping RTE_MP_MAX_FD_NUM. > This is better, but does take some ABI issue handling. > We can increase RTE_MP_MAX_FD_NUM but still there will be a limit. Can't it be possible to update 'rte_mp_sendmsg()' to support multiple 'rte_mp_sendmsg()' calls in this patch? Also need to check if fds size is less than 'RTE_PMD_TAP_MAX_QUEUES' with multiple 'rte_mp_sendmsg()' call support.