Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3988010rdh; Tue, 28 Nov 2023 08:52:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEpgYAOzWuUVMoRYMKljp84bO5ipaiageC8UXNsxfmWsBEltMm5dKP7f83dwX47+Qak8Xh X-Received: by 2002:a17:90a:d98b:b0:27d:2663:c5f4 with SMTP id d11-20020a17090ad98b00b0027d2663c5f4mr21040150pjv.47.1701190339674; Tue, 28 Nov 2023 08:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701190339; cv=none; d=google.com; s=arc-20160816; b=pH0xnvwYl7UHXtCfBpSIHAia8aZg96ror9cCfRbQM4i1Iff4795UCeIijrEJhUlSvb LIfLrF0O1eA89AdjnbmxGgYD/iQSwNuDxsKkt8uHWmklaJ5zRfXBxgAiRmBlC72efEbl Jv97DAr/30dfBT/PtY7A7SZD9XPX+87lIz6cb6YgOuq2voKkNNQ6VipM4EUZb9sqfMzq 2KB+GBGwK35ww+4PscwtdBAwEV4v1QUvITRC3Anx78OfbYOwd7cZJAVOSo0PXBjCJ7pf 48HulUr5z17wMOPM4AkRsuBFuTywhkXhKwipqt49cdVr/r6vE/M0kzZSs9SvaMLXfmlL zO6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Pey4Q7mxhyh+8HCimUV7zhIuAIU+eSO28bUmiIRuylc=; fh=lttYay3gEdfyPcK9Zt5QEQAx3q3bGkAM47Oc32QGMSs=; b=x3K6zl6LSuXOEmJ4n4jCz5n7VA6zm+JxBR7IQKYKDL0MwtWhxMLqKc7qzC410fkrZj pK9QVxUTyux/UaO1VNzunKkAUFXFNtuscp6ne0uWOFbsTUEgnseyMz1u0eQzGaunqXiM PA1O0TVziUiO5EpoW0FekRx8zmWrF7x/tRLl17S+VGyXoQ364bAFMRAsZVjsplPWFgcp VzrSzjyDpFdQQnQCdpa3OR/CsFcvt2GXWQC9UePmtWaJ3XqrJqlBj2XZp5gKqFeKtW+C UYnp+sPYg+Vndn/AcYMTtKENeTJzicuJZZc5aJ9QVgEe2dTqucdIv1yXFB8SAHkZgIw/ JM3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SU+aHa6p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l8-20020a170902f68800b001cc5f995bccsi12440427plg.182.2023.11.28.08.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 08:52:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SU+aHa6p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DDC7A822D142; Tue, 28 Nov 2023 08:52:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234726AbjK1Qv6 (ORCPT + 99 others); Tue, 28 Nov 2023 11:51:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234893AbjK1Qv4 (ORCPT ); Tue, 28 Nov 2023 11:51:56 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A4DDD4B for ; Tue, 28 Nov 2023 08:52:02 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 877A6C433C8; Tue, 28 Nov 2023 16:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701190322; bh=GW4XIkaMDJZ63oG/z6tnggU5ESaXaU0eLAirvy2qaoo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SU+aHa6paqlU5a2RUYypewI8ISrvrQ/kZ88NCv5CrHyLJKUOeXT3TdueR2Z+BJTov xi/o2uR6UaKDEa/4QzTa2Li2i47FjO+FqfARSXSok20HF8S1l58kOtUWZqzgfk279z rqFhPS0pVdrqskeczdCoGZAppWNyyIILsKpPlHYPXmvUe5E0+u5KuOCPrxUekUzM4f TwTysbdoLweQv3J0CX9TeQAkP5tGGx5BNeJDMk2PoJXsumitne5rsEMT6Am3H9A6Qy PefUbi2XP0TZP9Dm+bW0SRcexWBNCqTCxJxnXYgqQLVS9LEQUWO91qBJ39wPgkL62s YoIJ2vpU78ISA== Message-ID: Date: Tue, 28 Nov 2023 09:52:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 2/5] misc: mlx5ctl: Add mlx5ctl misc driver Content-Language: en-US To: Jakub Kicinski Cc: Saeed Mahameed , Greg Kroah-Hartman , Jason Gunthorpe , Arnd Bergmann , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , linux-kernel@vger.kernel.org, Saeed Mahameed References: <20231121070619.9836-1-saeed@kernel.org> <20231121070619.9836-3-saeed@kernel.org> <2023112702-postal-rumbling-003f@gregkh> <20231127144017.GK436702@nvidia.com> <2023112752-pastel-unholy-c63d@gregkh> <20231127161732.GL436702@nvidia.com> <2023112707-feline-unselect-692f@gregkh> <20231127160719.4a8b2ad1@kernel.org> <20231128044628.GA8901@u2004-local> <20231128065321.53d4d5bb@kernel.org> From: David Ahern In-Reply-To: <20231128065321.53d4d5bb@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 08:52:17 -0800 (PST) On 11/28/23 7:53 AM, Jakub Kicinski wrote: > On Mon, 27 Nov 2023 21:46:28 -0700 David Ahern wrote: >>> You keep saying "debug information" which is really underselling this >>> driver. Are you not going to support mstreg? >>> >>> The common development flow as far as netdev is concerned is: >>> - some customer is interested in a new feature of a chip >>> - vendor hacks the support out of tree, using oot module and/or >>> user space tooling >>> - customer does a PoC with that hacked up, non-upstream solution >>> - if it works, vendor has to find out a proper upstream API, >>> hopefully agreed on with other vendors >>> - if it doesn't match customer needs the whole thing lands in the bin >>> >>> If the vendor specific PoC can be achieved with fully upstream software >>> we lose leverage to force vendors to agree on common APIs. >> >> Please elaborate on what "common" API there is to create here? > > Damn, am I so bad at explaining basic things or y'all are spending > 5 seconds reading this and are not really paying attention? :| > >> Do you agree that each ASIC in the device is unique and hence will >> have made different trade offs - both features and nerd knobs to tune >> and affect the performance and runtime capabilities? If you do not >> agree, then we need to have a different discussion ... >> If you do, please elaborate on the outline of some common API that >> could possibly be done here. > > We have devlink params. If that doesn't scale we can look for other > solutions but let's see them not scale _in practice_ first. > >> You said no to the devlink parameters as a way to tune an ASIC. > > What? When? Jason responded with the same LPC reference, so I will only add a reference to the slides for interested parties: https://lpc.events/event/16/contributions/1359/attachments/1092/2094/FW-Centric-devices.pdf > > Sounds like you'd like a similar open-ended interface for your device. That's the danger of chiming in on threads like this - people drawing conclusions they should not. My interest on this thread is along the same lines for commenting during both the LPC 2022 discussion and again at netconf this year - trying to understand and keep track of the strongly held opinions of maintainers and what options are deemed off limits for similar needs. No vendor wants to go in circles redesigning and rewriting s/w.