[dpdk-stable] patch 'net/bnxt: fix packet type index calculation' has been queued to stable release 20.11.1
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Feb 5 12:18:36 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.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 02/07/21. 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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/436effd54ef1083c8b20d49e15fc12b90442f18e
Thanks.
Luca Boccassi
---
>From 436effd54ef1083c8b20d49e15fc12b90442f18e Mon Sep 17 00:00:00 2001
From: Lance Richardson <lance.richardson at broadcom.com>
Date: Mon, 18 Jan 2021 16:57:09 -0500
Subject: [PATCH] net/bnxt: fix packet type index calculation
[ upstream commit 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a ]
Fix mask to include all four bits of hardware packet type
field.
Fixes: 97b1db288dd0 ("net/bnxt: use table based packet type translation")
Signed-off-by: Lance Richardson <lance.richardson at broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
drivers/net/bnxt/bnxt_rxr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c
index 46e3fed127..6d6041f267 100644
--- a/drivers/net/bnxt/bnxt_rxr.c
+++ b/drivers/net/bnxt/bnxt_rxr.c
@@ -344,7 +344,7 @@ bnxt_init_ptype_table(void)
ip6 = i & (RX_PKT_CMPL_FLAGS2_IP_TYPE >> 7);
tun = i & (RX_PKT_CMPL_FLAGS2_T_IP_CS_CALC >> 2);
- type = (i & 0x38) << 9;
+ type = (i & 0x78) << 9;
if (!tun && !ip6)
l3 = RTE_PTYPE_L3_IPV4_EXT_UNKNOWN;
--
2.29.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-02-05 11:18:39.317102437 +0000
+++ 0230-net-bnxt-fix-packet-type-index-calculation.patch 2021-02-05 11:18:29.206698727 +0000
@@ -1 +1 @@
-From 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a Mon Sep 17 00:00:00 2001
+From 436effd54ef1083c8b20d49e15fc12b90442f18e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index a195bf1187..969cae19fc 100644
+index 46e3fed127..6d6041f267 100644
@@ -22 +23 @@
-@@ -402,7 +402,7 @@ bnxt_init_ptype_table(void)
+@@ -344,7 +344,7 @@ bnxt_init_ptype_table(void)
More information about the stable
mailing list