mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
IB/mlx5: Add necessary delay drop assignment
Assign the statistics and configuration structure pointer on success.
Fixes: fe248c3a58
('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>
This commit is contained in:
parent
4edf8d5caf
commit
4a5fd5d296
1 changed files with 2 additions and 0 deletions
|
@ -3793,6 +3793,8 @@ static int delay_drop_debugfs_init(struct mlx5_ib_dev *dev)
|
||||||
if (!dbg->timeout_debugfs)
|
if (!dbg->timeout_debugfs)
|
||||||
goto out_debugfs;
|
goto out_debugfs;
|
||||||
|
|
||||||
|
dev->delay_drop.dbg = dbg;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out_debugfs:
|
out_debugfs:
|
||||||
|
|
Loading…
Reference in a new issue