Lines Matching defs:mdev
278 struct mlx5_core_dev *mdev;
281 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
282 if (!mdev)
293 err = mlx5_cmd_query_cong_params(mdev, node, out);
314 struct mlx5_core_dev *mdev;
319 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
320 if (!mdev)
342 err = mlx5_cmd_exec_in(dev->mdev, modify_cong_params, in);
415 struct mlx5_core_dev *mdev;
422 mdev = mlx5_ib_get_native_port_mdev(dev, port_num + 1, NULL);
423 if (!mdev)
426 if (!MLX5_CAP_GEN(mdev, cc_query_allowed) ||
427 !MLX5_CAP_GEN(mdev, cc_modify_allowed))
437 mdev->priv.dbg_root);