projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4edf8d5
)
IB/mlx5: Add necessary delay drop assignment
author
Maor Gottlieb
<maorg@mellanox.com>
Thu, 17 Aug 2017 12:50:45 +0000
(15:50 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Thu, 24 Aug 2017 20:27:11 +0000
(16:27 -0400)
Assign the statistics and configuration structure pointer on success.
Fixes:
fe248c3a5837
('IB/mlx5: Add delay drop configuration and statistics')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index 55045e204518e31a3f79befb841ed082f983574c..1a67668f092f6f70f79d2a7b904cb94f0f58660e 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/main.c
+++ b/
drivers/infiniband/hw/mlx5/main.c
@@
-3793,6
+3793,8
@@
static int delay_drop_debugfs_init(struct mlx5_ib_dev *dev)
if (!dbg->timeout_debugfs)
goto out_debugfs;
+ dev->delay_drop.dbg = dbg;
+
return 0;
out_debugfs: