Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1107971imm; Fri, 14 Sep 2018 11:17:57 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaahs+y32Hz+S/lBQXXX9uQlTeABba3kikdtm6O+G5nTIPbm6K84gVMehkk75dG039wZytT X-Received: by 2002:a62:a6cc:: with SMTP id r73-v6mr13819437pfl.60.1536949077801; Fri, 14 Sep 2018 11:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536949077; cv=none; d=google.com; s=arc-20160816; b=a55Hd404T0J18e0kQqj/ks+tBuoDSZAtUKyROkn6cT7RZ+MY987C11C2bHBTVJGucI P1PQPjDyDie3k70f4hADt6Z7rc6gzc3H1k2Y1QQ46UP+Li4JmQLr1Ej6fr/tmRiIaDeg 9FAKTnZVyHbk0kKWJOiFqwPD6daU29AlVidZ4tDhb60k45/B4W59M1eAnWvy6WKbeD6o BjG4Oyyx5vb2/PJiPU6rLCzGzuDLfWqmXsGiK1WMm9vC4z6zK1rQLHcxfsBEXz77Eu0t zYs2tEWp+7cyQwzznbQcaNqOcSovar2euBpDF/t8+yIelGF4uygVAGE1fx4wcEEQqSEO rR0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=44dUNiLnfgmtXHXeLazPAYh1nAxcCnWMZBdH9TE5eIA=; b=PWU/4DrWsEG6OT5moXtkfhzpp5VGc+6f2ayAyF7uCxBHlRiRvy2E50CIzXMSsmsqgD 5PafwFtag6e3E/CorVLXElcYRNjs3a/aNiPSbTnNCubNvYVmYLBkajehZ0tGa5ecuJWj +3WAG2qr77kpmFjp79p7Soesg82N5XXDrVDWWg8TnMAX2y2dHOR0lsHDK6R7MhdTcWu/ 5paIQY+ARbxdWrnnojTe/I3oT4IFgUQLuQ7nrj3kF+4Bikzydozqa6TQDO9giX9JNJ7s s0GafCeEYuSi8s4gBnFpnmT9j2+IyhTaFPgBO/vrHFDlMQv32dxyeXEdRJtuKw/QontZ CjuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wTLGrzJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7-v6si7653812plt.259.2018.09.14.11.17.41; Fri, 14 Sep 2018 11:17:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wTLGrzJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728038AbeINXdC (ORCPT + 99 others); Fri, 14 Sep 2018 19:33:02 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:35074 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbeINXdC (ORCPT ); Fri, 14 Sep 2018 19:33:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=44dUNiLnfgmtXHXeLazPAYh1nAxcCnWMZBdH9TE5eIA=; b=wTLGrzJkVGQdq3C22rFSzAUVnX+A66ljJiXHuo/rddxS9deAhSHO6TiJtuzcjCuLPuVLVQp7J1mrTj475YSg0+VJVCM0OsWMTf5EVM0MGK+DC38Wlf6+Cr0EJh5S3CJLX8x456oi/kfFsb3PHhHsDBIU8ZVsOwr3tXHXrqJpMwU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1g0sec-0006jI-4H; Fri, 14 Sep 2018 20:17:18 +0200 Date: Fri, 14 Sep 2018 20:17:18 +0200 From: Andrew Lunn To: Qing Huang Cc: Leon Romanovsky , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, tariqt@mellanox.com, davem@davemloft.net Subject: Re: [PATCH] net/mlx4_core: print firmware version during driver loading Message-ID: <20180914181718.GD3811@lunn.ch> References: <20180914002514.27571-1-qing.huang@oracle.com> <20180914044314.GC5257@mtr-leonro.mtl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 14, 2018 at 10:15:48AM -0700, Qing Huang wrote: > The FW version is actually a very crucial piece of information and only > printed once here > when the driver is loaded. People tend to get confused when switching > multiple FW files > back and forth without running separate utility tools, especially at > customer sites. > IMHO, this information is very useful and only takes up very little log file > space. :-) Why not use ethtool -i ? $ sudo ethtool -i eth0 driver: r8169 version: 2.3LK-NAPI firmware-version: rtl8168g-2_0.0.1 02/06/13 Andrew