[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180914201351.GE3811@lunn.ch>
Date: Fri, 14 Sep 2018 22:13:51 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Qing Huang <qing.huang@...cle.com>
Cc: Leon Romanovsky <leon@...nel.org>, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
tariqt@...lanox.com, davem@...emloft.net
Subject: Re: [PATCH] net/mlx4_core: print firmware version during driver
loading
> >$ sudo ethtool -i eth0
> >driver: r8169
> >version: 2.3LK-NAPI
> >firmware-version: rtl8168g-2_0.0.1 02/06/13
> >
> > Andrew
> Sure. You can also use ibstat or ibv_devinfo tool if they are installed. But
> it's not very convenient in some cases.
This is the standardised way to do this. It should work for any
Ethernet driver, so long as it fills in the needed information.
Anything else is non-standard, and so inconvenient by definition.
Andrew
Powered by blists - more mailing lists