projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d8a0b
)
IB/hfi1: Prevent hardware counter names from being cut off
author
Jianxin Xiong
<
[email protected]
>
Tue, 25 Oct 2016 20:12:40 +0000
(13:12 -0700)
committer
Doug Ledford
<
[email protected]
>
Tue, 15 Nov 2016 21:18:57 +0000
(16:18 -0500)
Increase the size of the buffer that is used to construct per-VL
and per-SDMA counter names.
Reviewed-by: Dennis Dalessandro <
[email protected]
>
Signed-off-by: Jianxin Xiong <
[email protected]
>
Signed-off-by: Dennis Dalessandro <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/infiniband/hw/hfi1/chip.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hfi1/chip.c
b/drivers/infiniband/hw/hfi1/chip.c
index 156ddf8f3dca2a3da9f050e51c4749c5e83d66da..24d0820873cf2df220892b9523907aeb9485eb8b 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/chip.c
+++ b/
drivers/infiniband/hw/hfi1/chip.c
@@
-12098,7
+12098,7
@@
static void update_synth_timer(unsigned long opaque)
mod_timer(&dd->synth_stats_timer, jiffies + HZ * SYNTH_CNT_TIME);
}
-#define C_MAX_NAME 1
3 /* 12
chars + one for /0 */
+#define C_MAX_NAME 1
6 /* 15
chars + one for /0 */
static int init_cntrs(struct hfi1_devdata *dd)
{
int i, rcv_ctxts, j;