forked from Minki/linux
4fee7dab07
When CONFIG_GENEVE is built as a loadable module, and bnx2x is built-in,
we get this link error:
drivers/net/built-in.o: In function `bnx2x_open':
:(.text+0x33322): undefined reference to `geneve_get_rx_port'
drivers/net/built-in.o: In function `bnx2x_sp_rtnl_task':
:(.text+0x3e632): undefined reference to `geneve_get_rx_port'
This avoids the problem by adding a separate Kconfig symbol named
CONFIG_BNX2X_GENEVE that is only enabled when the code is
reachable from the driver.
This is the same trick that BNX2X does for VXLAN support, and
is similar to how I40E handles both.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 883ce97d25
("bnx2x: Add Geneve inner-RSS support")
Acked-By: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
207 lines
6.0 KiB
Plaintext
207 lines
6.0 KiB
Plaintext
#
|
|
# Broadcom device configuration
|
|
#
|
|
|
|
config NET_VENDOR_BROADCOM
|
|
bool "Broadcom devices"
|
|
default y
|
|
depends on (SSB_POSSIBLE && HAS_DMA) || PCI || BCM63XX || \
|
|
SIBYTE_SB1xxx_SOC
|
|
---help---
|
|
If you have a network (Ethernet) chipset belonging to this class,
|
|
say Y.
|
|
|
|
Note that the answer to this question does not directly affect
|
|
the kernel: saying N will just case the configurator to skip all
|
|
the questions regarding AMD chipsets. If you say Y, you will be asked
|
|
for your specific chipset/driver in the following questions.
|
|
|
|
if NET_VENDOR_BROADCOM
|
|
|
|
config B44
|
|
tristate "Broadcom 440x/47xx ethernet support"
|
|
depends on SSB_POSSIBLE && HAS_DMA
|
|
select SSB
|
|
select MII
|
|
select PHYLIB
|
|
---help---
|
|
If you have a network (Ethernet) controller of this type, say Y
|
|
or M here.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called b44.
|
|
|
|
# Auto-select SSB PCI-HOST support, if possible
|
|
config B44_PCI_AUTOSELECT
|
|
bool
|
|
depends on B44 && SSB_PCIHOST_POSSIBLE
|
|
select SSB_PCIHOST
|
|
default y
|
|
|
|
# Auto-select SSB PCICORE driver, if possible
|
|
config B44_PCICORE_AUTOSELECT
|
|
bool
|
|
depends on B44 && SSB_DRIVER_PCICORE_POSSIBLE
|
|
select SSB_DRIVER_PCICORE
|
|
default y
|
|
|
|
config B44_PCI
|
|
bool
|
|
depends on B44_PCI_AUTOSELECT && B44_PCICORE_AUTOSELECT
|
|
default y
|
|
|
|
config BCM63XX_ENET
|
|
tristate "Broadcom 63xx internal mac support"
|
|
depends on BCM63XX
|
|
select MII
|
|
select PHYLIB
|
|
help
|
|
This driver supports the ethernet MACs in the Broadcom 63xx
|
|
MIPS chipset family (BCM63XX).
|
|
|
|
config BCMGENET
|
|
tristate "Broadcom GENET internal MAC support"
|
|
select MII
|
|
select PHYLIB
|
|
select FIXED_PHY
|
|
select BCM7XXX_PHY
|
|
help
|
|
This driver supports the built-in Ethernet MACs found in the
|
|
Broadcom BCM7xxx Set Top Box family chipset.
|
|
|
|
config BNX2
|
|
tristate "QLogic bnx2 support"
|
|
depends on PCI
|
|
select CRC32
|
|
select FW_LOADER
|
|
---help---
|
|
This driver supports QLogic bnx2 gigabit Ethernet cards.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called bnx2. This is recommended.
|
|
|
|
config CNIC
|
|
tristate "QLogic CNIC support"
|
|
depends on PCI && (IPV6 || IPV6=n)
|
|
select BNX2
|
|
select UIO
|
|
---help---
|
|
This driver supports offload features of QLogic bnx2 gigabit
|
|
Ethernet cards.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called cnic. This is recommended.
|
|
|
|
config SB1250_MAC
|
|
tristate "SB1250 Gigabit Ethernet support"
|
|
depends on SIBYTE_SB1xxx_SOC
|
|
select PHYLIB
|
|
---help---
|
|
This driver supports Gigabit Ethernet interfaces based on the
|
|
Broadcom SiByte family of System-On-a-Chip parts. They include
|
|
the BCM1120, BCM1125, BCM1125H, BCM1250, BCM1255, BCM1280, BCM1455
|
|
and BCM1480 chips.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called sb1250-mac.
|
|
|
|
config TIGON3
|
|
tristate "Broadcom Tigon3 support"
|
|
depends on PCI
|
|
select PHYLIB
|
|
select HWMON
|
|
select PTP_1588_CLOCK
|
|
---help---
|
|
This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called tg3. This is recommended.
|
|
|
|
config BNX2X
|
|
tristate "Broadcom NetXtremeII 10Gb support"
|
|
depends on PCI
|
|
select PTP_1588_CLOCK
|
|
select FW_LOADER
|
|
select ZLIB_INFLATE
|
|
select LIBCRC32C
|
|
select MDIO
|
|
---help---
|
|
This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called bnx2x. This is recommended.
|
|
|
|
config BNX2X_SRIOV
|
|
bool "Broadcom 578xx and 57712 SR-IOV support"
|
|
depends on BNX2X && PCI_IOV
|
|
default y
|
|
---help---
|
|
This configuration parameter enables Single Root Input Output
|
|
Virtualization support in the 578xx and 57712 products. This
|
|
allows for virtual function acceleration in virtual environments.
|
|
|
|
config BNX2X_VXLAN
|
|
bool "Virtual eXtensible Local Area Network support"
|
|
default n
|
|
depends on BNX2X && VXLAN && !(BNX2X=y && VXLAN=m)
|
|
---help---
|
|
This enables hardward offload support for VXLAN protocol over the
|
|
NetXtremeII series adapters.
|
|
Say Y here if you want to enable hardware offload support for
|
|
Virtual eXtensible Local Area Network (VXLAN) in the driver.
|
|
|
|
config BNX2X_GENEVE
|
|
bool "Generic Network Virtualization Encapsulation (GENEVE) support"
|
|
depends on BNX2X && GENEVE && !(BNX2X=y && GENEVE=m)
|
|
---help---
|
|
This allows one to create GENEVE virtual interfaces that provide
|
|
Layer 2 Networks over Layer 3 Networks. GENEVE is often used
|
|
to tunnel virtual network infrastructure in virtualized environments.
|
|
Say Y here if you want to enable hardware offload support for
|
|
Generic Network Virtualization Encapsulation (GENEVE) in the driver.
|
|
|
|
config BGMAC
|
|
tristate "BCMA bus GBit core support"
|
|
depends on BCMA && BCMA_HOST_SOC
|
|
depends on HAS_DMA
|
|
depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
|
|
select PHYLIB
|
|
select FIXED_PHY
|
|
---help---
|
|
This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
|
|
They can be found on BCM47xx SoCs and provide gigabit ethernet.
|
|
In case of using this driver on BCM4706 it's also requires to enable
|
|
BCMA_DRIVER_GMAC_CMN to make it work.
|
|
|
|
config SYSTEMPORT
|
|
tristate "Broadcom SYSTEMPORT internal MAC support"
|
|
depends on OF
|
|
select MII
|
|
select PHYLIB
|
|
select FIXED_PHY
|
|
help
|
|
This driver supports the built-in Ethernet MACs found in the
|
|
Broadcom BCM7xxx Set Top Box family chipset using an internal
|
|
Ethernet switch.
|
|
|
|
config BNXT
|
|
tristate "Broadcom NetXtreme-C/E support"
|
|
depends on PCI
|
|
depends on VXLAN || VXLAN=n
|
|
select FW_LOADER
|
|
select LIBCRC32C
|
|
---help---
|
|
This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
|
|
Ethernet cards. To compile this driver as a module, choose M here:
|
|
the module will be called bnxt_en. This is recommended.
|
|
|
|
config BNXT_SRIOV
|
|
bool "Broadcom NetXtreme-C/E SR-IOV support"
|
|
depends on BNXT && PCI_IOV
|
|
default y
|
|
---help---
|
|
This configuration parameter enables Single Root Input Output
|
|
Virtualization support in the NetXtreme-C/E products. This
|
|
allows for virtual function acceleration in virtual environments.
|
|
|
|
endif # NET_VENDOR_BROADCOM
|