]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/vxge/vxge-main.c
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)
commit5dbc901172fb952409940cd7ca55d8e6e5a7cc2c
treedb90856015b0373b3b545901db2d98f88fef4039
parenta42fc8f6943127787ad2a416436cf211d5531229
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