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 213B7425D0; Mon, 18 Sep 2023 11:33:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E472540263; Mon, 18 Sep 2023 11:33:40 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2044.outbound.protection.outlook.com [40.107.93.44]) by mails.dpdk.org (Postfix) with ESMTP id 370944021F; Mon, 18 Sep 2023 11:33:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XtFw1vHYKjTDWiw1v1Kmgk0PSTVByRzVyK1sIT6OiS0z9b5uoks1dVGOVOlIFiBBI3tBtQjoQwsMNnRUZ1AA73o1XgKvc4PGJpf53DzfMen/H68ZW6FMODVzW8oEg2suZcH60e29KG14wZUWh0eOz2YzoJIXXBNFyOMfy5VOfSGbW3zWiO3/04uwdbI8r9TWlEJT5J4Z6rO/Wi5cUurpmbI7FTbqchwmmvouog2DulffsqiVEhgyv3YaqD02r6D7WLCBo3iES9Uh6+qH0g4KZoLU532NZLQS+rTycfkFCxn/Jsjo5qQ1R5k2FmGs0jTWVX0Elh/BM7C4yojDtGdxbw== 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=xKFmvOTrX36ER38vpuQvJlf+5jULGVim8S+cun7scmY=; b=aURgEIR/OFaoX3zYCmPOYBPj6gIWHqEca0U+49MUEWn/M62k2+v6kQTMBO5nzTTTYjV5rE1xQfugGZCm8zmi9DnMPuAu40Z8o7Z+SHz5X7wEGJmuKGY+lRgkpNOAMf7C9h7freDi9DYkwL4uVPNesZo3hhvAsdjWwmHSLebRXwyH3cQh8TgC9b6hvioUEPb4Flib5J+aucPknPfw1QnpxU1pveV4A56yicwQX5j1MLbV5ldNI2pm9B4FBNXaxNCAW46Ii0U+8G5QWsoR0kJznkPQWsB9PN3w52KVe8EXYimKShiSzKbQOdxkHxnyegbGmBQ6di9meA2x6ESwRiS7Ag== 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=xKFmvOTrX36ER38vpuQvJlf+5jULGVim8S+cun7scmY=; b=zkQwvtnkEugUQTt2O/7Ai0W+YC4j7YKggsTUiAnr1m8q7e+ezcc9V8yfsbXleI11ZogbZv9C4zBNoxBXkextrYGMmfHALzjYRSIqBAngHUAeUkdmURDwvSBujE36tD7qxU9yjqw5WhOJLfpFQkDDlDJt4g17/caCdjBGJ4FonS0= 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 SJ2PR12MB9008.namprd12.prod.outlook.com (2603:10b6:a03:543::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.24; Mon, 18 Sep 2023 09:33:36 +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; Mon, 18 Sep 2023 09:33:36 +0000 Message-ID: <2362c757-3cf7-4b4b-b507-402781d9a810@amd.com> Date: Mon, 18 Sep 2023 10:33:29 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v16 1/8] net/ntnic: initial commit which adds register defines Content-Language: en-US To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , Mykola Kostenok , dev@dpdk.org, Christiam Muf Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, "techboard@dpdk.org" References: <20230816132552.2483752-1-mko-plv@napatech.com> <20230908160715.2498821-1-mko-plv@napatech.com> <684a4b8f-3cf5-49fd-a196-291132146b4d@amd.com> <98CBD80474FA8B44BF855DF32C47DC35D87BAF@smartserver.smartshare.dk> 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+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWW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IHhWED0jNXzqztrVX18CzA6r0ReY SG+CSyycKkco6UI9ZeUrXFwnoUJqIJY9wTJo5gD9EgGIbItv3qWTq29dihLYpzd6dqB708k7 4RBz9051oLaFVGkguFw/tXmA17nx+c2uR5jx8wb4j68umG2X++0dSta5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87BAF@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0137.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:193::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ2PR12MB9008:EE_ X-MS-Office365-Filtering-Correlation-Id: 5612dc75-e7ac-48e5-2628-08dbb82a54f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DOmAoReNKPp3cIHrJdJhkoMo4Itm4ar+Oj+7KmZIfs59Os/MgcxZOpM/9ZQKcSh3MgeNDj31a3kSYDjZBrtotQwHDByZStaMbsbnGuriT4OpwPtylxZBaXfkBqC3WSsE1UHXwBCYYFwtCmKpO0mRicN+zhYndFhqVEyDOV6/Wi8weH5Ylxij4dBYSDjBzIfDup/8hyGIlNAFc4FDmWyDVOfrtmoZKGpWTmT8FzNQKVIsosNkKsUwt60wAAzaSIJNKrg1RWJA0wrXMwicphcVYI9HCsvY48i00eCnXWFIiy1AsLRiVbiFgy86HRym2Afq7LAuFFN1arjaIj5zVhE1NlDw8D/sGpnHMYBO+v6bj1bdt5bv/+QBqTD7ASDaL5ZMayUvlcjbyipGmdVPSY5CWrLZMycAbgj3vZmjTsAFWmpkCYVv0J3FnxhiDraFrKIhg9ESpJr8LAZZ1id1YCtJmKbdmAoc8DTWy8BnEz4H+gXR7sHG2P/9Dubh1I4zTbFlk7sIqZinVlyOCll1b9YGFuh378KSbcRAjLBE4KLSQhqWafkZVIlxfkGAFXZE0+WGXqdKix2CC2yvcTMryNQFvZ5DkETUCqVOO2E1zTRapr6OtW7ZLYEoUa1EANKvupWWDEL7CIaECr4PrBBOqkpAKw== 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(186009)(1800799009)(451199024)(2906002)(31686004)(5660300002)(44832011)(4326008)(8936002)(8676002)(26005)(41300700001)(316002)(66476007)(66946007)(66556008)(110136005)(53546011)(478600001)(36756003)(6666004)(6506007)(6486002)(83380400001)(2616005)(6512007)(66574015)(38100700002)(86362001)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OHBVSkQ3NFJBU3hSR1ZiTlY5c3EzVVh4OS9Eb0NadUFyYy94b0JocEcxTFBK?= =?utf-8?B?UDZzVTFyMDFOeFpnVFFqT29HdmU0RWNjZFZYTk5wajhDVGNRM3RhcVhxRWl1?= =?utf-8?B?Z3NjTHZmdVoyNmRsTlBta0NFL1dzVzYrSVBUOG1jVkxpeFVyVmVGVEEvTU05?= =?utf-8?B?YWdlZmNWOXRBMVFEb0RSOUtodzViSllEdGtjU0lZVzRuNXFIc0NjY0ZBbDVC?= =?utf-8?B?ekI1QlZhdjVpRE16azVlcmZya0JQRThnSFFWVlVpNlJ1M3BGQ0l4UVdVZE9z?= =?utf-8?B?WHZ4amN3cVB1ZHFEbnE3Rjd5Rm43dWlRV3FiTENEcmRuRW90R3hlMUxBWXhD?= =?utf-8?B?N1NBeFp3STFBRXJsNVUrUTdnNVhkNzQ2T0FOUVRMMlFZbXhhdTA4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e7ac-48e5-2628-08dbb82a54f0 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2023 09:33:35.8922 (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: xZRcTQ0xcATViv3J8b9nJEhZ7o+gF34PpguBUA67AEXp60YdIRkxMDUKpFrDXcxu X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB9008 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 9/15/2023 7:37 PM, Morten Brørup wrote: >> From: Ferruh Yigit [mailto:ferruh.yigit@amd.com] >> Sent: Friday, 15 September 2023 17.55 >> >> On 9/8/2023 5:07 PM, Mykola Kostenok wrote: >>> From: Christian Koue Muf >>> >>> The NTNIC PMD does not rely on a kernel space Napatech driver, >>> thus all defines related to the register layout is part of the PMD >>> code, which will be added in later commits. >>> >>> Signed-off-by: Christian Koue Muf >>> Reviewed-by: Mykola Kostenok >>> >> >> Hi Mykola, Christiam, >> >> This PMD scares me, overall it is a big drop: >> "249 files changed, 87128 insertions(+)" >> >> I think it is not possible to review all in one release cycle, and it is >> not even possible to say if all code used or not. >> >> I can see code is already developed, and it is difficult to restructure >> developed code, but restructure it into small pieces really helps for >> reviews. >> >> >> Driver supports good list of features, can it be possible to distribute >> upstream effort into multiple release. >> Starting from basic functionality and add features gradually. >> Target for this release can be providing datapath, and add more if we >> have time in the release, what do you think? >> >> >> Also there are large amount of base code (HAL / FPGA code), instead of >> adding them as a bulk, relevant ones with a feature can be added with >> the feature patch, this eliminates dead code in the base code layer, >> also helps user/review to understand the link between driver code and >> base code. > > Jumping in here with an opinion about welcoming new NIC vendors to the community: > > Generally, if a NIC vendor supplies a PMD for their NIC, I expect the vendor to take responsibility for the quality of the PMD, including providing a maintainer and support backporting of fixes to the PMD in LTS releases. This should align with the vendor's business case for upstreaming their driver. > > If the vendor provides one big patch series, which may be difficult to understand/review, the fallout mainly hits the vendor's customers (and thus the vendor's support organization), not the community as a whole. > Hi Morten, I was thinking same before making my above comment, what happens if vendors submit as one big patch and when a problem occurs we can ask owner to fix. Probably this makes vendor happy and makes my life (or any other maintainer's life) easier, it is always easier to say yes. But I come up with two main reasons to ask for a rework: 1- Technically any vendor can deliver their software to their customers via a public git repository, they don't have to upstream to dpdk.org, but upstreaming has many benefits. One of those benefits is upstreaming provides a quality assurance for vendor's customers (that is why customer can be asking for this, as we are having in many cases), and this quality assurance comes from additional eyes reviewing the code and guiding vendors for the DPDK quality standards (some vendors already doing pretty good, but new ones sometimes requires hand-holding). If driver is one big patch series, it is practically not possible to review it, I can catch a few bits here or there, you may some others, but practically it will be merged without review, and we will fail on our quality assurance task. 2- Make code more accessible to the rest of the world. When it is a big patch, code can be functional but lots of details, reasoning, relation between components gets lost, which makes it even harder for an external developer, like me, to understand it (I am a mere guinea pig here :). If a customer would like to add a feature themselves, or fix something, even after vendor no more working on that product anymore, customer needs to understand the code or some reasoning in the code. Or if someone wants to backport the driver to rust, or a DPDK developer wants to do a rework that requires updating all drivers, or a tester would like to analyze the code to figure out behavior difference of the devices. I think I have witness all above cases in real life. If driver is split into more patches, it makes patch easier to understand which makes code practically more accessible to other developers that are not expert in driver. Overall, yes splitting patch takes time and effort, and yes this is an overhead for a code that is already developed, but I think benefit is big so it worth doing the task. > We, the community, should not make it too difficult for vendors trying to upstream their drivers. I certainly consider it unreasonable to ask a vendor to postpone the release of some existing features by effectively an entire year (considering that only LTS releases are relevant for most of us) because we want the vendor to refactor the patch series to match our preferences within an unrealistic timeframe. > Agree to not make upstreaming difficult for new vendors, and indeed we are encouraging more vendors to be upstream their code, this is in best interest of both sides. Distributing upstreaming effort to a year was just a suggestion, it can go in earlier as it is becomes ready but I can see it will take time to split driver into features and upstream them. As I am from a vendor too, I can understand the product/customer pressure, but I hope this approach can encourage vendors start upstreaming early or even better upstream as they develop the code. >> >> >> As far as I understand last patch opens a socket interface and an >> external application can sent control commands via this interface. >> I am not sure about this side control channel, what is missing in the >> DPDK API? Can we try to address them in the DPDK layer instead of a >> driver specific solution? > > That would be great. > > AFAIK, other vendors also has a bunch of out-of-band communication, e.g. magical EAL parameters to the MLX drivers. So let's not be too hard on the newcomers. ;-) > I did some thinking for this one too, As we are in userspace, it is easy to have side control channel, and this can make users life easy, so this is a practical thing to do. (Indeed there are already some ways to do this, without PMD exposing a socket interface.) But this also reduces effort developers putting on DPDK layer solution, because it is always easier to add more support to the driver only. And overall this reduces portability of the DPDK application, each application becomes unique to a device (This is a bad thing, but I also need some feedback how bad it is in real life.) To balance this, we said if a feature is too specific to a device, it can add device specific API and this is better than device specific features pollute the common, most used code. And push back to introduce more new PMD specific APIs unless it is really needed. But creating a socket interface directly from the driver is more than PMD specific API. Technically application control interface can rely completely to this. Even we assume this is not for control, but just for debug, I can see it can be useful for debug and again practical thing to do, I am still not sure how much it hurts if each driver has a custom socket interface for their debug needs. Overall it makes more sense to me to have a unified/common interface from drivers to DPDK applications, which is through the ethdev layer. And improve and extend the ethdev layer to satisfy driver needs. In this specific example, I am for rejecting the socket interface patch, but I would like to get more feedback from @techboard. And related to not being too hard on the newcomers, unrelated to being a newcomer or not, if a process/feature/approach approved once, some others will point to it and will ask to do the same which is fair in their perspective. I had multiple instance of this in the past. Of course we are being easy to newcomers but not in a way to allow code that we believe is not good thing to do, but going easy on process may be :) >> >> >> Thanks, >> ferruh > > Thank you, Ferruh, for taking good care of the community by providing constructive feedback like this to new NIC vendors! > > Please note that my feedback is entirely process related. I didn’t review the driver, so I have no technical comments to the patch series. > > -Morten >