patch 'net/ixgbe: enable IPv6 mask in flow rules' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 08:00:48 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/01/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=3c047b3d86831405cfaf21f5b7581ce728147df4

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 3c047b3d86831405cfaf21f5b7581ce728147df4 Mon Sep 17 00:00:00 2001
From: Kaiwen Deng <kaiwenx.deng at intel.com>
Date: Sat, 28 Jan 2023 15:15:19 +0800
Subject: [PATCH] net/ixgbe: enable IPv6 mask in flow rules
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit cba954b7bedaa7d0baea1ddc39fd0199015f583c ]

Add IPv6 addr mask and L4 mask support for rte_flow APIs.

IPv6 flow rules do not take effect in ixgbe when set
IPv6 addr mask and L4 mask to default value as 0xFF.

Set IPv6 addr mask and L4 mask as 0 to enable fields
can fix this issue.

Fixes: 11777435c727 ("net/ixgbe: parse flow director filter")

Signed-off-by: Kaiwen Deng <kaiwenx.deng at intel.com>
Tested-by: Yuan Peng <yuan.peng at intel.com>
Acked-by: Qiming Yang <qiming.yang at intel.com>
---
 drivers/net/ixgbe/ixgbe_flow.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c
index 110ff34fcc..d2ba87df27 100644
--- a/drivers/net/ixgbe/ixgbe_flow.c
+++ b/drivers/net/ixgbe/ixgbe_flow.c
@@ -1645,6 +1645,10 @@ ixgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev,
 	memset(&rule->mask, 0xFF, sizeof(struct ixgbe_hw_fdir_mask));
 	rule->mask.vlan_tci_mask = 0;
 	rule->mask.flex_bytes_mask = 0;
+	rule->mask.dst_port_mask = 0;
+	rule->mask.src_port_mask = 0;
+	rule->mask.src_ipv6_mask = 0;
+	rule->mask.dst_ipv6_mask = 0;

 	/**
 	 * The first not void item should be
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-27 14:08:45.367883600 +0800
+++ 0141-net-ixgbe-enable-IPv6-mask-in-flow-rules.patch	2023-02-27 14:08:40.929237000 +0800
@@ -1 +1 @@
-From cba954b7bedaa7d0baea1ddc39fd0199015f583c Mon Sep 17 00:00:00 2001
+From 3c047b3d86831405cfaf21f5b7581ce728147df4 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit cba954b7bedaa7d0baea1ddc39fd0199015f583c ]
@@ -15 +17,0 @@
-Cc: stable at dpdk.org
@@ -25 +27 @@
-index fe710b7900..79c84044af 100644
+index 110ff34fcc..d2ba87df27 100644


More information about the stable mailing list