Searched refs:hca_cap (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | pci_irq.c | 92 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local 113 hca_cap = kzalloc(set_sz, GFP_KERNEL); in mlx5_set_msix_vec_count() 114 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count() 123 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in mlx5_set_msix_vec_count() 128 MLX5_SET(set_hca_cap_in, hca_cap, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_set_msix_vec_count() 129 MLX5_SET(set_hca_cap_in, hca_cap, other_function, 1); in mlx5_set_msix_vec_count() 130 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count() 132 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count() 134 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count() 136 kfree(hca_cap); in mlx5_set_msix_vec_count()
|
Completed in 4 milliseconds