diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-05-08 14:55:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-09 00:21:07 -0400 |
commit | 7dbb29172d415ccccad1166700d6be78dee9f2bc (patch) | |
tree | 8b8a9889a70a14ca07852753e5e60995a7ab483b /Documentation/misc-devices | |
parent | 7fd7406d9c7e3c6f235aec224a811dc0fd29e049 (diff) |
net/mlx5e: make VXLAN support conditional
VXLAN can be disabled at compile-time or it can be a loadable
module while mlx5 is built-in, which leads to a link error:
drivers/net/built-in.o: In function `mlx5e_create_netdev':
ntb_netdev.c:(.text+0x106de4): undefined reference to `vxlan_get_rx_port'
This avoids the link error and makes the vxlan code optional,
like the other ethernet drivers do as well.
Link: https://patchwork.ozlabs.org/patch/589296/
Fixes: b3f63c3d5e2c ("net/mlx5e: Add netdev support for VXLAN tunneling")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/misc-devices')
0 files changed, 0 insertions, 0 deletions