aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/Kconfig
diff options
context:
space:
mode:
authorAriel Elior <ariele@broadcom.com>2013-01-06 19:50:23 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-07 22:49:14 -0500
commit6411280ac94db94a09770807d3871d2661803604 (patch)
tree548f080b1ec218aa017f4e9bd3b7b582f03d6496 /drivers/net/ethernet/broadcom/Kconfig
parent5ebae4897146ea770069fe8046b30f55a37a9518 (diff)
bnx2x: Segregate SR-IOV code
In this patch the SR-IOV code is segregated from the main bulk of the bnx2x code. The CONFIG_BNX2X_SRIOV define is added to Broadcom's Kconfig, and allows the elision of the building of all the SR-IOV support code in the driver. The define is dependant on the kernel CONFIG_PCI_IOV configuration define. Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r--drivers/net/ethernet/broadcom/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index f55267363f35..3b3bf0dd0f1a 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -121,4 +121,13 @@ config BNX2X
121 To compile this driver as a module, choose M here: the module 121 To compile this driver as a module, choose M here: the module
122 will be called bnx2x. This is recommended. 122 will be called bnx2x. This is recommended.
123 123
124config BNX2X_SRIOV
125 bool "Broadcom 578xx and 57712 SR-IOV support"
126 depends on BNX2X && PCI_IOV
127 default y
128 ---help---
129 This configuration parameter enables Single Root Input Output
130 Virtualization support in the 578xx and 57712 products. This
131 allows for virtual function acceleration in virtual environments.
132
124endif # NET_VENDOR_BROADCOM 133endif # NET_VENDOR_BROADCOM