Skip to content

Commit

Permalink
i40e: Call geneve_get_rx_port to get the existing Geneve ports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Singhai, Anjali authored and David S. Miller committed Dec 16, 2015
1 parent 05ca402 commit cd86660
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ethernet/intel/i40e/i40e_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cd86660

Please sign in to comment.