[dpdk-stable] patch 'net/i40e: fix flow director for ARP packets' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Fri Jun 5 20:24:05 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/10/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/0518c7dcaa6dafb087c2811a57b2d03111fde8fe

Thanks.

Kevin.

---
>From 0518c7dcaa6dafb087c2811a57b2d03111fde8fe Mon Sep 17 00:00:00 2001
From: Wei Zhao <wei.zhao1 at intel.com>
Date: Wed, 29 Apr 2020 10:03:51 +0800
Subject: [PATCH] net/i40e: fix flow director for ARP packets

[ upstream commit 73cc2f0ab5cfaa7f4b2dd4c0cacc98b8e17cc778 ]

Currently, flow "pattern eth type is 0x0806 / end actions mark id
0x86 / rss / end" can't be created successfully. FDIR parser
shouldn't deny RTE_ETHER_TYPE_ARP since ARP packets will be
parsed as PCTYPE_L2_PAYLOAD. This patch fixes the issue.

Bugzilla ID: 402
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")

Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
Acked-by: Beilei Xing <beilei.xing at intel.com>
---
 drivers/net/i40e/i40e_flow.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 642532ba96..98588d0113 100644
--- a/drivers/net/i40e/i40e_flow.c
+++ b/drivers/net/i40e/i40e_flow.c
@@ -2544,5 +2544,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
 				    ether_type == ETHER_TYPE_IPv4 ||
 				    ether_type == ETHER_TYPE_IPv6 ||
-				    ether_type == ETHER_TYPE_ARP ||
 				    ether_type == outer_tpid) {
 					rte_flow_error_set(error, EINVAL,
@@ -2589,5 +2588,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
 				if (ether_type == ETHER_TYPE_IPv4 ||
 				    ether_type == ETHER_TYPE_IPv6 ||
-				    ether_type == ETHER_TYPE_ARP ||
 				    ether_type == outer_tpid) {
 					rte_flow_error_set(error, EINVAL,
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-06-05 19:20:51.394630669 +0100
+++ 0008-net-i40e-fix-flow-director-for-ARP-packets.patch	2020-06-05 19:20:50.713043017 +0100
@@ -1 +1 @@
-From 73cc2f0ab5cfaa7f4b2dd4c0cacc98b8e17cc778 Mon Sep 17 00:00:00 2001
+From 0518c7dcaa6dafb087c2811a57b2d03111fde8fe Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 73cc2f0ab5cfaa7f4b2dd4c0cacc98b8e17cc778 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 7e64ae53a3..1533d5abbd 100644
+index 642532ba96..98588d0113 100644
@@ -25,4 +26,4 @@
-@@ -2667,5 +2667,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
- 				    ether_type == RTE_ETHER_TYPE_IPV4 ||
- 				    ether_type == RTE_ETHER_TYPE_IPV6 ||
--				    ether_type == RTE_ETHER_TYPE_ARP ||
+@@ -2544,5 +2544,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
+ 				    ether_type == ETHER_TYPE_IPv4 ||
+ 				    ether_type == ETHER_TYPE_IPv6 ||
+-				    ether_type == ETHER_TYPE_ARP ||
@@ -31,4 +32,4 @@
-@@ -2712,5 +2711,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
- 				if (ether_type == RTE_ETHER_TYPE_IPV4 ||
- 				    ether_type == RTE_ETHER_TYPE_IPV6 ||
--				    ether_type == RTE_ETHER_TYPE_ARP ||
+@@ -2589,5 +2588,4 @@ i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev,
+ 				if (ether_type == ETHER_TYPE_IPv4 ||
+ 				    ether_type == ETHER_TYPE_IPv6 ||
+-				    ether_type == ETHER_TYPE_ARP ||



More information about the stable mailing list