Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1517002pxy; Fri, 23 Apr 2021 09:51:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPc3A3SW020ODbw4clV9bxBjVcivahxWyQH3du3/v+Rdu1nI/tKPH6Tu008deA1H84+A3r X-Received: by 2002:a63:a26:: with SMTP id 38mr4666465pgk.279.1619196702847; Fri, 23 Apr 2021 09:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619196702; cv=none; d=google.com; s=arc-20160816; b=CxChzheI2/e+Wp1AVMGreApfXIk0p9/JlGFsT3SQi7pvoclFTzTT35BYKw0k2VrMBI 4Lwq16P7AeoJ5VPwVGXI7U5+7J0PiXBWalLiHFwtOnHe6sr5b8PREKwWWzGpU0FmPRD4 j3/0TSULcGkv4Kkf7g+8iRSudKHls5XnZZNEB0VbjXgzEgGrTMvmTVju0cqdAEzzGFKW gNYkG6a5G4yzBIkDimwjFHHDvnHL1CKLh7iDKRJY4LudaHAiJk3mCmt4vmKgUyxbS/nS tosirFG8oQfRIPL3EJ7TfkTXhD6Cjdl3ZuQnPhndTUw+kpHE9xmBjPr4RWW/tv0jGcD+ igVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=OAbByeERvb9jlEUaRl4gxwMWt+oBi51BrzZGAgzvFto=; b=wRCmIUWlpklUee0MYMEhjw+95bfhMwtBNE/KoJXaSoMrairblsI/I+nYuXton+7Ek1 Ie2Euw07HUwcxRn5nDv1IZ+xeQ/fBGJ7rCVRXHT20VQTS299bIu6sukfsr0DnJBZFMQD XbxUQZafpdFjGQfvg4tDYJ3GAhq1zNppfVluL2zyt3ufwCw7q35yJhxgFHRPCx/IaiNN fU4DvsEzTwpKbJNQAb9Q7twLN1bZ7OF9Kw1xg8E2x9ss+Xe2f6TontBCZoYQlpbpmtRz hvp+ZY5JAS6DKpiR9HIPszh45OaPTQZtfd/XmcWfTVFf+rec8KK07XaSODDS9jJ/Xd05 ys/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y67si7581574pgy.484.2021.04.23.09.51.30; Fri, 23 Apr 2021 09:51:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231684AbhDWQtp (ORCPT + 99 others); Fri, 23 Apr 2021 12:49:45 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:38360 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhDWQtm (ORCPT ); Fri, 23 Apr 2021 12:49:42 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lZyzF-000hG0-7F; Fri, 23 Apr 2021 18:49:01 +0200 Date: Fri, 23 Apr 2021 18:49:01 +0200 From: Andrew Lunn To: Vadym Kochan Cc: "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, Taras Chornyi , linux-kernel@vger.kernel.org, Mickey Rachamim , Vadym Kochan Subject: Re: [PATCH net-next 1/3] net: marvell: prestera: bump supported firmware version to 3.0 Message-ID: References: <20210423155933.29787-1-vadym.kochan@plvision.eu> <20210423155933.29787-2-vadym.kochan@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210423155933.29787-2-vadym.kochan@plvision.eu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 06:59:31PM +0300, Vadym Kochan wrote: > From: Vadym Kochan > > New firmware version has some ABI and feature changes like: > > - LAG support > - initial L3 support > - changed events handling logic > > Signed-off-by: Vadym Kochan > --- > drivers/net/ethernet/marvell/prestera/prestera_pci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/marvell/prestera/prestera_pci.c b/drivers/net/ethernet/marvell/prestera/prestera_pci.c > index 298110119272..80fb5daf1da8 100644 > --- a/drivers/net/ethernet/marvell/prestera/prestera_pci.c > +++ b/drivers/net/ethernet/marvell/prestera/prestera_pci.c > @@ -13,7 +13,7 @@ > > #define PRESTERA_MSG_MAX_SIZE 1500 > > -#define PRESTERA_SUPP_FW_MAJ_VER 2 > +#define PRESTERA_SUPP_FW_MAJ_VER 3 > #define PRESTERA_SUPP_FW_MIN_VER 0 I could be reading the code wrong, but it looks like anybody with firmware version 2 on their machine and this new driver version results in the switch not probing? And if the switch does not probe, do they have any networking to go get the new firmware version? I think you need to provide some degree of backwards compatibly to older firmware. Support version 2 and 3. When version 4 comes out, drop support for version 2 in the driver etc. Andrew