Skip to content

Commit

Permalink
IB/mlx5: Add necessary delay drop assignment
Browse files Browse the repository at this point in the history
Assign the statistics and configuration structure pointer on success.

Fixes: fe248c3 ('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>
  • Loading branch information
Maor Gottlieb authored and Doug Ledford committed Aug 24, 2017
1 parent 4edf8d5 commit 4a5fd5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/infiniband/hw/mlx5/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4a5fd5d

Please sign in to comment.