Searched refs:hca_cap (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pci_irq.c | 77 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local 98 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in mlx5_set_msix_vec_count() 99 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count() 108 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in mlx5_set_msix_vec_count() 113 MLX5_SET(set_hca_cap_in, hca_cap, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_set_msix_vec_count() 114 MLX5_SET(set_hca_cap_in, hca_cap, other_function, 1); in mlx5_set_msix_vec_count() 115 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count() 117 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count() 119 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count() 121 kvfree(hca_cap); in mlx5_set_msix_vec_count()
|