Browse Source

i40e: Call geneve_get_rx_port to get the existing Geneve ports

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>
Singhai, Anjali 9 years ago
parent
commit
cd866606c9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/net/ethernet/intel/i40e/i40e_main.c

+ 3 - 0
drivers/net/ethernet/intel/i40e/i40e_main.c

@@ -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;
 }