IB/rxe: Make rxe_counter_name static

rxe_counter_name is used in rxe_hw_counters.c only. Make it static.

Fixes: 0b1e5b99a4 ('IB/rxe: Add port protocol stats')
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Kamal Heib 2017-08-17 15:50:52 +03:00 committed by Doug Ledford
parent 69956d8326
commit fab773cb51
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#include "rxe.h" #include "rxe.h"
#include "rxe_hw_counters.h" #include "rxe_hw_counters.h"
const char * const rxe_counter_name[] = { static const char * const rxe_counter_name[] = {
[RXE_CNT_SENT_PKTS] = "sent_pkts", [RXE_CNT_SENT_PKTS] = "sent_pkts",
[RXE_CNT_RCVD_PKTS] = "rcvd_pkts", [RXE_CNT_RCVD_PKTS] = "rcvd_pkts",
[RXE_CNT_DUP_REQ] = "duplicate_request", [RXE_CNT_DUP_REQ] = "duplicate_request",