Home
last modified time | relevance | path

Searched refs:cmd_hca_cap (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dvhca_event.c141 MLX5_SET(cmd_hca_cap, set_hca_cap, vhca_state, 1); in mlx5_vhca_state_cap_handle()
142 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_allocated, 1); in mlx5_vhca_state_cap_handle()
143 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_active, 1); in mlx5_vhca_state_cap_handle()
144 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_in_use, 1); in mlx5_vhca_state_cap_handle()
145 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_teardown_request, 1); in mlx5_vhca_state_cap_handle()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c593 MLX5_ST_SZ_BYTES(cmd_hca_cap)); in handle_hca_cap()
599 MLX5_SET(cmd_hca_cap, set_hca_cap, pkey_table_size, in handle_hca_cap()
612 MLX5_SET(cmd_hca_cap, set_hca_cap, log_max_qp, in handle_hca_cap()
622 MLX5_SET(cmd_hca_cap, set_hca_cap, uar_4k, 1); in handle_hca_cap()
627 MLX5_SET(cmd_hca_cap, in handle_hca_cap()
633 MLX5_SET(cmd_hca_cap, set_hca_cap, dct, 1); in handle_hca_cap()
638 MLX5_SET(cmd_hca_cap, set_hca_cap, in handle_hca_cap()
641 MLX5_SET(cmd_hca_cap, set_hca_cap, in handle_hca_cap()
645 MLX5_SET(cmd_hca_cap, in handle_hca_cap()
654 MLX5_SET(cmd_hca_cap, set_hca_cap, mkey_by_name, 1); in handle_hca_cap()
[all …]
H A Dvport.c1220 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_vport_get_vhca_id()
1243 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
H A Deswitch.c822 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce); in mlx5_esw_vport_caps_get()
1686 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1687 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
H A Dpci_irq.c129 MLX5_SET(cmd_hca_cap, cap, dynamic_msix_table_size, msix_vec_count); in mlx5_set_msix_vec_count()
H A Deswitch_offloads.c4386 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c962 capability.cmd_hca_cap.wqe_based_flow_table_update_cap); in mlx5hws_cmd_query_caps()
965 capability.cmd_hca_cap.eswitch_manager); in mlx5hws_cmd_query_caps()
968 capability.cmd_hca_cap.flex_parser_protocols); in mlx5hws_cmd_query_caps()
973 capability.cmd_hca_cap.flex_parser_id_geneve_tlv_option_0); in mlx5hws_cmd_query_caps()
978 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_gre); in mlx5hws_cmd_query_caps()
987 capability.cmd_hca_cap.log_header_modify_argument_granularity); in mlx5hws_cmd_query_caps()
995 capability.cmd_hca_cap.log_header_modify_argument_max_alloc); in mlx5hws_cmd_query_caps()
999 capability.cmd_hca_cap.match_definer_format_supported); in mlx5hws_cmd_query_caps()
1002 capability.cmd_hca_cap.vhca_id); in mlx5hws_cmd_query_caps()
1005 capability.cmd_hca_cap.sq_ts_format); in mlx5hws_cmd_query_caps()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec.c32 *result = MLX5_GET(cmd_hca_cap, hca_cap, ipsec_offload); in esw_ipsec_vf_query_generic()
105 MLX5_SET(cmd_hca_cap, cap, ipsec_offload, ipsec_ofld); in esw_ipsec_vf_set_generic()
276 if (!MLX5_GET(cmd_hca_cap, hca_cap, log_max_dek)) in esw_ipsec_offload_supported()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dstd_types.c107 capability.cmd_hca_cap.vhca_id); in fill_vport_vhca_id()
/linux-6.15/include/linux/mlx5/
H A Ddevice.h1288 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1291 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1294 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
H A Dmlx5_ifc.h3754 struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_cmd.c62 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi()
/linux-6.15/drivers/vfio/pci/mlx5/
H A Dcmd.c309 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id()