Lines Matching defs:mdev
300 struct mlx5_core_dev *mdev;
303 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
304 if (!mdev)
315 err = mlx5_cmd_query_cong_params(mdev, node, out);
336 struct mlx5_core_dev *mdev;
341 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
342 if (!mdev)
364 err = mlx5_cmd_exec_in(dev->mdev, modify_cong_params, in);
437 struct mlx5_core_dev *mdev;
444 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
445 if (!mdev)
448 if (!MLX5_CAP_GEN(mdev, cc_query_allowed) ||
449 !MLX5_CAP_GEN(mdev, cc_modify_allowed))
458 dbg_cc_params->root = debugfs_create_dir("cc_params", mlx5_debugfs_get_dev_root(mdev));
463 if (!MLX5_CAP_GEN(mdev, roce) ||
464 !MLX5_CAP_ROCE(mdev, roce_cc_general))