Detecting whether a network interface is an SRIOV nic
Baruch Siach
baruch at tkos.co.il
Tue May 27 22:17:37 IDT 2014
HI Dan,
On Tue, May 27, 2014 at 09:43:27PM +0300, Dan Shimshoni wrote:
> Is there a way to detecting whether a network interface is an SRIOV nic
> in a given machine (by some userspace command )?
>
> To be more specific:
> I know of course that you can find the name of the driver and google for
> its feature, but is there some userspace tool which can check it ?
According to Documentation/PCI/pci-iov-howto.txt newer SR-IOV supporting
drivers should have a sriov_numvfs sysfs node under
/sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/. The presence of this node
is surely and indication that the device supports SR-IOV.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list