Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec.c12 void *hca_cap, *query_cap; in esw_ipsec_vf_query_generic() local
31 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in esw_ipsec_vf_query_generic()
32 *result = MLX5_GET(cmd_hca_cap, hca_cap, ipsec_offload); in esw_ipsec_vf_query_generic()
46 void *hca_cap, *query_cap; in mlx5_esw_ipsec_vf_offload_get() local
71 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in mlx5_esw_ipsec_vf_offload_get()
73 MLX5_GET(ipsec_cap, hca_cap, ipsec_crypto_offload); in mlx5_esw_ipsec_vf_offload_get()
75 MLX5_GET(ipsec_cap, hca_cap, ipsec_full_offload); in mlx5_esw_ipsec_vf_offload_get()
85 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_set_generic() local
92 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in esw_ipsec_vf_set_generic()
93 if (!hca_cap || !query_cap) { in esw_ipsec_vf_set_generic()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpci_irq.c91 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local
114 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in mlx5_set_msix_vec_count()
115 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count()
126 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in mlx5_set_msix_vec_count()
131 MLX5_SET(set_hca_cap_in, hca_cap, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_set_msix_vec_count()
132 MLX5_SET(set_hca_cap_in, hca_cap, other_function, 1); in mlx5_set_msix_vec_count()
133 MLX5_SET(set_hca_cap_in, hca_cap, ec_vf_function, ec_vf_function); in mlx5_set_msix_vec_count()
134 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
136 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count()
138 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count()
[all …]
H A Dvport.c1202 int mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, in mlx5_vport_set_other_func_cap() argument
1218 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()