|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
#include "fm10k.h"
|
|
|
#include <linux/vmalloc.h>
|
|
|
-#if IS_ENABLED(CONFIG_FM10K_VXLAN)
|
|
|
+#ifdef CONFIG_FM10K_VXLAN
|
|
|
#include <net/vxlan.h>
|
|
|
#endif /* CONFIG_FM10K_VXLAN */
|
|
|
|
|
@@ -556,11 +556,11 @@ int fm10k_open(struct net_device *netdev)
|
|
|
if (err)
|
|
|
goto err_set_queues;
|
|
|
|
|
|
-#if IS_ENABLED(CONFIG_FM10K_VXLAN)
|
|
|
+#ifdef CONFIG_FM10K_VXLAN
|
|
|
/* update VXLAN port configuration */
|
|
|
vxlan_get_rx_port(netdev);
|
|
|
-
|
|
|
#endif
|
|
|
+
|
|
|
fm10k_up(interface);
|
|
|
|
|
|
return 0;
|