Home
last modified time | relevance | path

Searched refs:set_hca_cap (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c431 return mlx5_cmd_exec_in(dev, set_hca_cap, in); in set_caps()
436 void *set_hca_cap; in handle_hca_cap_atomic() local
454 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic()
457 MLX5_SET(atomic_caps, set_hca_cap, atomic_req_8B_endianness_mode, in handle_hca_cap_atomic()
465 void *set_hca_cap; in handle_hca_cap_odp() local
477 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_odp()
478 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ODP]->cur, in handle_hca_cap_odp()
486 MLX5_SET(odp_cap, set_hca_cap, field, _res); \ in handle_hca_cap_odp()
546 void *set_hca_cap; in handle_hca_cap_2() local
560 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, in handle_hca_cap_2()
[all …]
Dvport.c1185 void *set_hca_cap; in mlx5_vport_set_other_func_cap() local
1195 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap()
1196 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
1201 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); in mlx5_vport_set_other_func_cap()
Dpci_irq.c136 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in mlx5_set_msix_vec_count()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dvhca_event.c120 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap) in mlx5_vhca_state_cap_handle() argument
125 MLX5_SET(cmd_hca_cap, set_hca_cap, vhca_state, 1); in mlx5_vhca_state_cap_handle()
126 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_allocated, 1); in mlx5_vhca_state_cap_handle()
127 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_active, 1); in mlx5_vhca_state_cap_handle()
128 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_in_use, 1); in mlx5_vhca_state_cap_handle()
129 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_teardown_request, 1); in mlx5_vhca_state_cap_handle()
Dvhca_event.h20 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap);
33 static inline void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap) in mlx5_vhca_state_cap_handle() argument
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c113 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in esw_ipsec_vf_set_generic()
164 ret = mlx5_cmd_exec_in(dev, set_hca_cap, hca_cap); in esw_ipsec_vf_set_bytype()
199 ret = mlx5_cmd_exec_in(esw->dev, set_hca_cap, hca_cap); in esw_ipsec_vf_crypto_aux_caps_set()