[dpdk-stable] patch 'net/ena/base: fix indentation of multiple defines' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Thu May 28 18:22:55 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

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/03/20. 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/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/c0e2971258ad31f13b64abdfaae20e456c319fdf

Thanks.

Kevin.

---
>From c0e2971258ad31f13b64abdfaae20e456c319fdf Mon Sep 17 00:00:00 2001
From: Michal Krawczyk <mk at semihalf.com>
Date: Wed, 8 Apr 2020 10:29:06 +0200
Subject: [PATCH] net/ena/base: fix indentation of multiple defines

[ upstream commit 5dcdfbfaaf5c4223cdcbb2d08995236bfdb7e3c8 ]

As the alignment of the defines wasn't valid, it was removed at all, so
instead of using multiple spaces or tabs, the single space after define
name is being used.

Fixes: 99ecfbf845b3 ("ena: import communication layer")

Signed-off-by: Michal Krawczyk <mk at semihalf.com>
Reviewed-by: Igor Chauskin <igorch at amazon.com>
Reviewed-by: Guy Tzalik <gtzalik at amazon.com>
---
 drivers/net/ena/base/ena_com.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ena/base/ena_com.h b/drivers/net/ena/base/ena_com.h
index 2e80ad563f..f373d50c50 100644
--- a/drivers/net/ena/base/ena_com.h
+++ b/drivers/net/ena/base/ena_com.h
@@ -38,7 +38,7 @@
 #include "ena_includes.h"
 
-#define ENA_MAX_NUM_IO_QUEUES		128U
+#define ENA_MAX_NUM_IO_QUEUES 128U
 /* We need to queues for each IO (on for Tx and one for Rx) */
-#define ENA_TOTAL_NUM_QUEUES		(2 * (ENA_MAX_NUM_IO_QUEUES))
+#define ENA_TOTAL_NUM_QUEUES (2 * (ENA_MAX_NUM_IO_QUEUES))
 
 #define ENA_MAX_HANDLERS 256
@@ -85,5 +85,5 @@
 #define ENA_INTR_BYTE_COUNT_NOT_SUPPORTED		0xFFFFFF
 
-#define ENA_HW_HINTS_NO_TIMEOUT				0xFFFF
+#define ENA_HW_HINTS_NO_TIMEOUT 0xFFFF
 
 enum ena_intr_moder_level {
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-28 17:13:02.616356350 +0100
+++ 0068-net-ena-base-fix-indentation-of-multiple-defines.patch	2020-05-28 17:12:59.148555337 +0100
@@ -1 +1 @@
-From 5dcdfbfaaf5c4223cdcbb2d08995236bfdb7e3c8 Mon Sep 17 00:00:00 2001
+From c0e2971258ad31f13b64abdfaae20e456c319fdf Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5dcdfbfaaf5c4223cdcbb2d08995236bfdb7e3c8 ]
+
@@ -16,2 +18,2 @@
- drivers/net/ena/base/ena_com.h | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
+ drivers/net/ena/base/ena_com.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
@@ -20 +22 @@
-index 6c9943df79..61074eaf63 100644
+index 2e80ad563f..f373d50c50 100644
@@ -23,2 +25,2 @@
-@@ -9,7 +9,7 @@
- #include "ena_plat.h"
+@@ -38,7 +38,7 @@
+ #include "ena_includes.h"
@@ -33,2 +35,2 @@
-@@ -34,7 +34,7 @@
- #define ENA_HASH_KEY_SIZE				40
+@@ -85,5 +85,5 @@
+ #define ENA_INTR_BYTE_COUNT_NOT_SUPPORTED		0xFFFFFF
@@ -39,4 +41 @@
--#define ENA_FEATURE_MAX_QUEUE_EXT_VER	1
-+#define ENA_FEATURE_MAX_QUEUE_EXT_VER 1
- 
- struct ena_llq_configurations {
+ enum ena_intr_moder_level {



More information about the stable mailing list