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 7AF5B45C0D; Wed, 30 Oct 2024 02:54:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49E6642EE5; Wed, 30 Oct 2024 02:54:50 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2077.outbound.protection.outlook.com [40.107.102.77]) by mails.dpdk.org (Postfix) with ESMTP id 0FEFD42EC5 for ; Wed, 30 Oct 2024 02:54:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kgpPLmwuWeieejdG8CNcgk84seAb5ywwAGo8Y7D9b+xVd7NDe+hm74rnv/5a7yQjhns/D+6ZHAKWNCKWzJIe5cptzXNPzesqX5dR4Lk2XZfb5z5gCAQqDiJGMjSuXG6R8tutKg1RngQnoM0K7aeoj0gE1B1G6/Iuz1zmVlJuSQIl627wuEDd5MXQO3Q3DEXgORYQHW98ALZh1VOwJou3PEJFD61p5c0FBjc8+ZUHfXgvEPIC8dNVHAKXgt026EnATqoKgujaTxgfMQmLRdx147+hqGQDSa9n7jgr1Sqqi2U6oVweoOLQZP9HQIjLFbBnmz1F35d2aNQEOpE2Gp+NRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XndM1F0gGRxy+Fo/VuDOBU2rng5/Uk7x6EJoxfovBF8=; b=bW26SxhC14aFaUDst1RFJIaArPMv6g/uBIBxml90AozYDtKs+v88/nsRxohohjE1MPpFrairmf/wBRhwzn3Xk0yPm3gCtE78RC6EJrqC4IOtZpqEwiFEGczRW6NnVK/IwBsMT5t3Gnov0Y6XFEzyCoF8t6wTLn6G2ajF843rmXFUrtMkN+kMIZe6+03+FdCweiiCOPFSs+olf8YTyi97Je9o8CmNzD3UL8k5KkL1TZ0NZqU6pwK2wEfYm1BEiFHOxZYqJ005Pa2aQGjm8ouvzW1l1IyhaS8KTcJ8zGN01cKdeXZoMokUAdad4bao3kH2N4HFmOp5o6epq7QJozWXBA== 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=XndM1F0gGRxy+Fo/VuDOBU2rng5/Uk7x6EJoxfovBF8=; b=Pedohy7teQGjeAL8DTxdWpr9pon0l3msHOQgiTFyVABvNV5GpiaxvcEuFzqCu6YJTlu0KKWUyoydZfoUlwKYao8b1wo88JFmHeR62h9OZ9DwIGu4oFQjMKDUvEq2wJF97edM8J1bUdSqbRR0jnVV4fX3RT2+NSUIYqvCS935RoQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by DM4PR12MB6062.namprd12.prod.outlook.com (2603:10b6:8:b2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Wed, 30 Oct 2024 01:54:47 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8093.024; Wed, 30 Oct 2024 01:54:46 +0000 Message-ID: Date: Wed, 30 Oct 2024 01:54:39 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 01/86] net/ntnic: add API for configuration NT flow dev To: Serhii Iliushyk , dev@dpdk.org Cc: mko-plv@napatech.com, ckm@napatech.com, andrew.rybchenko@oktetlabs.ru, stephen@networkplumber.org, Danylo Vodopianov References: <20241021210527.2075431-1-sil-plv@napatech.com> <20241029164243.1648775-1-sil-plv@napatech.com> <20241029164243.1648775-2-sil-plv@napatech.com> Content-Language: en-US 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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mmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20241029164243.1648775-2-sil-plv@napatech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0097.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:191::12) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|DM4PR12MB6062:EE_ X-MS-Office365-Filtering-Correlation-Id: db9a36a4-0fca-4684-8fb0-08dcf885d504 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?KzJHRjQ0QWhXakEzNHpQUmdKczFLdnlDSGhnZ05MbEFGbzZHVVZmWUQ3STk0?= =?utf-8?B?WG1kSlRPUjQwTzlWUExvSzZxUDVsZml4SzhsY3A5MTdWUkp4OGNBQ0Q3eEtI?= =?utf-8?B?Y0hZbGRNNnZYUDRDcUNLYUFYMzNlK3JORE5GYVdVS0JBWEU3TlhneWZldHdz?= =?utf-8?B?YmNkeXVsSWxaUndBc082ZDRybU5rakxSV1BzWkRhK2tSaDNNakxSVUxJczlz?= =?utf-8?B?ZkRMc2FZU084UFJ0VUF3ODgxWGZ5amF4MitmU21XL01wWEhhSUsyVnVIcGVN?= =?utf-8?B?bTNuWnRKZ0s3a3hSc1B2SVE2ZGlPendOTWtqSkFoUzUwSnZrckJCQTNJK2ZY?= =?utf-8?B?ZTJlblVmUXZ0TVJVM2FZQnNOMDJPWGNLbFNPY3cwZUZaM2VHd0cwWTlnWTdz?= =?utf-8?B?eFBxdU5waFI2eko4SndWSmhEK202MndwKy9WM3lnVmxIdTM2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xSSkFDSWRVZlMrbklsOFZzZEJ2bVFmRXVXclNI?= =?utf-8?B?c0hPWHZoV0dNUWczbE5ibFhJMUZvbnlOOUNOeXJ4THlHNUJZdCtISzFnNzJn?= =?utf-8?B?ZXVTdXVQZWJDQi9FKysyZ29pSW13eGl6R2tRcDN5NUVJV2JCaGNEMmFKTkxE?= =?utf-8?B?RVlzYVR3SkJJVllWYUxlbytZcTV4bmVkaFVwMzdyOWNiUUUzUFdnM2pLUVFU?= =?utf-8?B?OWZ0RWk0c2piOEppTnc5RithU2paRDI2cE9NZkUvTGs1MDZ3R1g0RHByWlh6?= =?utf-8?B?UGdYVnd4ZVh3d0d3U3IxV1NEbHpkdU9iWVphaHNIdTQ2VXdDMklrSHpVdHE1?= =?utf-8?B?aEkxb21ZY0hEVWxFMDZPZU5hVUF1YTY0RGFIYkNlR29ibTdOdVVpaExpcVcr?= =?utf-8?Q?UvuzlE8tL6BcKpU4kw=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VE1kZ2QvUHgyYVNCMGdZbm1xK054T0p0czFLSVQ2UUVZZzdqOEFuS3BDbkZO?= =?utf-8?B?WDRoU0ROWUNiY0F1U25ZY1haN1I5UWV5TzFtZmFTWmM2cDBjZzFJUE9YMkVi?= =?utf-8?B?WStaNThqMVp0MVNlQys5Myt2YjN4TEIxbnlubEUyajFjcWc0VFRLYVFsM2Ni?= =?utf-8?B?K0w5RWFSTnNRd2pJanhCejFRQjdTWFpsWktpNDhnT3FZVkVQdmZUckY5N0Fh?= =?utf-8?B?UTdzWDNhd3UyQkMwWWZuUndJWmhvU1kvRTJuWUU1c2NYVDdrTnBL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hlZVZQN2c1Rmp4VkNrVVpZVVFYVTNhTVFLN2wzeFFmNjU2Mjk2ZUZB?= =?utf-8?Q?EV/END+Wz7xC3X4wa0hZU1njO?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: db9a36a4-0fca-4684-8fb0-08dcf885d504 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 01:54:46.8849 (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: KxRpXOYUjqwh51zn3aR8nHAbZMDTkQAcvCDWHeUPrvDCJyiYbBRo84RrPhuzAc7l X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6062 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 10/29/2024 4:41 PM, Serhii Iliushyk wrote: > From: Danylo Vodopianov > > This API allows to enable of flow profile for NT SmartNIC > > Signed-off-by: Danylo Vodopianov > <...> > + for (i = 0; i < alloc_rx_queues; i++) { > +#ifdef SCATTER_GATHER > + eth_dev->rx_queue[i] = queue_ids[i]; > +#else > + int queue_id = flow_nic_alloc_resource(ndev, RES_QUEUE, 1); > + > + if (queue_id < 0) { > + NT_LOG(ERR, FILTER, "ERROR: no more free queue IDs in NIC"); > + goto err_exit0; > + } > + > + eth_dev->rx_queue[eth_dev->num_queues].id = (uint8_t)queue_id; > + eth_dev->rx_queue[eth_dev->num_queues].hw_id = > + ndev->be.iface->alloc_rx_queue(ndev->be.be_dev, > + eth_dev->rx_queue[eth_dev->num_queues].id); > + > + if (eth_dev->rx_queue[eth_dev->num_queues].hw_id < 0) { > + NT_LOG(ERR, FILTER, "ERROR: could not allocate a new queue"); > + goto err_exit0; > + } > + > + if (queue_ids) > + queue_ids[eth_dev->num_queues] = eth_dev->rx_queue[eth_dev->num_queues]; > +#endif > There is no clear way to set this build time configuration, hence easy to miss testing it which leads to dead/broken code by time. That is why it is better to convert these compile time configuration to dynamic configuration. For this set, are you OK to go with default value of the macro, for SCATTER_GATHER as far as I can see it is defined by default? Same for FLOW_DEBUG below. I can see it is used for log, in that case dynamic logging should be used.