Home
last modified time | relevance | path

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

/linux/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/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c575 MLX5_ST_SZ_BYTES(cmd_hca_cap)); in handle_hca_cap()
581 MLX5_SET(cmd_hca_cap, set_hca_cap, pkey_table_size, in handle_hca_cap()
594 MLX5_SET(cmd_hca_cap, set_hca_cap, log_max_qp, in handle_hca_cap()
598 MLX5_SET(cmd_hca_cap, set_hca_cap, cmdif_checksum, 0); in handle_hca_cap()
604 MLX5_SET(cmd_hca_cap, set_hca_cap, uar_4k, 1); in handle_hca_cap()
606 MLX5_SET(cmd_hca_cap, set_hca_cap, log_uar_page_sz, PAGE_SHIFT - 12); in handle_hca_cap()
609 MLX5_SET(cmd_hca_cap, in handle_hca_cap()
615 MLX5_SET(cmd_hca_cap, set_hca_cap, dct, 1); in handle_hca_cap()
618 MLX5_SET(cmd_hca_cap, set_hca_cap, pci_sync_for_fw_update_event, 1); in handle_hca_cap()
620 MLX5_SET(cmd_hca_cap, set_hca_cap, in handle_hca_cap()
[all …]
H A Deswitch.c822 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce); in mlx5_esw_vport_caps_get()
1682 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1683 *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 Dvport.c1218 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
H A Deswitch_offloads.c4159 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_query_vport_vhca_id()
4388 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_cmd.c1029 capability.cmd_hca_cap.wqe_based_flow_table_update_cap); in mlx5hws_cmd_query_caps()
1032 capability.cmd_hca_cap.eswitch_manager); in mlx5hws_cmd_query_caps()
1035 capability.cmd_hca_cap.flex_parser_protocols); in mlx5hws_cmd_query_caps()
1040 capability.cmd_hca_cap.flex_parser_id_geneve_tlv_option_0); in mlx5hws_cmd_query_caps()
1045 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_gre); in mlx5hws_cmd_query_caps()
1050 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_udp_label); in mlx5hws_cmd_query_caps()
1054 capability.cmd_hca_cap.log_header_modify_argument_granularity); in mlx5hws_cmd_query_caps()
1058 capability.cmd_hca_cap.log_header_modify_argument_granularity_offset); in mlx5hws_cmd_query_caps()
1062 capability.cmd_hca_cap.log_header_modify_argument_max_alloc); in mlx5hws_cmd_query_caps()
1066 capability.cmd_hca_cap.match_definer_format_supported); in mlx5hws_cmd_query_caps()
[all …]
/linux/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/drivers/infiniband/hw/mlx5/
H A Dstd_types.c106 capability.cmd_hca_cap.vhca_id); in fill_vport_vhca_id()
/linux/include/linux/mlx5/
H A Ddevice.h1264 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1267 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1270 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
H A Dmlx5_ifc.h3666 struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
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/drivers/vfio/pci/mlx5/
H A Dcmd.c309 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id()