[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121205.173650.1310171220758794440.davem@davemloft.net>
Date: Wed, 05 Dec 2012 17:36:50 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: netdev@...r.kernel.org, e1000-devel@...ts.sourceforge.net
Subject: Re: Should we report bus width/speed via ethtool?
From: Ben Greear <greearb@...delatech.com>
Date: Wed, 05 Dec 2012 13:35:01 -0800
> It seems the only way to get the current pci-e bus speed & width
> in ixgbe (and probably many other NICs) is by parsing output
> of lspci -vvv.
>
> I'd personally find it easier if this info were available via
> ethtool API.
You could just as easily have ethtool determine the PCI device
location (using existing facilities) and fetch the PCI-e info from the
PCI sysfs files.
There is no reason to extend ethtool for this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists