Identifying whether a pci device is x1, x4, x8 or x16

Bjørn Mork bjorn at mork.no
Tue Jun 14 10:23:32 EDT 2016


Kevin Wilson <wkevils at gmail.com> writes:

> Is there a way that "lspci -vvvnn" will return only info about a given
> bdf (like 0000:02:00.0, which is what ethtool -i eth4 returns
> in the "bus-info" field.

lspci -vvvnns 0000:02:00.0

"man lspci" is your friend :)


Bjørn



More information about the Kernelnewbies mailing list