| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | vhca_event.c | 133 MLX5_SET(cmd_hca_cap, set_hca_cap, vhca_state, 1); in mlx5_vhca_state_cap_handle() 134 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_allocated, 1); in mlx5_vhca_state_cap_handle() 135 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_active, 1); in mlx5_vhca_state_cap_handle() 136 MLX5_SET(cmd_hca_cap, set_hca_cap, event_on_vhca_state_in_use, 1); in mlx5_vhca_state_cap_handle() 137 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 D | main.c | 604 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 D | eswitch.c | 822 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() 1853 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions() 1854 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
|
| H A D | vport.c | 1348 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_vport_get_vhca_id() 1389 memcpy(set_hca_cap, hca_cap, MLX5_ST_SZ_BYTES(cmd_hca_cap)); in mlx5_vport_set_other_func_cap()
|
| H A D | pci_irq.c | 129 MLX5_SET(cmd_hca_cap, cap, dynamic_msix_table_size, msix_vec_count); in mlx5_set_msix_vec_count()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.c | 962 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() 983 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_udp_label); in mlx5hws_cmd_query_caps() 987 capability.cmd_hca_cap.log_header_modify_argument_granularity); in mlx5hws_cmd_query_caps() 991 capability.cmd_hca_cap.log_header_modify_argument_granularity_offset); 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() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | ipsec.c | 32 *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/include/linux/mlx5/ |
| H A D | device.h | 1295 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1298 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1301 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
|
| H A D | mlx5_ifc.h | 3815 struct mlx5_ifc_cmd_hca_cap_bits cmd_hca_cap; member
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | cmd.c | 309 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id()
|