Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c604 MLX5_ST_SZ_BYTES(cmd_hca_cap)); in handle_hca_cap()
610 MLX5_SET(cmd_hca_cap, set_hca_cap, pkey_table_size, in handle_hca_cap()
623 MLX5_SET(cmd_hca_cap, set_hca_cap, log_max_qp, in handle_hca_cap()
627 MLX5_SET(cmd_hca_cap, set_hca_cap, cmdif_checksum, 0); in handle_hca_cap()
633 MLX5_SET(cmd_hca_cap, set_hca_cap, uar_4k, 1); in handle_hca_cap()
635 MLX5_SET(cmd_hca_cap, set_hca_cap, log_uar_page_sz, PAGE_SHIFT - 12); in handle_hca_cap()
638 MLX5_SET(cmd_hca_cap, in handle_hca_cap()
644 MLX5_SET(cmd_hca_cap, set_hca_cap, dct, 1); in handle_hca_cap()
647 MLX5_SET(cmd_hca_cap, set_hca_cap, pci_sync_for_fw_update_event, 1); in handle_hca_cap()
649 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()
823 vport->vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_vport_caps_get()
1824 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1825 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
H A Dvport.c1274 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_vport_get_vhca_id()
1315 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
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.c4655 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set()
/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/vfio/pci/mlx5/
H A Dcmd.c309 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h3813 struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap; member