diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2014-04-02 00:29:32 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-02 01:38:05 +0400 |
commit | 7f1f6056f2f7293d5108eda905af42df58b78370 (patch) | |
tree | d068839ba32e1f17839f02d0c688761d1d097f17 /drivers/net/ethernet/qlogic/Kconfig | |
parent | 408eccce32044ee3285a7f6a812723ba3540c3e7 (diff) | |
download | linux-7f1f6056f2f7293d5108eda905af42df58b78370.tar.xz |
qlcnic: Fix build failure due to undefined reference to `vxlan_get_rx_port'
Commit 2b3d7b758c687("qlcnic: Add VXLAN Rx offload support") uses
vxlan_get_rx_port() which caused build failure when VXLAN=m.
This patch fixes the build failure by adding dependency on VXLAN
in Kconfig of qlcnic module and use vxlan_get_rx_port() and support
code accordingly.
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/Kconfig')
-rw-r--r-- | drivers/net/ethernet/qlogic/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/Kconfig b/drivers/net/ethernet/qlogic/Kconfig index f59e6be4a66e..c14bd3116e45 100644 --- a/drivers/net/ethernet/qlogic/Kconfig +++ b/drivers/net/ethernet/qlogic/Kconfig @@ -56,6 +56,16 @@ config QLCNIC_DCB mode of DCB is supported. PG and PFC values are related only to Tx. +config QLCNIC_VXLAN + bool "Virtual eXtensible Local Area Network (VXLAN) offload support" + default n + depends on QLCNIC && VXLAN && !(QLCNIC=y && VXLAN=m) + ---help--- + This enables hardware offload support for VXLAN protocol over QLogic's + 84XX series adapters. + Say Y here if you want to enable hardware offload support for + Virtual eXtensible Local Area Network (VXLAN) in the driver. + config QLGE tristate "QLogic QLGE 10Gb Ethernet Driver Support" depends on PCI |