Home
last modified time | relevance | path

Searched refs:dbg_cc_params (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcong.c383 !dev->port[port_num].dbg_cc_params || in mlx5_ib_cleanup_cong_debugfs()
384 !dev->port[port_num].dbg_cc_params->root) in mlx5_ib_cleanup_cong_debugfs()
387 debugfs_remove_recursive(dev->port[port_num].dbg_cc_params->root); in mlx5_ib_cleanup_cong_debugfs()
388 kfree(dev->port[port_num].dbg_cc_params); in mlx5_ib_cleanup_cong_debugfs()
389 dev->port[port_num].dbg_cc_params = NULL; in mlx5_ib_cleanup_cong_debugfs()
394 struct mlx5_ib_dbg_cc_params *dbg_cc_params; in mlx5_ib_init_cong_debugfs() local
410 dbg_cc_params = kzalloc(sizeof(*dbg_cc_params), GFP_KERNEL); in mlx5_ib_init_cong_debugfs()
411 if (!dbg_cc_params) in mlx5_ib_init_cong_debugfs()
414 dev->port[port_num].dbg_cc_params = dbg_cc_params; in mlx5_ib_init_cong_debugfs()
416 dbg_cc_params->root = debugfs_create_dir("cc_params", in mlx5_ib_init_cong_debugfs()
[all …]
Dmlx5_ib.h752 struct mlx5_ib_dbg_cc_params *dbg_cc_params; member