| From 6776d126b782e046352558a2aae5f0f7b93a1af8 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Thu, 12 Sep 2019 13:49:41 -0700 |
| Subject: net/rds: Fix 'ib_evt_handler_call' element in 'rds_ib_stat_names' |
| |
| From: Gerd Rausch <gerd.rausch@oracle.com> |
| |
| [ Upstream commit 05a82481a3024b94db00b8c816bb3d526b5209e0 ] |
| |
| All entries in 'rds_ib_stat_names' are stringified versions |
| of the corresponding "struct rds_ib_statistics" element |
| without the "s_"-prefix. |
| |
| Fix entry 'ib_evt_handler_call' to do the same. |
| |
| Fixes: f4f943c958a2 ("RDS: IB: ack more receive completions to improve performance") |
| Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com> |
| Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| net/rds/ib_stats.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/net/rds/ib_stats.c b/net/rds/ib_stats.c |
| index 7e78dca1f252c..aaf4b3d102039 100644 |
| --- a/net/rds/ib_stats.c |
| +++ b/net/rds/ib_stats.c |
| @@ -42,7 +42,7 @@ DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_ib_statistics, rds_ib_stats); |
| static const char *const rds_ib_stat_names[] = { |
| "ib_connect_raced", |
| "ib_listen_closed_stale", |
| - "s_ib_evt_handler_call", |
| + "ib_evt_handler_call", |
| "ib_tasklet_call", |
| "ib_tx_cq_event", |
| "ib_tx_ring_full", |
| -- |
| 2.20.1 |
| |