patch 'net/mlx5/hws: fix ESP flow matching validation' has been queued to stable release 23.11.1
Xueming Li
xuemingl at nvidia.com
Tue Mar 5 10:47:48 CET 2024
Hi,
FYI, your patch has been queued to stable release 23.11.1
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/31/24. 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=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=c3eb8629791a10fafd439fe040bc18bc83965891
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From c3eb8629791a10fafd439fe040bc18bc83965891 Mon Sep 17 00:00:00 2001
From: Michael Baum <michaelba at nvidia.com>
Date: Mon, 15 Jan 2024 14:09:39 +0200
Subject: [PATCH] net/mlx5/hws: fix ESP flow matching validation
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a ]
The "mlx5dr_definer_conv_item_esp()" function validates first whether
"ipsec_offload" PRM flag is on, if the flag is off the function returns
error.
The "ipsec_offload" PRM flag indicates whether IPsec encrypt/decrypt is
supported, IPsec matching may be supported even when this flag is off.
This patch removes this validation.
Fixes: 81cf20a25abf ("net/mlx5/hws: support match on ESP item")
Signed-off-by: Michael Baum <michaelba at nvidia.com>
Acked-by: Hamdan Igbaria <hamdani at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/mlx5/hws/mlx5dr_definer.c b/drivers/net/mlx5/hws/mlx5dr_definer.c
index 0b60479406..7bd4ea560e 100644
--- a/drivers/net/mlx5/hws/mlx5dr_definer.c
+++ b/drivers/net/mlx5/hws/mlx5dr_definer.c
@@ -2240,11 +2240,6 @@ mlx5dr_definer_conv_item_esp(struct mlx5dr_definer_conv_data *cd,
const struct rte_flow_item_esp *m = item->mask;
struct mlx5dr_definer_fc *fc;
- if (!cd->ctx->caps->ipsec_offload) {
- rte_errno = ENOTSUP;
- return rte_errno;
- }
-
if (!m)
return 0;
if (m->hdr.spi) {
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-03-05 17:39:34.789359626 +0800
+++ 0127-net-mlx5-hws-fix-ESP-flow-matching-validation.patch 2024-03-05 17:39:31.013566501 +0800
@@ -1 +1 @@
-From 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a Mon Sep 17 00:00:00 2001
+From c3eb8629791a10fafd439fe040bc18bc83965891 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a ]
@@ -16 +18,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list