From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="Yqr92IQH" 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-Google-Smtp-Source: AGHT+IE/dsBxzipS25NY8X5EUTvFKS6V+SuhB7oLUzDk327OZ6lj+v+FESY9nSA4Hjy9LOFUrrVJbQ== 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