summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinghai, Anjali <anjali.singhai@intel.com>2015-12-14 12:21:21 -0800
committerDavid S. Miller <davem@davemloft.net>2015-12-16 10:58:56 -0500
commitcd866606c91b1e99517fd866de0049276f011ea7 (patch)
tree25ec23b5c389cda057a187a592012bea268114bb
parent05ca4029b25c65c860be5baa9288ec8f7e0a97e6 (diff)
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>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index c69b1bb8f2a4..23211e08eecb 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/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;
}