Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1632933lqz; Mon, 1 Apr 2024 12:04:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6rwbqXKdf4dpsRJwLmdHPGKE8msNRj1Uq8dxVMS4aSkt6Pi5YsRSZcBlnGjomMdeizJ7pvSYJ9IWGoPxABtAOJVb6uotq/DQbiJkRkw== X-Google-Smtp-Source: AGHT+IHHjIe1VRUOE3xLESEruZYHbWy0i8fwdKDh1o6r5hAJIsObaiCD+EKySgY40S6orL002NPS X-Received: by 2002:a05:6359:5f8e:b0:183:645b:cfa5 with SMTP id lh14-20020a0563595f8e00b00183645bcfa5mr13876814rwc.15.1711998282248; Mon, 01 Apr 2024 12:04:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711998282; cv=pass; d=google.com; s=arc-20160816; b=OfAO+uLAw80syXimddNzoHifiDlvIV9jZ30+GqRMZU0RxY8A8bAi08prWoXPDd0ElR s7T9fPKgg04qzlvA9bUovpMjQXph+HVlTm/k/iV3WaL25F79srKJGl7i1ly0MK1A1con DKg1QSphimn+DemzK2A0YzOrRbmdoVq2dF8Bs40I2gncC15v/+UvlTt3EJbDgP/W5g2v MKLyD3rM0qGEpQQZBWxe/0LUMSFgKiPWIH9E2bcwboT036y+yZt9VFtQexvA8dvEEAcA mxUuPLwNjH9355vTPZ4Ao752ygPCp5dkb/+A1Q4kenyPhGvwDohwCfJ0SE+R/7nBKtX3 DcGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=O1n57Ma/QTV6BEUwvaURxon/lpK2oV34MDKhy1Uf24w=; fh=L5xHiWtsqzTjLQwxQcIDOOiddCtg52wieVOv3hHf31M=; b=YNmOCh7zrpOFDdp2YNRIymvZsc+7/g37dcf+4t5mie2ebM8BAv5Ys2e5wXJ5ctbMBs Psk7+NaYJU1BpKXTbPOzKYQlBBtQPvesDrgrvgD/H6Y6dKPhfWBsjwK/EoKnCe0Dk4kb 9m3ZAPcAHZB2B6hzhk5wICI4sHn2rGtHUlFq2EozcmPQngdhOGAcQCB+kKtp29wxi/SW M8Z+cUw8Q5Wjkjeh1WoSdnYPjQx21etw+40m/xatl4pIZn8LqnUh3iVaO0ilj17WT6G9 Fy0gnCpe7CzrIqWwHk2lP/hNemUgTwofV3kkD+8Bw6svmNOI16+flXgz327rS8Oyd493 6OtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEtZqFxV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g16-20020a63dd50000000b005cdfa6ec001si9752340pgj.380.2024.04.01.12.04.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 12:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEtZqFxV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BFD96B21B9A for ; Mon, 1 Apr 2024 19:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D03B524C4; Mon, 1 Apr 2024 19:04:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NEtZqFxV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85F69249E4; Mon, 1 Apr 2024 19:04:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711998262; cv=none; b=UyFVuU7ZG3z72ke8IPxmNAayUBgkR01MpaBce6P8tpOrU80ty+6kqKVnWEkTo8cb5Hyr0zOvxhleM3Mf3gO48y27iKNqBEdMmPKhPMpL85uXUZG0NV+ORu2BsHTRaiHkPFTKcTcIpPS34gXh0dlswbZniWi8aMV4nc+cDz5n1ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711998262; c=relaxed/simple; bh=AgTHelVsz+bSEWE8bp2UzifCO3HT/TL0k8z89kPZWx4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kDCKjim72ddtk6Y7CmM+JdfzWOC/5wOJY8t1ODgEqWzWakomCpuiVkuAHL6z/fIvcVBmp6NUFCiUrOURHp6KXLuKnChNPWw9GMF/mIHky8IouuKTrasi98QgErXB+Lfz6APWE8FmLZt9yBuat1mGZESDIiHRkLd281vfVS1yZlU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NEtZqFxV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8329DC433C7; Mon, 1 Apr 2024 19:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711998262; bh=AgTHelVsz+bSEWE8bp2UzifCO3HT/TL0k8z89kPZWx4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NEtZqFxVDPiQStJtMES0JB/NfEqkor7ZgBCpa+95nYcRaLw0JMoMEHC3TZtCXpj6w cSKhcXYTWXcAfF+Szrs8ZjGHr19yDM2lQsA5mreQWq3HYIdwmz4qJpQB89kG6Rqx2d Hd+ors9yNwRXrkkAFDZoOTTJZZZtR9aD20xXfAle9shsWaA3ME2/8L7O8lz7UO06Ij JD0fUzFOnRccH+xrK6Jua/oKR7k9gJjkpkTZuHkBjBkv42cXyrWIOAySs+uLCLIQJQ zETJFd4y+PgfUth9jleAUqxLMeKAKit49sSg7PoX4Q93XOhCvNw3IrynCAVVtx4Bzg ygFaahykuUccQ== Date: Mon, 1 Apr 2024 12:04:20 -0700 From: Jakub Kicinski To: Leon Romanovsky Cc: David Ahern , Greg Kroah-Hartman , Jason Gunthorpe , Christoph Hellwig , Saeed Mahameed , Arnd Bergmann , Jiri Pirko , Leonid Bloch , Itay Avraham , Saeed Mahameed , Aron Silverton , linux-kernel@vger.kernel.org, "netdev@vger.kernel.org" , Andy Gospodarek , Junxian Huang Subject: Re: [PATCH V4 0/5] mlx5 ConnectX control misc driver Message-ID: <20240401120420.4d33a89b@kernel.org> In-Reply-To: <20240401181033.GB11187@unreal> References: <9cc7127f-8674-43bc-b4d7-b1c4c2d96fed@kernel.org> <2024032248-ardently-ribcage-a495@gregkh> <510c1b6b-1738-4baa-bdba-54d478633598@kernel.org> <20240322135826.1c4655e2@kernel.org> <20240322154027.5555780a@kernel.org> <1cd2a70c-17b8-4421-b70b-3c0199a84a6a@kernel.org> <20240401123003.GC73174@unreal> <20240401075003.70f5cb4b@kernel.org> <20240401181033.GB11187@unreal> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 1 Apr 2024 21:10:33 +0300 Leon Romanovsky wrote: > > Sorry, I have a completely different reading of that thread. > > Thanks for bringing it up, tho. > > Different people have different opinions, and it is fine. Agreed! I think the core of our disagreement is whether and when one set of people get to force their set of choices on other people. Far be it from me to try to force my opinions in RDMA or the kernel as a whole. > > As I said multiple times I agree that configuring custom parameters > > in RDMA is a necessity. Junxian's approach of putting such code in > > the RDMA driver / subsystem is more than reasonable. Even better, > > it looks like the API is fairly narrowly defined. > > It was a tiny example, which emphasizes the need for a common way. > > If we were listen to average RDMA driver author, we would find ourselves > with gazillion different sysfs knobs which do nothing except sending > raw data to FW. As a subsystem, we don't want to waste our time in > not-beneficial to the subsystem code. No disagreement here either, there's a trade-off here between what you call waste of time and what I'd call fostering organic collaboration. Even without taking your priorities into account - whether reviewing device APIs is beneficial is (a) subjective, (b) subsystem dependent, so you should be allowed to make your choice (within the bounds of Linus's trust). But what I keep arguing is that so should we :|