]> git.baikalelectronics.ru Git - kernel.git/commit
vxge: Enable SRIOV support in the driver.
authorSivakumar Subramani <Sivakumar.Subramani@neterion.com>
Tue, 16 Jun 2009 18:48:55 +0000 (18:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jun 2009 11:31:14 +0000 (04:31 -0700)
commit918743384fa5c080b79419e5e23ad55c1411fa4e
treedb90856015b0373b3b545901db2d98f88fef4039
parent1f2160507bd6f4fcc98ca124711ca57fa149421a
vxge: Enable SRIOV support in the driver.

- Enabled SRIOV support in the driver.
- Call __vxge_hw_verify_pci_e_info() for the PF only. This function
  verifies the negotiated link width and current link speed in the
  Link Status Register (offset 12h) which are reserved fields for VFs
  as per the SRIOV specification, section 3.5.8.
- Implemented David Miller's comment to remove the #ifdef CONFIG_PCI_IOV as
  these intefaces have NOP versions declared when the defintion is not set.

Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Signed-off-by: Rastapur Santosh <santosh.rastapur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.c
drivers/net/vxge/vxge-main.c
drivers/net/vxge/vxge-version.h