|
|
d8f823 |
From ab6346c0e2832d07aeba3f097ac796d14d198930 Mon Sep 17 00:00:00 2001
|
|
|
d8f823 |
From: Alaa Hleihel <ahleihel@redhat.com>
|
|
|
d8f823 |
Date: Sun, 10 May 2020 14:51:45 -0400
|
|
|
d8f823 |
Subject: [PATCH 021/312] [netdrv] net/mlx5e: Rename reporter header file
|
|
|
d8f823 |
|
|
|
d8f823 |
Message-id: <20200510145245.10054-23-ahleihel@redhat.com>
|
|
|
d8f823 |
Patchwork-id: 306565
|
|
|
d8f823 |
Patchwork-instance: patchwork
|
|
|
d8f823 |
O-Subject: [RHEL8.3 BZ 1789378 v2 22/82] net/mlx5e: Rename reporter header file
|
|
|
d8f823 |
Bugzilla: 1790198 1789378
|
|
|
d8f823 |
RH-Acked-by: Kamal Heib <kheib@redhat.com>
|
|
|
d8f823 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
d8f823 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
d8f823 |
RH-Acked-by: Jonathan Toppins <jtoppins@redhat.com>
|
|
|
d8f823 |
|
|
|
d8f823 |
Bugzilla: http://bugzilla.redhat.com/1789378
|
|
|
d8f823 |
Bugzilla: http://bugzilla.redhat.com/1790198
|
|
|
d8f823 |
Upstream: v5.4-rc1
|
|
|
d8f823 |
|
|
|
d8f823 |
commit 4edc17fdfdf15c2971d15cbfa4d6f2f5f537ee5e
|
|
|
d8f823 |
Author: Aya Levin <ayal@mellanox.com>
|
|
|
d8f823 |
Date: Mon Jul 1 14:53:34 2019 +0300
|
|
|
d8f823 |
|
|
|
d8f823 |
net/mlx5e: Rename reporter header file
|
|
|
d8f823 |
|
|
|
d8f823 |
Rename reporter.h -> health.h so patches in the set can use it for
|
|
|
d8f823 |
health related functionality.
|
|
|
d8f823 |
|
|
|
d8f823 |
Signed-off-by: Aya Levin <ayal@mellanox.com>
|
|
|
d8f823 |
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
|
|
|
d8f823 |
Acked-by: Jiri Pirko <jiri@mellanox.com>
|
|
|
d8f823 |
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
|
|
|
d8f823 |
|
|
|
d8f823 |
Signed-off-by: Alaa Hleihel <ahleihel@redhat.com>
|
|
|
d8f823 |
Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>
|
|
|
d8f823 |
---
|
|
|
d8f823 |
drivers/net/ethernet/mellanox/mlx5/core/en/{reporter.h => health.h} | 4 ++--
|
|
|
d8f823 |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c | 2 +-
|
|
|
d8f823 |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 +-
|
|
|
d8f823 |
3 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
d8f823 |
rename drivers/net/ethernet/mellanox/mlx5/core/en/{reporter.h => health.h} (84%)
|
|
|
d8f823 |
|
|
|
d8f823 |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/reporter.h b/drivers/net/ethernet/mellanox/mlx5/core/en/health.h
|
|
|
d8f823 |
similarity index 84%
|
|
|
d8f823 |
rename from drivers/net/ethernet/mellanox/mlx5/core/en/reporter.h
|
|
|
d8f823 |
rename to drivers/net/ethernet/mellanox/mlx5/core/en/health.h
|
|
|
d8f823 |
index ed7a3881d2c5..cee840e40a05 100644
|
|
|
d8f823 |
--- a/drivers/net/ethernet/mellanox/mlx5/core/en/reporter.h
|
|
|
d8f823 |
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en/health.h
|
|
|
d8f823 |
@@ -1,8 +1,8 @@
|
|
|
d8f823 |
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
d8f823 |
/* Copyright (c) 2019 Mellanox Technologies. */
|
|
|
d8f823 |
|
|
|
d8f823 |
-#ifndef __MLX5E_EN_REPORTER_H
|
|
|
d8f823 |
-#define __MLX5E_EN_REPORTER_H
|
|
|
d8f823 |
+#ifndef __MLX5E_EN_HEALTH_H
|
|
|
d8f823 |
+#define __MLX5E_EN_HEALTH_H
|
|
|
d8f823 |
|
|
|
d8f823 |
#include "en.h"
|
|
|
d8f823 |
|
|
|
d8f823 |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c b/drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
|
|
|
d8f823 |
index 817c6ea7e349..9ff19d69619f 100644
|
|
|
d8f823 |
--- a/drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
|
|
|
d8f823 |
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
|
|
|
d8f823 |
@@ -1,7 +1,7 @@
|
|
|
d8f823 |
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
d8f823 |
/* Copyright (c) 2019 Mellanox Technologies. */
|
|
|
d8f823 |
|
|
|
d8f823 |
-#include "reporter.h"
|
|
|
d8f823 |
+#include "health.h"
|
|
|
d8f823 |
#include "lib/eq.h"
|
|
|
d8f823 |
|
|
|
d8f823 |
#define MLX5E_TX_REPORTER_PER_SQ_MAX_LEN 256
|
|
|
d8f823 |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
|
|
|
d8f823 |
index 9ffcfa017d4f..118ad4717bfd 100644
|
|
|
d8f823 |
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
|
|
|
d8f823 |
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
|
|
|
d8f823 |
@@ -56,7 +56,7 @@
|
|
|
d8f823 |
#include "en/xdp.h"
|
|
|
d8f823 |
#include "lib/eq.h"
|
|
|
d8f823 |
#include "en/monitor_stats.h"
|
|
|
d8f823 |
-#include "en/reporter.h"
|
|
|
d8f823 |
+#include "en/health.h"
|
|
|
d8f823 |
#include "en/params.h"
|
|
|
d8f823 |
#include "en/xsk/umem.h"
|
|
|
d8f823 |
#include "en/xsk/setup.h"
|
|
|
d8f823 |
--
|
|
|
d8f823 |
2.13.6
|
|
|
d8f823 |
|