/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | fs_helpers.h | 46 return MLX5_GET(fte_match_set_misc, misc_params_c, outer_esp_spi); in mlx5_fs_is_ipsec_flow() 57 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, ip_protocol) == 0xff && in _mlx5_fs_is_outer_ipproto_flow() 58 MLX5_GET(fte_match_set_lyr_2_4, headers_v, ip_protocol) == match; in _mlx5_fs_is_outer_ipproto_flow() 78 return MLX5_GET(fte_match_set_misc, misc_params_c, vxlan_vni); in mlx5_fs_is_vxlan_flow() 106 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, in _mlx5_fs_is_outer_ipv_flow() 108 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow() 112 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, in _mlx5_fs_is_outer_ipv_flow() 114 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow() 139 return MLX5_GET(fte_match_set_misc, misc_params_c, outer_esp_spi); in mlx5_fs_is_outer_ipsec_flow()
|
D | device.h | 95 #define MLX5_GET(typ, p, fld) ((be32_to_cpu(*((__be32 *)(p) +\ macro 100 u32 ___t = MLX5_GET(typ, p, fld); \ 149 tmp = (__force type_t)MLX5_GET(typ, p, fld); \ 152 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \ 155 tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \ 1190 MLX5_GET(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap) 1196 MLX5_GET(cmd_hca_cap, mdev->caps.hca_max[MLX5_CAP_GENERAL], cap) 1199 MLX5_GET(per_protocol_networking_offload_caps,\ 1203 MLX5_GET(per_protocol_networking_offload_caps,\ 1207 MLX5_GET(per_protocol_networking_offload_caps,\ [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cong.c | 101 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 104 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 107 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 110 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 113 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 116 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 119 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 122 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 125 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 128 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() [all …]
|
D | devx.c | 144 uid = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_ib_devx_create() 275 return MLX5_GET(affiliated_event_header, &eqe->data, obj_type); in get_event_obj_type() 296 u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in devx_get_obj_id() 303 MLX5_GET(general_obj_in_cmd_hdr, in, in devx_get_obj_id() 305 MLX5_GET(general_obj_in_cmd_hdr, in, in devx_get_obj_id() 310 MLX5_GET(query_mkey_in, in, in devx_get_obj_id() 315 MLX5_GET(query_cq_in, in, cqn)); in devx_get_obj_id() 319 MLX5_GET(modify_cq_in, in, cqn)); in devx_get_obj_id() 323 MLX5_GET(query_sq_in, in, sqn)); in devx_get_obj_id() 327 MLX5_GET(modify_sq_in, in, sqn)); in devx_get_obj_id() [all …]
|
D | srq_cmd.c | 57 if (MLX5_GET(wq, wq, wq_signature)) in get_wq() 59 in->log_page_size = MLX5_GET(wq, wq, log_wq_pg_sz); in get_wq() 60 in->wqe_shift = MLX5_GET(wq, wq, log_wq_stride) - 4; in get_wq() 61 in->log_size = MLX5_GET(wq, wq, log_wq_sz); in get_wq() 62 in->page_offset = MLX5_GET(wq, wq, page_offset); in get_wq() 63 in->lwm = MLX5_GET(wq, wq, lwm); in get_wq() 64 in->pd = MLX5_GET(wq, wq, pd); in get_wq() 70 if (MLX5_GET(srqc, srqc, wq_signature)) in get_srqc() 72 in->log_page_size = MLX5_GET(srqc, srqc, log_page_size); in get_srqc() 73 in->wqe_shift = MLX5_GET(srqc, srqc, log_rq_stride); in get_srqc() [all …]
|
D | qpc.c | 227 qp->qpn = MLX5_GET(create_dct_out, out, dctn); in mlx5_core_create_dct() 228 qp->uid = MLX5_GET(create_dct_in, in, uid); in mlx5_core_create_dct() 252 qp->uid = MLX5_GET(create_qp_in, in, uid); in mlx5_qpc_create_qp() 253 qp->qpn = MLX5_GET(create_qp_out, out, qpn); in mlx5_qpc_create_qp() 349 ece = MLX5_GET(init2init_qp_out, out, ece); in get_ece_from_mbox() 352 ece = MLX5_GET(init2rtr_qp_out, out, ece); in get_ece_from_mbox() 355 ece = MLX5_GET(rtr2rts_qp_out, out, ece); in get_ece_from_mbox() 358 ece = MLX5_GET(rts2rts_qp_out, out, ece); in get_ece_from_mbox() 361 ece = MLX5_GET(rst2init_qp_out, out, ece); in get_ece_from_mbox() 531 *xrcdn = MLX5_GET(alloc_xrcd_out, out, xrcd); in mlx5_core_xrcd_alloc() [all …]
|
D | qp.c | 1236 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq() 1237 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq() 1246 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_sq() 1247 MLX5_SET(wq, wq, uar_page, MLX5_GET(qpc, qpc, uar_page)); in create_raw_packet_qp_sq() 1250 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq() 1283 u32 log_page_size = MLX5_GET(qpc, qpc, log_page_size) + 12; in get_rq_pas_size() 1284 u32 log_rq_stride = MLX5_GET(qpc, qpc, log_rq_stride); in get_rq_pas_size() 1285 u32 log_rq_size = MLX5_GET(qpc, qpc, log_rq_size); in get_rq_pas_size() 1286 u32 page_offset = MLX5_GET(qpc, qpc, page_offset); in get_rq_pas_size() 1326 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 41 {.m = MLX5_GET(spec, mask, fld),\ 42 .v = MLX5_GET(spec, val, fld)} 50 (name.m = MLX5_GET(type, mask, fld), \ 51 name.v = MLX5_GET(type, val, fld), \ 69 .m = MLX5_GET(fte_match_set_lyr_2_4, mask, smac_47_16) << 16 | in print_lyr_2_4_hdrs() 70 MLX5_GET(fte_match_set_lyr_2_4, mask, smac_15_0), in print_lyr_2_4_hdrs() 71 .v = MLX5_GET(fte_match_set_lyr_2_4, value, smac_47_16) << 16 | in print_lyr_2_4_hdrs() 72 MLX5_GET(fte_match_set_lyr_2_4, value, smac_15_0)}; in print_lyr_2_4_hdrs() 74 .m = MLX5_GET(fte_match_set_lyr_2_4, mask, dmac_47_16) << 16 | in print_lyr_2_4_hdrs() 75 MLX5_GET(fte_match_set_lyr_2_4, mask, dmac_15_0), in print_lyr_2_4_hdrs() [all …]
|
D | fw_tracer.c | 55 if (!MLX5_GET(mtrc_cap, out, trace_to_memory)) { in mlx5_query_mtrc_caps() 60 tracer->trc_ver = MLX5_GET(mtrc_cap, out, trc_ver); in mlx5_query_mtrc_caps() 62 MLX5_GET(mtrc_cap, out, first_string_trace); in mlx5_query_mtrc_caps() 64 MLX5_GET(mtrc_cap, out, num_string_trace); in mlx5_query_mtrc_caps() 65 tracer->str_db.num_string_db = MLX5_GET(mtrc_cap, out, num_string_db); in mlx5_query_mtrc_caps() 66 tracer->owner = !!MLX5_GET(mtrc_cap, out, trace_owner); in mlx5_query_mtrc_caps() 71 string_db_base_address_out[i] = MLX5_GET(mtrc_string_db_param, in mlx5_query_mtrc_caps() 74 string_db_size_out[i] = MLX5_GET(mtrc_string_db_param, in mlx5_query_mtrc_caps() 108 tracer->owner = !!MLX5_GET(mtrc_cap, out, trace_owner); in mlx5_fw_tracer_ownership_acquire() 461 tracer_event->event_id = MLX5_GET(tracer_event, trace, event_id); in poll_trace() [all …]
|
D | rsc_dump.c | 72 rsc_dump->number_of_menu_items = MLX5_GET(resource_dump_menu_segment, menu, in mlx5_rsc_dump_read_menu_sgmt() 89 rsc_dump->fw_segment_type[sgmt_idx] = MLX5_GET(resource_dump_menu_record, in mlx5_rsc_dump_read_menu_sgmt() 109 in_seq_num = MLX5_GET(resource_dump, cmd->cmd, seq_num); in mlx5_rsc_dump_trigger() 119 out_seq_num = MLX5_GET(resource_dump, cmd->cmd, seq_num); in mlx5_rsc_dump_trigger() 176 *size = MLX5_GET(resource_dump, cmd->cmd, size); in mlx5_rsc_dump_next() 177 more_dump = MLX5_GET(resource_dump, cmd->cmd, more_dump); in mlx5_rsc_dump_next()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 239 return MLX5_GET(ste_general, hw_ste_p, entry_type); in mlx5dr_ste_get_entry_type() 286 (MLX5_GET(ste_rx_steering_mult, hw_ste, miss_address_31_6) | in mlx5dr_ste_get_miss_addr() 287 MLX5_GET(ste_rx_steering_mult, hw_ste, miss_address_39_32) << 26); in mlx5dr_ste_get_miss_addr() 611 next_lu_type = MLX5_GET(ste_general, hw_ste, next_lu_type); in mlx5dr_ste_create_next_htbl() 612 byte_mask = MLX5_GET(ste_general, hw_ste, byte_mask); in mlx5dr_ste_create_next_htbl() 810 spec->gre_c_present = MLX5_GET(fte_match_set_misc, mask, gre_c_present); in dr_ste_copy_mask_misc() 811 spec->gre_k_present = MLX5_GET(fte_match_set_misc, mask, gre_k_present); in dr_ste_copy_mask_misc() 812 spec->gre_s_present = MLX5_GET(fte_match_set_misc, mask, gre_s_present); in dr_ste_copy_mask_misc() 813 spec->source_vhca_port = MLX5_GET(fte_match_set_misc, mask, source_vhca_port); in dr_ste_copy_mask_misc() 814 spec->source_sqn = MLX5_GET(fte_match_set_misc, mask, source_sqn); in dr_ste_copy_mask_misc() [all …]
|
D | dr_action.c | 850 hdr_fld_4b = MLX5_GET(l2_hdr, l2_hdr, dmac_47_16); in dr_actions_l2_rewrite() 864 hdr_fld_4b = (MLX5_GET(l2_hdr, l2_hdr, smac_31_0) >> 16 | in dr_actions_l2_rewrite() 865 MLX5_GET(l2_hdr, l2_hdr, smac_47_32) << 16); in dr_actions_l2_rewrite() 879 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, dmac_15_0); in dr_actions_l2_rewrite() 892 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite() 896 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite() 898 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan); in dr_actions_l2_rewrite() 914 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, smac_31_0); in dr_actions_l2_rewrite() 922 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan_type); in dr_actions_l2_rewrite() 1348 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add() [all …]
|
D | dr_cmd.c | 60 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi() 154 output->status = MLX5_GET(query_flow_table_out, out, status); in mlx5dr_cmd_query_flow_table() 155 output->level = MLX5_GET(query_flow_table_out, out, flow_table_context.level); in mlx5dr_cmd_query_flow_table() 260 *modify_header_id = MLX5_GET(alloc_modify_header_context_out, out, in mlx5dr_cmd_alloc_modify_header() 302 *group_id = MLX5_GET(create_flow_group_out, out, group_id); in mlx5dr_cmd_create_empty_flow_group() 370 *table_id = MLX5_GET(create_flow_table_out, out, table_id); in mlx5dr_cmd_create_flow_table() 374 (u64)MLX5_GET(create_flow_table_out, out, icm_address_31_0) | in mlx5dr_cmd_create_flow_table() 375 (u64)MLX5_GET(create_flow_table_out, out, icm_address_39_32) << 32 | in mlx5dr_cmd_create_flow_table() 376 (u64)MLX5_GET(create_flow_table_out, out, icm_address_63_40) << 40; in mlx5dr_cmd_create_flow_table() 430 *reformat_id = MLX5_GET(alloc_packet_reformat_context_out, out, packet_reformat_id); in mlx5dr_cmd_create_reformat_ctx() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | debugfs.c | 231 state = MLX5_GET(qpc, qpc, state); in qp_read_field() 236 param = (unsigned long)mlx5_qp_type_str(MLX5_GET(qpc, qpc, st)); in qp_read_field() 240 switch (MLX5_GET(qpc, qpc, mtu)) { in qp_read_field() 261 param = 1 << MLX5_GET(qpc, qpc, log_rq_size); in qp_read_field() 264 param = 1 << (MLX5_GET(qpc, qpc, log_rq_stride) + 4); in qp_read_field() 267 if (!MLX5_GET(qpc, qpc, no_sq)) in qp_read_field() 268 param = 1 << MLX5_GET(qpc, qpc, log_sq_size); in qp_read_field() 271 param = MLX5_GET(qpc, qpc, log_page_size) + 12; in qp_read_field() 274 param = MLX5_GET(qpc, qpc, remote_qpn); in qp_read_field() 307 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field() [all …]
|
D | wq.c | 46 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_cyc_create() 47 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_cyc_create() 108 u8 log_rq_stride = MLX5_GET(qpc, qpc, log_rq_stride) + 4; in mlx5_wq_qp_create() 109 u8 log_rq_sz = MLX5_GET(qpc, qpc, log_rq_size); in mlx5_wq_qp_create() 111 u8 log_sq_sz = MLX5_GET(qpc, qpc, log_sq_size); in mlx5_wq_qp_create() 169 u8 log_wq_stride = MLX5_GET(cqc, cqc, cqe_sz) == CQE_STRIDE_64 ? 6 : 7; in mlx5_cqwq_create() 170 u8 log_wq_sz = MLX5_GET(cqc, cqc, log_cq_size); in mlx5_cqwq_create() 219 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_ll_create() 220 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_ll_create()
|
D | mr.c | 54 mkey_index = MLX5_GET(create_mkey_out, lout, mkey_index); in mlx5_core_create_mkey() 58 mkey->pd = MLX5_GET(mkc, mkc, pd); in mlx5_core_create_mkey() 91 case 1: return MLX5_GET(create_psv_out, out, psv1_index); in mlx5_get_psv() 92 case 2: return MLX5_GET(create_psv_out, out, psv2_index); in mlx5_get_psv() 93 case 3: return MLX5_GET(create_psv_out, out, psv3_index); in mlx5_get_psv() 94 default: return MLX5_GET(create_psv_out, out, psv0_index); in mlx5_get_psv()
|
D | port.c | 168 *link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); in mlx5_query_ib_port_oper() 169 *proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); in mlx5_query_ib_port_oper() 213 *status = MLX5_GET(paos_reg, out, admin_status); in mlx5_query_port_admin_status() 229 *max_mtu = MLX5_GET(pmtu_reg, out, max_mtu); in mlx5_query_port_mtu() 231 *oper_mtu = MLX5_GET(pmtu_reg, out, oper_mtu); in mlx5_query_port_mtu() 233 *admin_mtu = MLX5_GET(pmtu_reg, out, admin_mtu); in mlx5_query_port_mtu() 275 module_mapping = MLX5_GET(pmlp_reg, out, lane0_module_mapping); in mlx5_query_module_num() 301 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_module_id() 406 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_module_eeprom() 440 *vl_hw_cap = MLX5_GET(pvlc_reg, out, vl_hw_cap); in mlx5_query_port_vl_hw_cap() [all …]
|
D | fw.c | 114 *vendor_id = MLX5_GET(query_adapter_out, out, in mlx5_core_query_vendor_id() 305 force_state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_force_teardown_hca() 336 state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_fast_teardown_hca() 407 *update_handle = MLX5_GET(mcc_reg, out, update_handle); in mlx5_reg_mcc_query() 408 *error_code = MLX5_GET(mcc_reg, out, error_code); in mlx5_reg_mcc_query() 409 *control_state = MLX5_GET(mcc_reg, out, control_state); in mlx5_reg_mcc_query() 485 *max_component_size = MLX5_GET(mcqi_cap, mcqi_reg, max_component_size); in mlx5_reg_mcqi_caps_query() 486 *log_mcda_word_size = MLX5_GET(mcqi_cap, mcqi_reg, log_mcda_word_size); in mlx5_reg_mcqi_caps_query() 487 *mcda_max_write_size = MLX5_GET(mcqi_cap, mcqi_reg, mcda_max_write_size); in mlx5_reg_mcqi_caps_query() 643 *status = MLX5_GET(mirc_reg, out, status_code); in mlx5_fsm_reactivate() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | port_tun.c | 34 entropy_flags->force_supported = !!(MLX5_GET(pcmr_reg, out, entropy_force_cap)); in mlx5_query_port_tun_entropy() 35 entropy_flags->calc_supported = !!(MLX5_GET(pcmr_reg, out, entropy_calc_cap)); in mlx5_query_port_tun_entropy() 36 entropy_flags->gre_calc_supported = !!(MLX5_GET(pcmr_reg, out, entropy_gre_calc_cap)); in mlx5_query_port_tun_entropy() 37 entropy_flags->force_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_force)); in mlx5_query_port_tun_entropy() 38 entropy_flags->calc_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_calc)); in mlx5_query_port_tun_entropy() 39 entropy_flags->gre_calc_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_gre_calc)); in mlx5_query_port_tun_entropy()
|
D | clock.c | 492 if (err || !MLX5_GET(mtpps_reg, out, enable)) in mlx5_get_pps_pin_mode() 495 mode = MLX5_GET(mtpps_reg, out, pin_mode); in mlx5_get_pps_pin_mode() 538 clock->ptp_info.n_pins = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 540 clock->ptp_info.n_ext_ts = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 542 clock->ptp_info.n_per_out = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 545 clock->pps_info.pin_caps[0] = MLX5_GET(mtpps_reg, out, cap_pin_0_mode); in mlx5_get_pps_caps() 546 clock->pps_info.pin_caps[1] = MLX5_GET(mtpps_reg, out, cap_pin_1_mode); in mlx5_get_pps_caps() 547 clock->pps_info.pin_caps[2] = MLX5_GET(mtpps_reg, out, cap_pin_2_mode); in mlx5_get_pps_caps() 548 clock->pps_info.pin_caps[3] = MLX5_GET(mtpps_reg, out, cap_pin_3_mode); in mlx5_get_pps_caps() 549 clock->pps_info.pin_caps[4] = MLX5_GET(mtpps_reg, out, cap_pin_4_mode); in mlx5_get_pps_caps() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | tls.c | 177 u32 syndrome = MLX5_GET(tls_resp, resp->sg[0].data, syndrome); in mlx5_fpga_tls_teardown_completion() 192 MLX5_SET(tls_cmd, cmd, ipv6, MLX5_GET(tls_flow, flow, ipv6)); in mlx5_fpga_tls_flow_to_cmd() 194 MLX5_GET(tls_flow, flow, direction_sx)); in mlx5_fpga_tls_flow_to_cmd() 317 ctx->syndrome = MLX5_GET(tls_resp, resp->sg[0].data, syndrome); in mlx5_fpga_tls_setup_completion() 338 MLX5_GET(tls_cmd, tls_cmd, swid), in mlx5_fpga_tls_setup_completion() 340 MLX5_GET(tls_cmd, tls_cmd, in mlx5_fpga_tls_setup_completion() 421 if (MLX5_GET(tls_extended_cap, buf, tx)) in mlx5_fpga_tls_get_caps() 423 if (MLX5_GET(tls_extended_cap, buf, rx)) in mlx5_fpga_tls_get_caps() 425 if (MLX5_GET(tls_extended_cap, buf, tls_v12)) in mlx5_fpga_tls_get_caps() 427 if (MLX5_GET(tls_extended_cap, buf, tls_v13)) in mlx5_fpga_tls_get_caps() [all …]
|
D | cmd.c | 136 query->status = MLX5_GET(fpga_ctrl, out, status); in mlx5_fpga_query() 137 query->admin_image = MLX5_GET(fpga_ctrl, out, flash_select_admin); in mlx5_fpga_query() 138 query->oper_image = MLX5_GET(fpga_ctrl, out, flash_select_oper); in mlx5_fpga_query() 159 *fpga_qpn = MLX5_GET(fpga_create_qp_out, out, fpga_qpn); in mlx5_fpga_create_qp()
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
D | resources.c | 20 *pdn = MLX5_GET(alloc_pd_out, out, pd); in alloc_pd() 46 *null_mkey = MLX5_GET(query_special_contexts_out, out, null_mkey); in get_null_mkey() 72 *uid = MLX5_GET(create_uctx_out, out, uid); in create_uctx() 97 *tisn = MLX5_GET(create_tis_out, out, tisn); in mlx5_vdpa_create_tis() 120 *rqtn = MLX5_GET(create_rqt_out, out, rqtn); in mlx5_vdpa_create_rqt() 143 *tirn = MLX5_GET(create_tir_out, out, tirn); in mlx5_vdpa_create_tir() 169 *tdn = MLX5_GET(alloc_transport_domain_out, out, transport_domain); in mlx5_vdpa_alloc_transport_domain() 200 mkey_index = MLX5_GET(create_mkey_out, lout, mkey_index); in mlx5_vdpa_create_mkey() 204 mkey->pd = MLX5_GET(mkc, mkc, pd); in mlx5_vdpa_create_mkey()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port_buffer.c | 57 MLX5_GET(bufferx_reg, buffer, lossy); in mlx5e_port_query_buffer() 59 MLX5_GET(bufferx_reg, buffer, epsb); in mlx5e_port_query_buffer() 61 MLX5_GET(bufferx_reg, buffer, size) * port_buff_cell_sz; in mlx5e_port_query_buffer() 63 MLX5_GET(bufferx_reg, buffer, xon_threshold) * port_buff_cell_sz; in mlx5e_port_query_buffer() 65 MLX5_GET(bufferx_reg, buffer, xoff_threshold) * port_buff_cell_sz; in mlx5e_port_query_buffer() 77 MLX5_GET(pbmc_reg, out, port_buffer_size) * port_buff_cell_sz; in mlx5e_port_query_buffer()
|
D | port.c | 142 *an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5_port_query_eth_autoneg() 143 *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); in mlx5_port_query_eth_autoneg() 144 *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5_port_query_eth_autoneg() 312 prio_x_buff = MLX5_GET(pptb_reg, out, prio_x_buff); in mlx5e_port_query_priority2buffer() 387 *_policy = MLX5_GET(pplm_reg, _buf, fec_override_admin_##link); \ 429 MLX5_GET(pplm_reg, buf, fec_override_cap_##link) 520 *fec_mode_active = MLX5_GET(pplm_reg, out, fec_mode_active); in mlx5e_get_fec_mode()
|