Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dvhca_event.c125 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c583 MLX5_ST_SZ_BYTES(cmd_hca_cap)); in handle_hca_cap()
589 MLX5_SET(cmd_hca_cap, set_hca_cap, pkey_table_size, in handle_hca_cap()
602 MLX5_SET(cmd_hca_cap, set_hca_cap, log_max_qp, in handle_hca_cap()
606 MLX5_SET(cmd_hca_cap, set_hca_cap, cmdif_checksum, 0); in handle_hca_cap()
612 MLX5_SET(cmd_hca_cap, set_hca_cap, uar_4k, 1); in handle_hca_cap()
614 MLX5_SET(cmd_hca_cap, set_hca_cap, log_uar_page_sz, PAGE_SHIFT - 12); in handle_hca_cap()
617 MLX5_SET(cmd_hca_cap, in handle_hca_cap()
623 MLX5_SET(cmd_hca_cap, set_hca_cap, dct, 1); in handle_hca_cap()
626 MLX5_SET(cmd_hca_cap, set_hca_cap, pci_sync_for_fw_update_event, 1); in handle_hca_cap()
628 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()
1683 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1684 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
H A Dpci_irq.c128 MLX5_SET(cmd_hca_cap, cap, dynamic_msix_table_size, msix_vec_count); in mlx5_set_msix_vec_count()
H A Dvport.c1196 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
H A Deswitch_offloads.c4138 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_query_vport_vhca_id()
4367 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set()
/openbmc/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()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c106 capability.cmd_hca_cap.vhca_id); in fill_vport_vhca_id()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1261 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1264 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1267 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
H A Dmlx5_ifc.h3439 struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap; member
/openbmc/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()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c286 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id()