patch 'net/iavf: fix protocol agnostic offloading with big packets' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Thu Aug 10 01:48:06 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/11/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=e149ea19c204cf1da9ef111e949fc98a87cf2509

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From e149ea19c204cf1da9ef111e949fc98a87cf2509 Mon Sep 17 00:00:00 2001
From: Junfeng Guo <junfeng.guo at intel.com>
Date: Thu, 15 Jun 2023 13:17:17 +0800
Subject: [PATCH] net/iavf: fix protocol agnostic offloading with big packets
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit a74f589e431f7107c88a1ade65b86e227e0fc042 ]

In current pattern parsing function for protocol agnostic flow
offloading (raw flow), some of the variables of packet length are
defined as uint8_t, which are too small for some large-size packets,
such as srv6 (Segment Routing over IPv6 dataplane) type. Change the
type to uint16_t.

Fixes: bc0e85586eaf ("net/iavf: support VF RSS flow rule with raw pattern")

Signed-off-by: Ting Xu <ting.xu at intel.com>
Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/iavf/iavf_hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c
index ae6fb38594..cf4d677101 100644
--- a/drivers/net/iavf/iavf_hash.c
+++ b/drivers/net/iavf/iavf_hash.c
@@ -886,8 +886,8 @@ iavf_hash_parse_raw_pattern(const struct rte_flow_item *item,
 			struct iavf_rss_meta *meta)
 {
 	const struct rte_flow_item_raw *raw_spec, *raw_mask;
+	uint16_t spec_len, pkt_len;
 	uint8_t *pkt_buf, *msk_buf;
-	uint8_t spec_len, pkt_len;
 	uint8_t tmp_val = 0;
 	uint8_t tmp_c = 0;
 	int i, j;
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-08-09 21:51:19.370284600 +0800
+++ 0044-net-iavf-fix-protocol-agnostic-offloading-with-big-p.patch	2023-08-09 21:51:18.184352000 +0800
@@ -1 +1 @@
-From a74f589e431f7107c88a1ade65b86e227e0fc042 Mon Sep 17 00:00:00 2001
+From e149ea19c204cf1da9ef111e949fc98a87cf2509 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit a74f589e431f7107c88a1ade65b86e227e0fc042 ]
@@ -13 +15,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list