DPDK patches and discussions
 help / color / mirror / Atom feed
From: Junfeng Guo <junfeng.guo@intel.com>
To: qi.z.zhang@intel.com, xiaolong.ye@intel.com, beilei.xing@intel.com
Cc: dev@dpdk.org, jia.guo@intel.com, junfeng.guo@intel.com,
	simei.su@intel.com
Subject: [dpdk-dev] [PATCH 2/2] net/iavf: add RSS support for ipv4 ipv6 mix of GTP
Date: Fri, 12 Jun 2020 16:10:32 +0800
Message-ID: <20200612081032.54201-3-junfeng.guo@intel.com> (raw)
In-Reply-To: <20200612081032.54201-1-junfeng.guo@intel.com>

RSS for GTP with outer & inner ipv4 & ipv6 combination are supported
in this patch, so that we can process RSS based on inner 5 tuples or
3 tuples of all the cases below of GTP packets:
	1. ipv4 (outer) + ipv4 (inner)
	2. ipv4 (outer) + ipv6 (inner)
	3. ipv6 (outer) + ipv4 (inner)
	4. ipv6 (outer) + ipv6 (inner)

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
---
 drivers/net/iavf/iavf_generic_flow.c | 180 ++++++++++++++++++++++++++-
 drivers/net/iavf/iavf_generic_flow.h |  30 ++++-
 drivers/net/iavf/iavf_hash.c         | 106 ++++++++++++----
 3 files changed, 287 insertions(+), 29 deletions(-)

diff --git a/drivers/net/iavf/iavf_generic_flow.c b/drivers/net/iavf/iavf_generic_flow.c
index b6c26c4fd..f8c5c02d2 100644
--- a/drivers/net/iavf/iavf_generic_flow.c
+++ b/drivers/net/iavf/iavf_generic_flow.c
@@ -315,7 +315,7 @@ enum rte_flow_item_type iavf_pattern_eth_qinq_ipv6_icmp6[] = {
 	RTE_FLOW_ITEM_TYPE_END,
 };
 
-/* GTPU */
+/* IPv4 GTPU (EH) */
 enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu[] = {
 	RTE_FLOW_ITEM_TYPE_ETH,
 	RTE_FLOW_ITEM_TYPE_IPV4,
@@ -333,6 +333,7 @@ enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh[] = {
 	RTE_FLOW_ITEM_TYPE_END,
 };
 
+/* IPv4 GTPU IPv4 */
 enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_ipv4[] = {
 	RTE_FLOW_ITEM_TYPE_ETH,
 	RTE_FLOW_ITEM_TYPE_IPV4,
@@ -342,6 +343,8 @@ enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_ipv4[] = {
 	RTE_FLOW_ITEM_TYPE_END,
 };
 
+
+/* IPv4 GTPU EH IPv4 */
 enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4[] = {
 	RTE_FLOW_ITEM_TYPE_ETH,
 	RTE_FLOW_ITEM_TYPE_IPV4,
@@ -372,7 +375,17 @@ enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp[] = {
 	RTE_FLOW_ITEM_TYPE_IPV4,
 	RTE_FLOW_ITEM_TYPE_TCP,
 	RTE_FLOW_ITEM_TYPE_END,
+};
 
+enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_sctp[] = {
+	RTE_FLOW_ITEM_TYPE_ETH,
+	RTE_FLOW_ITEM_TYPE_IPV4,
+	RTE_FLOW_ITEM_TYPE_UDP,
+	RTE_FLOW_ITEM_TYPE_GTPU,
+	RTE_FLOW_ITEM_TYPE_GTP_PSC,
+	RTE_FLOW_ITEM_TYPE_IPV4,
+	RTE_FLOW_ITEM_TYPE_SCTP,
+	RTE_FLOW_ITEM_TYPE_END,
 };
 
 enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_icmp[] = {
@@ -386,6 +399,171 @@ enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_icmp[] = {
 	RTE_FLOW_ITEM_TYPE_END,
 };
 
+/* IPv4 GTPU EH IPv6 */
+enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6[] = {
+	RTE_FLOW_ITEM_TYPE_ETH,
+	RTE_FLOW_ITEM_TYPE_IPV4,
+	RTE_FLOW_ITEM_T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pu_eh_ipv6_tcp[] = {
+	RTE_FLOW_ITEM_TYPE_ETH,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_UDP,
+	RTE_FLOW_ITEM_TYPE_GTPU,
+	RTE_FLOW_ITEM_TYPE_GTP_PSC,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_TCP,
+	RTE_FLOW_ITEM_TYPE_END,
+};
+
+enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_sctp[] = {
+	RTE_FLOW_ITEM_TYPE_ETH,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_UDP,
+	RTE_FLOW_ITEM_TYPE_GTPU,
+	RTE_FLOW_ITEM_TYPE_GTP_PSC,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_SCTP,
+	RTE_FLOW_ITEM_TYPE_END,
+};
+
+enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_icmp[] = {
+	RTE_FLOW_ITEM_TYPE_ETH,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_UDP,
+	RTE_FLOW_ITEM_TYPE_GTPU,
+	RTE_FLOW_ITEM_TYPE_GTP_PSC,
+	RTE_FLOW_ITEM_TYPE_IPV6,
+	RTE_FLOW_ITEM_TYPE_ICMP,
+	RTE_FLOW_ITEM_TYPE_END,
+};
+
 /* ESP */
 enum rte_flow_item_type iavf_pattern_eth_ipv4_esp[] = {
 	RTE_FLOW_ITEM_TYPE_ETH,
diff --git a/drivers/net/iavf/iavf_generic_flow.h b/drivers/net/iavf/iavf_generic_flow.h
index 978d0716b..f7ce4dcc7 100644
--- a/drivers/net/iavf/iavf_generic_flow.h
+++ b/drivers/net/iavf/iavf_generic_flow.h
@@ -182,15 +182,41 @@ extern enum rte_flow_item_type iavf_pattern_eth_ipv6_icmp6[];
 extern enum rte_flow_item_type iavf_pattern_eth_vlan_ipv6_icmp6[];
 extern enum rte_flow_item_type iavf_pattern_eth_qinq_ipv6_icmp6[];
 
-/* GTPU */
+/* IPv4 GTPU (EH) */
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu[];
-extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_ipv4[];
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh[];
+
+/* IPv4 GTPU IPv4 */
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_ipv4[];
+
+/* IPv4 GTPU EH IPv4 */
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4[];
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_udp[];
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_sctp[];
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv4_icmp[];
 
+/* IPv4 GTPU EH IPv6 */
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6_udp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6_tcp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6_sctp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv4_gtpu_eh_ipv6_icmp[];
+
+/* IPv6 GTPU EH IPv4 */
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv4[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv4_udp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv4_tcp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv4_sctp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv4_icmp[];
+
+/* IPv6 GTPU EH IPv6 */
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_udp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_tcp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_sctp[];
+extern enum rte_flow_item_type iavf_pattern_eth_ipv6_gtpu_eh_ipv6_icmp[];
+
 /* ESP */
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_esp[];
 extern enum rte_flow_item_type iavf_pattern_eth_ipv4_udp_esp[];
diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c
index a7691ef0c..6bd49163b 100644
--- a/drivers/net/iavf/iavf_hash.c
+++ b/drivers/net/iavf/iavf_hash.c
@@ -85,6 +85,7 @@ iavf_hash_parse_pattern_action(struct iavf_adapter *ad,
 
 struct iavf_pattern_match_type phint_empty = {
 	IAVF_PATTERN_HINT_NONE};
+
 struct iavf_pattern_match_type phint_eth_ipv4 = {
 	IAVF_PATTERN_HINT_IPV4};
 struct iavf_pattern_match_type phint_eth_ipv4_udp = {
@@ -93,8 +94,43 @@ struct iavf_pattern_match_type phint_eth_ipv4_tcp = {
 	IAVF_PATTERN_HINT_IPV4_TCP};
 struct iavf_pattern_match_type phint_eth_ipv4_sctp = {
 	IAVF_PATTERN_HINT_IPV4_SCTP};
-struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh = {
+
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_ipv4 = {
+	IAVF_PATTERN_HINT_IPV4};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_udp4 = {
 	IAVF_PATTERN_HINT_IPV4_UDP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_tcp4 = {
+	IAVF_PATTERN_HINT_IPV4_TCP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_sctp4 = {
+	IAVF_PATTERN_HINT_IPV4_SCTP};
+
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_ipv6 = {
+	IAVF_PATTERN_HINT_IPV6};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_udp6 = {
+	IAVF_PATTERN_HINT_IPV6_UDP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_tcp6 = {
+	IAVF_PATTERN_HINT_IPV6_TCP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_sctp6 = {
+	IAVF_PATTERN_HINT_IPV6_SCTP};
+
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_ipv4 = {
+	IAVF_PATTERN_HINT_IPV4};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_udp4 = {
+	IAVF_PATTERN_HINT_IPV4_UDP};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_tcp4 = {
+	IAVF_PATTERN_HINT_IPV4_TCP};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_sctp4 = {
+	IAVF_PATTERN_HINT_IPV4_SCTP};
+
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_ipv6 = {
+	IAVF_PATTERN_HINT_IPV6};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_udp6 = {
+	IAVF_PATTERN_HINT_IPV6_UDP};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_tcp6 = {
+	IAVF_PATTERN_HINT_IPV6_TCP};
+struct iavf_pattern_match_type phint_eth_ipv6_gtpu_eh_sctp6 = {
+	IAVF_PATTERN_HINT_IPV6_SCTP};
+
 struct iavf_pattern_match_type phint_eth_ipv4_esp = {
 	IAVF_PATTERN_HINT_IPV4};
 struct iavf_pattern_match_type phint_eth_ipv4_ah = {
@@ -103,6 +139,7 @@ struct iavf_pattern_match_type phint_eth_ipv4_l2tpv3 = {
 	IAVF_PATTERN_HINT_IPV4};
 struct iavf_pattern_match_type phint_eth_ipv4_pfcp = {
 	IAVF_PATTERN_HINT_IPV4_UDP};
+
 struct iavf_pattern_match_type phint_eth_ipv6 = {
 	IAVF_PATTERN_HINT_IPV6};
 struct iavf_pattern_match_type phint_eth_ipv6_udp = {
@@ -111,6 +148,7 @@ struct iavf_pattern_match_type phint_eth_ipv6_tcp = {
 	IAVF_PATTERN_HINT_IPV6_TCP};
 struct iavf_pattern_match_type phint_eth_ipv6_sctp = {
 	IAVF_PATTERN_HINT_IPV6_SCTP};
+
 struct iavf_pattern_match_type phint_eth_ipv6_esp = {
 	IAVF_PATTERN_HINT_IPV6};
 struct iavf_pattern_match_type phint_eth_ipv6_ah = {
@@ -127,31 +165,47 @@ struct iavf_pattern_match_type phint_eth_ipv6_pfcp = {
  * the third member is pattern hint for hash.
  */
 static struct iavf_pattern_match_item iavf_hash_pattern_list[] = {
-	{iavf_pattern_eth_ipv4, IAVF_INSET_NONE, &phint_eth_ipv4},
-	{iavf_pattern_eth_ipv4_udp, IAVF_INSET_NONE, &phint_eth_ipv4_udp},
-	{iavf_pattern_eth_ipv4_tcp, IAVF_INSET_NONE, &phint_eth_ipv4_tcp},
-	{iavf_pattern_eth_ipv4_sctp, IAVF_INSET_NONE, &phint_eth_ipv4_sctp},
-	{iavf_pattern_eth_ipv6, IAVF_INSET_NONE, &phint_eth_ipv6},
-	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4, IAVF_INSET_NONE,
-						&phint_eth_ipv4_gtpu_eh},
-	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_udp, IAVF_INSET_NONE,
-						&phint_eth_ipv4_gtpu_eh},
-	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp, IAVF_INSET_NONE,
-						&phint_eth_ipv4_gtpu_eh},
-	{iavf_pattern_eth_ipv4_esp, IAVF_INSET_NONE, &phint_eth_ipv4_esp},
-	{iavf_pattern_eth_ipv4_ah, IAVF_INSET_NONE, &phint_eth_ipv4_ah},
-	{iavf_pattern_eth_ipv4_l2tpv3, IAVF_INSET_NONE,
-						&phint_eth_ipv4_l2tpv3},
-	{iavf_pattern_eth_ipv4_pfcp, IAVF_INSET_NONE, &phint_eth_ipv4_pfcp},
-	{iavf_pattern_eth_ipv6_udp, IAVF_INSET_NONE, &phint_eth_ipv6_udp},
-	{iavf_pattern_eth_ipv6_tcp, IAVF_INSET_NONE, &phint_eth_ipv6_tcp},
-	{iavf_pattern_eth_ipv6_sctp, IAVF_INSET_NONE, &phint_eth_ipv6_sctp},
-	{iavf_pattern_eth_ipv6_esp, IAVF_INSET_NONE, &phint_eth_ipv6_esp},
-	{iavf_pattern_eth_ipv6_ah, IAVF_INSET_NONE, &phint_eth_ipv6_ah},
-	{iavf_pattern_eth_ipv6_l2tpv3, IAVF_INSET_NONE,
-						&phint_eth_ipv6_l2tpv3},
-	{iavf_pattern_eth_ipv6_pfcp, IAVF_INSET_NONE, &phint_eth_ipv6_pfcp},
-	{iavf_pattern_empty, IAVF_INSET_NONE, &phint_empty},
+	{iavf_pattern_eth_ipv4,				IAVF_INSET_NONE,  &phint_eth_ipv4},
+	{iavf_pattern_eth_ipv4_udp,			IAVF_INSET_NONE,  &phint_eth_ipv4_udp},
+	{iavf_pattern_eth_ipv4_tcp,			IAVF_INSET_NONE,  &phint_eth_ipv4_tcp},
+	{iavf_pattern_eth_ipv4_sctp,			IAVF_INSET_NONE,  &phint_eth_ipv4_sctp},
+
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4,		IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_ipv4},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_udp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_udp4},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_tcp4},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_sctp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_sctp4},
+
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv6,		IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_ipv6},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv6_udp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_udp6},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv6_tcp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_tcp6},
+	{iavf_pattern_eth_ipv4_gtpu_eh_ipv6_sctp,	IAVF_INSET_NONE,  &phint_eth_ipv4_gtpu_eh_sctp6},
+
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv4,		IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_ipv4},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv4_udp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_udp4},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv4_tcp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_tcp4},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv4_sctp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_sctp4},
+
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv6,		IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_ipv6},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv6_udp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_udp6},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv6_tcp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_tcp6},
+	{iavf_pattern_eth_ipv6_gtpu_eh_ipv6_sctp,	IAVF_INSET_NONE,  &phint_eth_ipv6_gtpu_eh_sctp6},
+
+	{iavf_pattern_eth_ipv4_esp,			IAVF_INSET_NONE,  &phint_eth_ipv4_esp},
+	{iavf_pattern_eth_ipv4_ah,			IAVF_INSET_NONE,  &phint_eth_ipv4_ah},
+	{iavf_pattern_eth_ipv4_l2tpv3,			IAVF_INSET_NONE,  &phint_eth_ipv4_l2tpv3},
+	{iavf_pattern_eth_ipv4_pfcp,			IAVF_INSET_NONE,  &phint_eth_ipv4_pfcp},
+
+	{iavf_pattern_eth_ipv6,				IAVF_INSET_NONE,  &phint_eth_ipv6},
+	{iavf_pattern_eth_ipv6_udp,			IAVF_INSET_NONE,  &phint_eth_ipv6_udp},
+	{iavf_pattern_eth_ipv6_tcp,			IAVF_INSET_NONE,  &phint_eth_ipv6_tcp},
+	{iavf_pattern_eth_ipv6_sctp,			IAVF_INSET_NONE,  &phint_eth_ipv6_sctp},
+
+	{iavf_pattern_eth_ipv6_esp,			IAVF_INSET_NONE,  &phint_eth_ipv6_esp},
+	{iavf_pattern_eth_ipv6_ah,			IAVF_INSET_NONE,  &phint_eth_ipv6_ah},
+	{iavf_pattern_eth_ipv6_l2tpv3,			IAVF_INSET_NONE,  &phint_eth_ipv6_l2tpv3},
+	{iavf_pattern_eth_ipv6_pfcp,			IAVF_INSET_NONE,  &phint_eth_ipv6_pfcp},
+
+	{iavf_pattern_empty,				IAVF_INSET_NONE,  &phint_empty},
 };
 
 #define TUNNEL_LEVEL_OUTER		0
-- 
2.17.1


  parent reply	other threads:[~2020-06-12 15:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12  8:10 [dpdk-dev] [PATCH 0/2] add RSS support for ipv4 ipv6 mix of GTP on PF and VF Junfeng Guo
2020-06-12  8:10 ` [dpdk-dev] [PATCH 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP Junfeng Guo
2020-06-12  8:10 ` Junfeng Guo [this message]
2020-06-17  7:36 ` [dpdk-dev] [PATCH v2 0/2] add RSS support for ipv4 ipv6 mix of GTP on VF and PF Junfeng Guo
2020-06-17  7:36   ` [dpdk-dev] [PATCH v2 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP Junfeng Guo
2020-06-17  7:36   ` [dpdk-dev] [PATCH v2 2/2] net/iavf: " Junfeng Guo
2020-06-18  4:48   ` [dpdk-dev] [PATCH v3 0/2] add RSS support for ipv4 ipv6 mix of GTP on VF and PF Junfeng Guo
2020-06-18  4:48     ` [dpdk-dev] [PATCH v3 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP Junfeng Guo
2020-06-18  4:48     ` [dpdk-dev] [PATCH v3 2/2] net/iavf: " Junfeng Guo
2020-06-18  5:43     ` [dpdk-dev] [PATCH v4 0/2] add RSS support for ipv4 ipv6 mix of GTP on VF and PF Junfeng Guo
2020-06-18  5:43       ` [dpdk-dev] [PATCH v4 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP Junfeng Guo
2020-06-18  5:43       ` [dpdk-dev] [PATCH v4 2/2] net/iavf: " Junfeng Guo
2020-07-08  3:27       ` [dpdk-dev] [PATCH v5 0/2] add RSS support for ipv4 ipv6 mix of GTP on PF and VF Junfeng Guo
2020-07-08  3:27         ` [dpdk-dev] [PATCH v5 1/2] net/ice: add RSS support for ipv4 ipv6 mix of GTP Junfeng Guo
2020-07-08  3:27         ` [dpdk-dev] [PATCH v5 2/2] net/iavf: " Junfeng Guo
2020-07-08  8:46         ` [dpdk-dev] [PATCH v5 0/2] add RSS support for ipv4 ipv6 mix of GTP on PF and VF Zhang, Qi Z

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=20200612081032.54201-3-junfeng.guo@intel.com \
    --to=junfeng.guo@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=jia.guo@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=simei.su@intel.com \
    --cc=xiaolong.ye@intel.com \
    /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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git