Home
last modified time | relevance | path

Searched refs:hca_cap (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dpci_irq.c78 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local
99 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in mlx5_set_msix_vec_count()
100 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count()
109 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in mlx5_set_msix_vec_count()
114 MLX5_SET(set_hca_cap_in, hca_cap, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_set_msix_vec_count()
115 MLX5_SET(set_hca_cap_in, hca_cap, other_function, 1); in mlx5_set_msix_vec_count()
116 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
118 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count()
120 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count()
122 kvfree(hca_cap); in mlx5_set_msix_vec_count()
A Dmlx5_core.h327 int mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, u16 function_id,
A Dvport.c1177 int mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, in mlx5_vport_set_other_func_cap() argument
1192 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()

Completed in 8 milliseconds