Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec.c12 void *hca_cap, *query_cap; in esw_ipsec_vf_query_generic() local
46 void *hca_cap, *query_cap; in mlx5_esw_ipsec_vf_offload_get() local
93 if (!hca_cap || !query_cap) { in esw_ipsec_vf_set_generic()
115 kvfree(hca_cap); in esw_ipsec_vf_set_generic()
133 if (!hca_cap || !query_cap) { in esw_ipsec_vf_set_bytype()
166 kvfree(hca_cap); in esw_ipsec_vf_set_bytype()
181 if (!hca_cap || !query_cap) { in esw_ipsec_vf_crypto_aux_caps_set()
201 kvfree(hca_cap); in esw_ipsec_vf_crypto_aux_caps_set()
264 void *hca_cap, *query_cap; in esw_ipsec_offload_supported() local
297 void *hca_cap, *query_cap; in mlx5_esw_ipsec_vf_crypto_offload_supported() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpci_irq.c90 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local
113 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in mlx5_set_msix_vec_count()
114 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count()
125 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in mlx5_set_msix_vec_count()
130 MLX5_SET(set_hca_cap_in, hca_cap, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_set_msix_vec_count()
131 MLX5_SET(set_hca_cap_in, hca_cap, other_function, 1); in mlx5_set_msix_vec_count()
132 MLX5_SET(set_hca_cap_in, hca_cap, ec_vf_function, ec_vf_function); in mlx5_set_msix_vec_count()
133 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
135 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count()
137 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count()
[all …]
H A Dmlx5_core.h329 int mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, u16 vport,
H A Dvport.c1180 int mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, in mlx5_vport_set_other_func_cap() argument
1196 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()