summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2017-08-17 15:50:45 +0300
committerDoug Ledford <dledford@redhat.com>2017-08-24 16:27:11 -0400
commit4a5fd5d2965cb889f30ad94a3bfd83da70aa2c9c (patch)
tree442e150f37a3a3a9ed4db7ded4370cfb555293ac /drivers/infiniband
parent4edf8d5caf52968f3ebb58140835cfa1cfd72a2d (diff)
downloadop-kernel-dev-4a5fd5d2965cb889f30ad94a3bfd83da70aa2c9c.zip
op-kernel-dev-4a5fd5d2965cb889f30ad94a3bfd83da70aa2c9c.tar.gz
IB/mlx5: Add necessary delay drop assignment
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mlx5/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 55045e2..1a67668 100644
--- 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:
OpenPOWER on IntegriCloud