diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2014-04-01 11:03:59 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-02 00:25:51 +0400 |
commit | c5abe7c0a44ac2e8147543203de48b4aa0d4eaec (patch) | |
tree | aa102e2bd4028b81605ca399a5972a0e71e56452 /drivers/net/ethernet/emulex/benet/Kconfig | |
parent | e462ded699aa2cca04b68fbf203ea4675d4c44d4 (diff) | |
download | linux-c5abe7c0a44ac2e8147543203de48b4aa0d4eaec.tar.xz |
be2net: fix build dependency on VxLAN
Introduce a CONFIG_BE2NET_VXLAN define to control be2net's build
dependency on the VXLAN driver.
Without this fix, the kernel build fails when VxLAN driver is
selected to be built as a module while be2net is built-in.
fixes: c9c47142 ("be2net: csum, tso and rss steering offload support for VxLAN")
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/Kconfig')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/Kconfig b/drivers/net/ethernet/emulex/benet/Kconfig index 231129dd1764..ea94a8eb6b35 100644 --- a/drivers/net/ethernet/emulex/benet/Kconfig +++ b/drivers/net/ethernet/emulex/benet/Kconfig @@ -4,3 +4,11 @@ config BE2NET ---help--- This driver implements the NIC functionality for ServerEngines' 10Gbps network adapter - BladeEngine. + +config BE2NET_VXLAN + bool "VXLAN offload support on be2net driver" + default y + depends on BE2NET && VXLAN && !(BE2NET=y && VXLAN=m) + ---help--- + Say Y here if you want to enable VXLAN offload support on + be2net driver. |