[dpdk-stable] patch 'net/ena: fix parsing of large LLQ header device argument' has been queued to stable release 20.11.2
Xueming Li
xuemingl at nvidia.com
Sat Jun 12 01:03:27 CEST 2021
Hi,
FYI, your patch has been queued to stable release 20.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 06/14/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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/a5c0cca39ad6d6c78476734f4ae4f92640783e9d
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From a5c0cca39ad6d6c78476734f4ae4f92640783e9d Mon Sep 17 00:00:00 2001
From: Igor Chauskin <igorch at amazon.com>
Date: Tue, 11 May 2021 08:45:46 +0200
Subject: [PATCH] net/ena: fix parsing of large LLQ header device argument
Cc: Luca Boccassi <bluca at debian.org>
[ upstream commit 9b312ad310024d00822cbc431677b59daa1e5e2c ]
The code incorrectly checked the return value of comparison when parsing
the argument key name. The return value of strcmp should be compared
to 0 to identify a match.
Fixes: 8a7a73f26cc9 ("net/ena: support large LLQ headers")
Signed-off-by: Igor Chauskin <igorch at amazon.com>
Reviewed-by: Shay Agroskin <shayagr at amazon.com>
Reviewed-by: Michal Krawczyk <mk at semihalf.com>
---
drivers/net/ena/ena_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index 6327b882b6..e7547af144 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -2865,7 +2865,7 @@ static int ena_process_bool_devarg(const char *key,
}
/* Now, assign it to the proper adapter field. */
- if (strcmp(key, ENA_DEVARG_LARGE_LLQ_HDR))
+ if (strcmp(key, ENA_DEVARG_LARGE_LLQ_HDR) == 0)
adapter->use_large_llq_hdr = bool_value;
return 0;
--
2.25.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-06-12 06:53:59.500944100 +0800
+++ 0113-net-ena-fix-parsing-of-large-LLQ-header-device-argum.patch 2021-06-12 06:53:56.490000000 +0800
@@ -1 +1 @@
-From 9b312ad310024d00822cbc431677b59daa1e5e2c Mon Sep 17 00:00:00 2001
+From a5c0cca39ad6d6c78476734f4ae4f92640783e9d Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Luca Boccassi <bluca at debian.org>
+
+[ upstream commit 9b312ad310024d00822cbc431677b59daa1e5e2c ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +23 @@
-index 5b073658d1..53647cc56e 100644
+index 6327b882b6..e7547af144 100644
More information about the stable
mailing list