Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3091017rdb; Tue, 6 Feb 2024 07:02:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWa1t6vZUs58Q2qhky9Ni+V7I17S+ulgumdeHuPmVf0fyT2cmYKmRY8ghANDi5+MljEG0g X-Received: by 2002:a17:90b:110:b0:296:1a66:bc64 with SMTP id p16-20020a17090b011000b002961a66bc64mr2523286pjz.40.1707231752169; Tue, 06 Feb 2024 07:02:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707231752; cv=pass; d=google.com; s=arc-20160816; b=gfzN+XNCAYkNcMmYSapHe0eBcNe21EGuTePn/rF/D7XMJ5l3Aj6pdfUAPmBMXVZGUw MLpkuaTA7Fn2TCGNmjmP7MctkIlMYcZKLfoDk1efOqcoLZ6AeH2fNYSXfht3NKAuvfVw JUurh0GycmkHMQAOTl5GVmuvy7X/z8/yEh4YYwI/2zym8c2GMKr1PIziLqqn22JD61Su pq9D4L9tsHmiq0iipyuBr/lS4qYefe0FS/qli/Rkp1dN6XjOO4y4Hs+a1kn1rk8UwsTm bBYC6Rh/jvTn/ojb0LdeFBTWM1JDMRTsKJogmgGvyaR5VUO7guhSX/MntV6WQCbuAvha vxFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Q/zHFU5Yqwp5a/UOgLX2f7LwI3WOYEuRTvyafnU2czI=; fh=UQXw6ARQMTt4pnSXX8z3WGkgx1/a6vSDqlAJaIt5BLo=; b=KmV3XJWmABzNVxOqO1GVA7kgKdEb88hrDULx1h5r896K+XfDv5hGBWsxnQrBxZ7pwv 1iypYOhiPsyJEm12r8CEvhW1ep9gGbmd/6rBcre9c2dM8WDJQ4rk9aayY8+mu1BzKBCc k5C1oQPk9Urz73RKyhVWB1zqTU6dS1xi4upq5qSfN102NegvmcIt8FQ9JH+YAppi3/Le W68aQY2s91cnU66p5akF6sh/vQk4YEbR6MNTK8Mb6oGfEV3y/CQ2YJoopNVAdRsOh7y9 sVutV0T9sKVJspz+g6jI7rI2a/FS5aTrWtem+KbAMQMESHI+U4gWh16VF7hlRx8nKpI7 jRQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=Yqr92IQH; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-55118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55118-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCX6vYcPSxpwehb7CRDMmcDKbYMUQei0lDB6n12BAJgwZGYm2QB0Acp/1qm4PYHbgHswmDVOMvWyhUvqlUlphXk5T/zpgvC23lnHOVI+rg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i7-20020a17090a974700b00296ca0945a9si1036141pjw.14.2024.02.06.07.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 07:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=Yqr92IQH; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-55118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55118-linux.lists.archive=gmail.com@vger.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 7F103B26656 for ; Tue, 6 Feb 2024 14:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02D57132C3E; Tue, 6 Feb 2024 14:32:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="Yqr92IQH" Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C73612F39C for ; Tue, 6 Feb 2024 14:32:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229945; cv=none; b=RNOzXcqIhTKB8NUm9I38z4F8nr3fIdzXbh6ADB8XmGP9AvnVwAiyu4qGqx70ljuVBLyCgS0NsP6FpocihnwlDiLZbrB60UdZVTgozk2hC8rdjShtGlepJFPssx1IGIGiNm0ugCHeF9fer6mRbcg2P0XoMNccnvxLVYN/8ZcFAGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229945; c=relaxed/simple; bh=qmeIFysAignszZr0l0w5AQCmz0lFvY52xzI4SqVOLoc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LpUJO1ef0XANAtaOylWFSufaz7IFy3t7BKx5hTvJqrm5TzRXwNGy9WXRK1/9f/l4uLNng1VqWjAF8hh6DB2z6/3UYRgl62aibvQq3jZ5+wBy9mGvHq0EmExv/P1+BKLv97BXNa8ArheTA5srrTTPi2vHkOYX2XMJu/C7I6a7cz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=Yqr92IQH; arc=none smtp.client-ip=209.85.222.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-7838af983c1so424142185a.3 for ; Tue, 06 Feb 2024 06:32:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1707229942; x=1707834742; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Q/zHFU5Yqwp5a/UOgLX2f7LwI3WOYEuRTvyafnU2czI=; b=Yqr92IQH9wpXbQfvGyn1mgrG2NtAkpJdlYLFngITDFlaI5n86Cec+UOQXnvH0yV+fL ilAOq7yMoPjO0yfLEKVY4cgpXpDzDNtPhaY/3jjL1Hzv0FCTyFJm6xpWWCd4jYsqsanq SlRguH7taHiIyc7KFZ3hTTiO+Sx1DmkwUtGKKHNUa9WKCwvREWzGRD4FW3RYiqGDzSNx lRHhALE15UOX3f0obr9SMIQVpNWXkyms+N8oZhg2lPxQ6KGgLgnQaXJRu9rrUwZmxD/U lUYMMmjq617a9684EWnD57II93q+0xA42GbAj5rsDB/jMz6jIWEYiD5KjROnJB1bGnF/ 6JbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707229942; x=1707834742; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Q/zHFU5Yqwp5a/UOgLX2f7LwI3WOYEuRTvyafnU2czI=; b=pmU9Wbs5dy7O6buLAfSFPmist8Sa7raMnuI5+MRohFuUqxJ4Y7Bpz8tqqAdd0Q9GuY s/f+A/mkg8gcvSjMu6oKos3zMilO8BDCEALQMHpTlZ1MTzzCxqF4vRLcERnMZqeGN3eM KAhPAEkkndx+s/hk0wlTWLgxz5O+5RGa3GjRmgVrRDes9L3wxW0ZsWuUNHjpz7To2PSZ AxITQ9kKvJYTY+0RmB75oJqsyO8+BP5iwUPx7CwqD16QJ+c9Dq9+7Ef3ruZj1k5bibOm /yb2jHMufajRTreRQtvMPGgIN9CpjrLHKFBjlQfFm84PVRdfHLzwzywWuVISO2V5/7Z1 AfYA== X-Gm-Message-State: AOJu0YydUtZAUnE0dbNj302blQxdcsriRfELYK+BNeaV5hIerheUBfK5 fzNlxgq12Jrgg81PdvOywGu1ie5ceSA9Cxtup2MexTIz+GaQ9unTtxCkDsKY3lc= X-Received: by 2002:a37:e302:0:b0:783:f7b0:375d with SMTP id y2-20020a37e302000000b00783f7b0375dmr2457777qki.70.1707229942269; Tue, 06 Feb 2024 06:32:22 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXs+jqxi3Om6fACJPExg+eF0Ql+eaj42rVQFXmt1xrrdTye4GGLTL+i81sa2lrgbial3+lIPeYg78dPIvaxHMYIFSMEGAEVMxH5b7JR/yCDbQVNPSTwioC123L4ccLNO6F6gq2dwGlrTVwTSAMWUxYDuyd7wcKmB3BAGzV92OQd90O8QzhXbAHCvMqY3/cKLU2bYxb0pjxDsgNlddiSfGuH8Qu45zi9BTdZ7s3dQYzr0jj7bI0wmvE= Received: from ziepe.ca (hlfxns017vw-142-68-80-239.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.80.239]) by smtp.gmail.com with ESMTPSA id w24-20020a05620a095800b00783feb25669sm932714qkw.116.2024.02.06.06.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:32:21 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1rXMUm-0028hZ-EK; Tue, 06 Feb 2024 10:32:20 -0400 Date: Tue, 6 Feb 2024 10:32:20 -0400 From: Jason Gunthorpe To: Konstantin Taranov Cc: Leon Romanovsky , Konstantin Taranov , "sharmaajay@microsoft.com" , Long Li , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH rdma-next v2 2/5] RDMA/mana_ib: Create and destroy rnic adapter Message-ID: <20240206143220.GF31743@ziepe.ca> References: <1706886397-16600-1-git-send-email-kotaranov@linux.microsoft.com> <1706886397-16600-3-git-send-email-kotaranov@linux.microsoft.com> <20240204123013.GE5400@unreal> <20240204165152.GH5400@unreal> <20240205075412.GA6294@unreal> <20240205095727.GC6294@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-Disposition: inline In-Reply-To: On Tue, Feb 06, 2024 at 02:20:35PM +0000, Konstantin Taranov wrote: > > Unless you have a good explanation why you can add new FW command to > > configure RNIC, but can't add FW command to query if RNIC is supported. I'm > > not keen on adopting this approach. > > The main reason was backward compatibility with old firmware that had the > aforementioned limitation. Anyway, we will try to internally retire the old firmware > and will send the v3 patches without the "try and fail" approach (in 2-3 weeks). I think this is the right thing to do for these cloud devices that can reliably retire old software. It is how Amazon has been running EFA. Get your deployment in good shape and then get patches comitted upstream. No reason to suffer with backwards compatability forever in the software to save a few weeks. Jason