From: Anjali Singhai Jain <anjali.singhai@intel.com>
To: netdev@vger.kernel.org
Cc: jeffrey.t.kirsher@intel.com,
Anjali Singhai Jain <anjali.singhai@intel.com>
Subject: [PATCH v4 5/5] i40e: Call geneve_get_rx_port to get the existing Geneve ports
Date: Mon, 14 Dec 2015 11:58:00 -0800 [thread overview]
Message-ID: <1450123080-206406-6-git-send-email-anjali.singhai@intel.com> (raw)
In-Reply-To: <1450123080-206406-1-git-send-email-anjali.singhai@intel.com>
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>
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 81a6693..11059be 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;
}
--
1.8.1.4
prev parent reply other threads:[~2015-12-14 19:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 19:57 [PATCH v4 0/5] Add support for Geneve udp port offload Anjali Singhai Jain
2015-12-14 19:57 ` [PATCH v4 1/5] geneve: Add geneve udp port offload for ethernet devices Anjali Singhai Jain
2015-12-14 19:48 ` Singhai, Anjali
2015-12-14 19:57 ` [PATCH v4 2/5] i40e: geneve tunnel offload support Anjali Singhai Jain
2015-12-14 19:57 ` [PATCH v4 3/5] i40e: Kernel dependency update for i40e to support geneve offload Anjali Singhai Jain
2015-12-14 19:57 ` [PATCH v4 4/5] geneve: Add geneve_get_rx_port support Anjali Singhai Jain
2015-12-14 19:58 ` Anjali Singhai Jain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450123080-206406-6-git-send-email-anjali.singhai@intel.com \
--to=anjali.singhai@intel.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).