i40e: Call geneve_get_rx_port to get the existing Geneve ports
authorSinghai, Anjali <anjali.singhai@intel.com>
Mon, 14 Dec 2015 20:21:21 +0000 (12:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 15:58:56 +0000 (10:58 -0500)
This patch adds a call to geneve_get_rx_port in i40e so that when it
comes up it can learn about the existing geneve tunnels.

Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c

index c69b1bb8f2a49bef127e6a1999951c56f64b55d7..23211e08eecb870c784203e48fc83effc305c7b9 100644 (file)
@@ -5339,6 +5339,9 @@ int i40e_open(struct net_device *netdev)
 #ifdef CONFIG_I40E_VXLAN
        vxlan_get_rx_port(netdev);
 #endif
+#ifdef CONFIG_I40E_GENEVE
+       geneve_get_rx_port(netdev);
+#endif
 
        return 0;
 }