Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp54771lqm; Mon, 10 Jun 2024 12:27:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/9wuuk981NVS/BI4fRjyyidZq1+j2dVRfllIQFklhUveR8uEilzCt49kn5ZBoj47SRA4KKLwhgTeiJH+RABHOzd/RBmeeH+9OgtNkDw== X-Google-Smtp-Source: AGHT+IGCkk3zptrE9vrH0hItLOXkz9z6jZXmWMvrlhjk0S/pQXkUvo6hHUp5s8NYEEhYJUIfzpMm X-Received: by 2002:a05:6102:1249:b0:48c:4717:2186 with SMTP id ada2fe7eead31-48c471722f6mr5125628137.19.1718047670992; Mon, 10 Jun 2024 12:27:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718047670; cv=pass; d=google.com; s=arc-20160816; b=wBtL+vO4OyKde4YYIbd3iHrfoIT0k7tmGL5VbDOf8t4i/NUlZgcEkGKlJZxEdXf5g/ 8OWbz8+mp+uIyhj6ISn9ybOJieh9J6DDkylAzrA/FkaUjFPQrej/ILVIjSfzfHnt0Arr wW6ys/Hzx/kciULjRd92MLJjFafzkD9UN/fzPdFHULmvfK8IpG+VwojpgIFTOCtBnec6 D7+YewmgL3aCPJ2uCDaNYN3RWoy0lvj4Q6QttqSS9U3Jj5B1Dtt82+GEUL+qN08ZejQy XD/kkLa9U5R7cUS3jB5D6iDIejUQcWdC2JKGkflR9dvnRl0a41gJXhz6/jk7zzFDTRIl BiEg== 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=MiZyu8VhPCk0AXuRPnHhqHOvpBJ0fh6/3Mj663IB6kk=; fh=2u307kypvUpdycO4HI5NTwrKe+pSyavPruKJfQYcgTA=; b=IutPfUWsWzpjbNZVFDRoiyekbNT+DoVn0zIulyewU78EFRB4ZNPrxUpvnKqrf+P/v8 te3xbodlEsQZDPonn7AmKURDbtnSwyfkEBxd8QErHAoyKOR/Z0YkG7o9wCoXgM1apVzJ WkC1d9T3Ifvt+Qb2FTM4BdI2iT1EGGMYON8OmoTTfU/Jr8ITgHo2RRozPqg2tSbCn2nK JD5LBuu0AGVJPFA5kc2/6UcRuHdxKABuENQwMq4erMm8piVry7ImbZipqMnaeYRmRdXY vNeoQcvmsdPsrMRXJdtjk6AliQAAwJ176hslzEnfDKkBH8d2fiLhJdp2Tj/2Mp2CaYdt +Uyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=rkkQy4Dg; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-208795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795331cf124si1196701985a.375.2024.06.10.12.27.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 12:27:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=rkkQy4Dg; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-208795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B044D1C21DD4 for ; Mon, 10 Jun 2024 19:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7954D14D714; Mon, 10 Jun 2024 19:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="rkkQy4Dg" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 49D4E14A85; Mon, 10 Jun 2024 19:27:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718047660; cv=none; b=ZpwwBStL8K0sc34gXfOEQPxc7hBOiBy9FtL4QtuUtlnkgPJTKNP3XT1xPHbtS0XM7GJSIyX/CMeiyI6ynr3pPYmC/QPZDPh3SjBuXjZqGNiz5gqH6sdkxUf2OorghNegw2JtZ0w2BA7F1B02lpPrQbL6scoPie1U7HIhrAJNXak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718047660; c=relaxed/simple; bh=yuNOHab/Qh0nJR8QmMywHK9g1cgCBeo/HLsQ/jKVNbc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BJS6OlNokmmycR8k4OMFMPH5TzKuWV5PLD/kBbYSX5PGB1RMy2ApjWp9CBcWlL1vWvDjNbTJ0EhrwpGSnMnnEecBAkUUJkQVi8AuXl0EX613LjJI8pNUDFwOVBIebvlbQlPQhaIoJcY+Ae7hBwqUDC28T4nPV0LRcTbyL4pS0WU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=rkkQy4Dg; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=MiZyu8VhPCk0AXuRPnHhqHOvpBJ0fh6/3Mj663IB6kk=; b=rkkQy4DgBiRXuV0GDiC21jNbL+ +sKzjfXkmyigg916XMHJle6k/JKxg//GmdgAAHq0vw9sjlLS0X+V9I6mjsJytGeZt4hXaqAaI3IUP hwcrxGVxlZN3G9Aa//f+OkUhuEq5isbDMQ6LSxUM/U387T4lfW0gZ8cj4lexim+NJNgE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sGkfs-00HK4x-Qm; Mon, 10 Jun 2024 21:27:24 +0200 Date: Mon, 10 Jun 2024 21:27:24 +0200 From: Andrew Lunn To: Richard chien Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Richard chien Subject: Re: [PATCH] igb: Add support for firmware update Message-ID: References: <20240609081526.5621-1-richard.chien@hpe.com> 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: <20240609081526.5621-1-richard.chien@hpe.com> On Sun, Jun 09, 2024 at 04:15:26PM +0800, Richard chien wrote: > This patch adds support for firmware update to the in-tree igb driver and it is actually a port from the out-of-tree igb driver. > In-band firmware update is one of the essential system maintenance tasks. To simplify this task, the Intel online firmware update > utility provides a common interface that works across different Intel NICs running the igb/ixgbe/i40e drivers. Unfortunately, the > in-tree igb and ixgbe drivers are unable to support this firmware update utility, causing problems for enterprise users who do not > or cannot use out-of-distro drivers due to security and various other reasons (e.g. commercial Linux distros do not provide technical > support for out-of-distro drivers). As a result, getting this feature into the in-tree igb driver is highly desirable. I don't really follow what this code is doing, but it seems to make ethtool -e and -E dual purpose? Please could you show examples of how this is used. Thanks Andrew