Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp468691rdb; Thu, 15 Feb 2024 06:00:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVP6KTLml9bSMgycEAYk/AFR7EN9hCTzIbeyDCUZyBn/NBghPZwnHlU9GNdovb2DBVc6VnXRxLYJ7OQcpze5eK62WVVGlIKDm/lFt/bFw== X-Google-Smtp-Source: AGHT+IF0Wz4/izc5VUyHYqAWPV46IFMg05A/l3pXycuNAft6/q8eNh9BpSl/YF6Wvp8turTA2KuQ X-Received: by 2002:a05:6358:750c:b0:178:94bc:731e with SMTP id k12-20020a056358750c00b0017894bc731emr2413407rwg.8.1708005612534; Thu, 15 Feb 2024 06:00:12 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y14-20020a63ce0e000000b005d8e2f778c7si1151572pgf.294.2024.02.15.06.00.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 06:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66969-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=@Nvidia.com header.s=selector2 header.b=LZEIjw4l; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-66969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com 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 EB87CB2D20F for ; Thu, 15 Feb 2024 13:21:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAA62130AC5; Thu, 15 Feb 2024 13:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="LZEIjw4l" Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2062.outbound.protection.outlook.com [40.107.220.62]) (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 B612C12FB13; Thu, 15 Feb 2024 13:21:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.62 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708003305; cv=fail; b=LbOzNmL1wpK4KMG24vmhclOU61N5T7tUKPzWMwe3Wr7YPzk0RBvsBVMkEwz2HD5CwRVuaQwrRP6wrYMXHNuIT8cwsSyWeHq62liUf0ZmmDiYFxQLGrSvsNGKiGtjdBqlEuhfiz72oAnDmESjej2SfDuiN7gcnFScXaNQs3fOT/8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708003305; c=relaxed/simple; bh=mGIiE3Y+EcuMZhDR9I9BZGJyCeueBCuvW06B9RpXar0=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=qZwfJ9NMpuUSPNti52+5HE1e3izY7yU90dSJZVO3iOWRBAZjcV4Q3LLqiJoP7Zo25wagGgrfIMrRjEI2sLzYZw45d8KwO5f+rul24DtEWeQhkMZ5kPg+MYKsGlOXFqbiRGXUS4uxBQZB3qKh/nn7hIk1kjCvrpbnQa8eszfwjMQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=LZEIjw4l; arc=fail smtp.client-ip=40.107.220.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B3QWRyM9LbzZSggWXrmNZfGnHPa09cR8J/mnEcjaUk8gOWlymt0eKUaYNkvcauo9XjMcjr+n9SYZ2DYFZtrqOLUopzC8F7HNJCTVI4YWHtGP9vvyI+nxyMM3sgEWZIadxfqMvdlBj8XfQqgF3uHFvYIALPfejmk7087ObCWpVN9U4lyQafyW3YvaCXtxvhlm6t8hWBKXSJ0w8KFrGoeDnoPmiFl7UBO3c8A7M2gmj9hBwEfNeHDnedDGyqhVw+mtvY91uAmyjYqeK/NoRgxyUJ7e2ZNdkpjw0QvpEzV484kdVYYG+K4AUSwKmufAXv0xhkz8ncc08amJXT7vrmTbDg== 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=tY9KfPy8aQrSo4A5Kz8iCDUM3Tu6Ty8K/720IDRrf9I=; b=lEY0XY9OmCbMx/2m8fORx/4XMaXBEkKFx5qLLEJBVwcDFmAqcwIhFfdfS5J3LFZacD0pOYJkd9yFYkgaD9hFPdWzCTklH/zvS6wmiMps+CsrGjasgGQXx78ntA4RNbhectEpzm24dnBEfiSKw7xh/3tS+RLcICBlI2/CPIzj5uqZOGWL2ziKEV96SXHFlgLySB79z01AtmDE1dRDQVZMl2qeLt8LGVUUZ51ru4p1/kAEnm0SCF4MiySJSIYcLqJZzaXnLyydN/ZuoHzyai8fQxk3MpsRmk3Cbx2GCMqijSvT8aiAP92xyovGphod/K/g14pFIWv+YuJwEUkUg69TVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tY9KfPy8aQrSo4A5Kz8iCDUM3Tu6Ty8K/720IDRrf9I=; b=LZEIjw4lLUOwI+QdeuAdfZkV63W4rEn+G6OYcRAD71AZkWb5UQ4SnYtqM+QlEkAA1w7b5UcpFRxG4qhp1wXX0WNxqjXIvETP7+Co99Ra1DeMH9O2VHQ4y34ooVkkCnqqgAOb0/SEoVk4u0V198tfg5vHn4Nowd79913Kgaey00/pRnp/v5DmJBvy5kXQUrCfuM71C/ei7W2LdjJUScgU+y7iQhq8NwRtN1n/3etlf5B7bjuRUxA38+h9uKP++hh278qh9U1L5s/Zq15U1jo0DWWkCxYRSHwUyO+KhFs+M7TA7V/UD4fQr4wRpADsFv3OtYUzemJorGdKndhKMi2nGw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by CY5PR12MB6622.namprd12.prod.outlook.com (2603:10b6:930:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.12; Thu, 15 Feb 2024 13:21:41 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::96dd:1160:6472:9873]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::96dd:1160:6472:9873%6]) with mapi id 15.20.7316.012; Thu, 15 Feb 2024 13:21:40 +0000 Date: Thu, 15 Feb 2024 09:21:38 -0400 From: Jason Gunthorpe To: Jakub Kicinski Cc: Christoph Hellwig , Saeed Mahameed , Arnd Bergmann , Greg Kroah-Hartman , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , Saeed Mahameed , David Ahern , Aron Silverton , andrew.gospodarek@broadcom.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH V4 0/5] mlx5 ConnectX control misc driver Message-ID: <20240215132138.GK1088888@nvidia.com> References: <20240207072435.14182-1-saeed@kernel.org> <20240214074832.713ca16a@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240214074832.713ca16a@kernel.org> X-ClientProxiedBy: MN2PR12CA0004.namprd12.prod.outlook.com (2603:10b6:208:a8::17) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|CY5PR12MB6622:EE_ X-MS-Office365-Filtering-Correlation-Id: 154f9bcf-bd83-4506-3f23-08dc2e290b8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T9KsfuL9/6mDOeSDPHmwVcWRBnVqNGopWseyEAxNPVyGOBKbyknyB85vC3RJD4leCAxwbt2HSRrDzOiRuPph2N4k+g/MLKQm7r5XUJQ6FIK9l+TI/zuXDSzKozl/T2rL92lTOp2j7N7SLUbdr091neWlVOiBz5WmsCD/CsZcjNUTac0pvzgvttHumj44lvkAw0N5O6chSWtjk+VquMTslCgvONOx7PP+7xY+zGCLuA6Xdk+Kh+LNrJ3eOPiZuTt370UhKGQZS1d6l3HaWIzvKBEii8NkUTcnDQEgv9CBkaEcK24BFoFt9U9UtJh9iZbiRvIw9G13AtpGZS+mWYB39aO7kfSrxWmIMcapOUi7uKACGSTwy4ikHR6X8VxN6McyMceigkoLx4oxnEVscQd3eWGiQxM3LHbUIIme3mWn4cscjxM6QH3HixXDL6HcPDp4HHUZuLZJSU98GM4j//z1Gpjd+EwIg+QbsY97NFvPUT3VbQ13b4xBBIt7Vvux4uDgzvMtpaevuMAKw4VICIFZItdk7SXfONwh+qT43jejzQkvoK7HLhOd0KAe7NzUqYBc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(136003)(396003)(366004)(346002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(83380400001)(38100700002)(66946007)(66556008)(66476007)(8936002)(8676002)(4326008)(6916009)(7416002)(2906002)(5660300002)(26005)(2616005)(54906003)(41300700001)(316002)(1076003)(6512007)(6506007)(6486002)(478600001)(86362001)(36756003)(33656002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?MvvysQZiDqyfoN0a40l/rVQFQNRgcLSBQbZdzupLTwpPc0xjiYZJKrXSuhGd?= =?us-ascii?Q?byl6n9+ZBHEzUAAPXONovf8tBrpuKJ+liozaZ5uihb/EethrPNjdAl4sdIKJ?= =?us-ascii?Q?to9sWfzQHF3+ivQZcP6oX3T8zLIUwIJeR81n5mGyOhoxbfdiNp8DW2HKqmUP?= =?us-ascii?Q?H5YzwhaeK7I7GOHz4Y6hom8ouaKvuO/+UlqILLxvYYxCMZu6GnFJbIxQtPOy?= =?us-ascii?Q?3hFVixXP7XZMYe2wcqSiyBM2y23lhthmM4/MdXnePbj+IAmAPvJb2JvRnJSB?= =?us-ascii?Q?WzOPNMKoVxuChsTUIjTD+E2K1q+7tA6lCKGExG81NW+PJ7XafVBvMGMFBNZJ?= =?us-ascii?Q?Ykn4pPXwhDilj7Wp8eIeJa0A0+ykBX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ii?Q?PhNdfcoysf24gl0SBHvV7dtTu54GTXUxLklJuJ5ZQchLHyuWA/DMjnrdOflk?= =?us-ascii?Q?AW4qqPBp+3IJV7wfqw8vXiCBqYFOTNXAg7Wb9TKzozeSPyNY55NSEuETKx9j?= =?us-ascii?Q?2/msCsBl9Q2gxE0fyurkj+fR7rSwNFnxmR5NCA8rbmvkzd/+P8NrziJeMye4?= =?us-ascii?Q?QC1T7G+svrJWIHVF1cSSY9iww9fMjhWnwbviFWhj3qJXrRo6aIvHSP8wf7JI?= =?us-ascii?Q?1L1Vvl99WP61m46yteCqW+aSz/UHKQgvioLlfgAyLTTfL74CeJgrmKgA1Kj3?= =?us-ascii?Q?0yHbgVrSJyAzuFMVh0U=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 154f9bcf-bd83-4506-3f23-08dc2e290b8c X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2024 13:21:40.5241 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hs7jX5lFC/WymGmWZGTXYgJPAF0E1o9OjnY8LDsaImHHtZHUlksVpLUylfllwnuS X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6622 On Wed, Feb 14, 2024 at 07:48:32AM -0800, Jakub Kicinski wrote: > On Wed, 14 Feb 2024 00:29:16 -0800 Christoph Hellwig wrote: > > With my busy kernel contributor head on I have to voice my > > dissatisfaction with the subsystem maintainer overreach that's causing > > the troubles here. > > Overreach is unfortunate, I'd love to say "please do merge it as part > of RDMA". You probably don't trust my opinion but Jason admitted himself > this is primarily for RDMA. "admitted"? You make it sound like a crime. I've been very clear on this need from the RDMA community since the first posting. > The problem is that some RDMA stuff is built really closely on TCP, Huh? Since when? Are you talking about soft-iwarp? That is a reasearch project and Bernard is very responsive, if you have issues ask him and he will help. Otherwise the actual HW devices are not entangled with netdev TCP, the few iWarp devices have their own TCP implementation, in accordance with what the IETF standardized. > and given Jason's and co. inability to understand that good fences > make good neighbors it will soon start getting into the netdev stack :| I seem to recall you saying RDMA shouldn't call any netdev APIs at all. We were unable to agree on where to build the fence for this reason. > Ah, and I presume they may also want it for their DOCA products. > So 80% RDMA, 15% DOCA, 5% the rest is my guess. I don't know all details about DOCA, but what I know about runs over RDMA. > Not sure what you mean by "without lots of precedence" but you can ask > around netdev. We have nacked such interfaces multiple times. > The best proof the rule exists and is well established it is that Saeed > has himself asked us a number of times to lift it. > > What should be expected of us is fairness and not engaging in politics. > We have a clear rule against opaque user space to FW interfaces, > and I don't see how we could enforce that fairly for pure Ethernet > devices if big vendors get to do whatever they want. If your community is telling your rules are not working for them anymore, it is not nice to tell them that rules exist and cannot be questioned. Try working together toward a reasonable consensus solution. The world has changed alot, the use cases are different, the users are different, the devices are different. When Dave made that prohibition long ago it was not in a world of a multi billion transistor NIC being deployed in uniform clusters of unimaginable size. Jason