Skip to content

Commit

Permalink
net/ena/base: fix indentation of multiple defines
Browse files Browse the repository at this point in the history
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: 99ecfbf ("ena: import communication layer")

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
  • Loading branch information
Gerwand authored and Ferruh Yigit committed Apr 21, 2020
1 parent 422397c commit 5dcdfbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/ena/base/ena_com.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "ena_plat.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

Expand All @@ -33,9 +33,9 @@

#define ENA_HASH_KEY_SIZE 40

#define ENA_HW_HINTS_NO_TIMEOUT 0xFFFF
#define ENA_HW_HINTS_NO_TIMEOUT 0xFFFF

#define ENA_FEATURE_MAX_QUEUE_EXT_VER 1
#define ENA_FEATURE_MAX_QUEUE_EXT_VER 1

struct ena_llq_configurations {
enum ena_admin_llq_header_location llq_header_location;
Expand Down

0 comments on commit 5dcdfbf

Please sign in to comment.