/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | devx.c | 141 uid = MLX5_GET(create_uctx_out, out, uid); in mlx5_ib_devx_create() 272 return MLX5_GET(affiliated_event_header, &eqe->data, obj_type); in get_event_obj_type() 295 return MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in devx_get_created_obj_id() 297 return MLX5_GET(create_umem_out, out, umem_id); in devx_get_created_obj_id() 299 return MLX5_GET(create_mkey_out, out, mkey_index); in devx_get_created_obj_id() 301 return MLX5_GET(create_cq_out, out, cqn); in devx_get_created_obj_id() 303 return MLX5_GET(alloc_pd_out, out, pd); in devx_get_created_obj_id() 305 return MLX5_GET(alloc_transport_domain_out, out, in devx_get_created_obj_id() 308 return MLX5_GET(create_rmp_out, out, rmpn); in devx_get_created_obj_id() 310 return MLX5_GET(create_sq_out, out, sqn); in devx_get_created_obj_id() [all …]
|
D | cong.c | 108 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 111 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 114 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 117 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 120 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 123 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 126 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 129 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 132 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 135 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() [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 | 220 qp->qpn = MLX5_GET(create_dct_out, out, dctn); in mlx5_core_create_dct() 221 qp->uid = MLX5_GET(create_dct_in, in, uid); in mlx5_core_create_dct() 245 qp->uid = MLX5_GET(create_qp_in, in, uid); in mlx5_qpc_create_qp() 246 qp->qpn = MLX5_GET(create_qp_out, out, qpn); in mlx5_qpc_create_qp() 368 ece = MLX5_GET(init2init_qp_out, out, ece); in get_ece_from_mbox() 371 ece = MLX5_GET(init2rtr_qp_out, out, ece); in get_ece_from_mbox() 374 ece = MLX5_GET(rtr2rts_qp_out, out, ece); in get_ece_from_mbox() 377 ece = MLX5_GET(rts2rts_qp_out, out, ece); in get_ece_from_mbox() 380 ece = MLX5_GET(rst2init_qp_out, out, ece); in get_ece_from_mbox() 562 *xrcdn = MLX5_GET(alloc_xrcd_out, out, xrcd); in mlx5_core_xrcd_alloc() [all …]
|
D | cmd.c | 30 dev->mkeys.dump_fill_mkey = MLX5_GET(query_special_contexts_out, in mlx5r_cmd_query_special_mkeys() 35 MLX5_GET(query_special_contexts_out, out, null_mkey)); in mlx5r_cmd_query_special_mkeys() 39 cpu_to_be32(MLX5_GET(query_special_contexts_out, out, in mlx5r_cmd_query_special_mkeys() 100 *tdn = MLX5_GET(alloc_transport_domain_out, out, in mlx5_cmd_alloc_transport_domain() 166 *xrcdn = MLX5_GET(alloc_xrcd_out, out, xrcd); in mlx5_cmd_xrcd_alloc() 235 *uarn = MLX5_GET(alloc_uar_out, out, uar); in mlx5_cmd_uar_alloc()
|
D | qp.c | 347 MLX5_GET(cqe_error_syndrome, err_syn, syndrome)), in mlx5_ib_qp_err_syndrome() 348 MLX5_GET(cqe_error_syndrome, err_syn, vendor_error_syndrome), in mlx5_ib_qp_err_syndrome() 349 MLX5_GET(cqe_error_syndrome, err_syn, hw_syndrome_type), in mlx5_ib_qp_err_syndrome() 350 MLX5_GET(cqe_error_syndrome, err_syn, hw_error_syndrome)); in mlx5_ib_qp_err_syndrome() 1384 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq() 1385 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq() 1394 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_sq() 1395 MLX5_SET(wq, wq, uar_page, MLX5_GET(qpc, qpc, uar_page)); in create_raw_packet_qp_sq() 1398 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq() 1472 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq() [all …]
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 96 #define MLX5_GET(typ, p, fld) ((be32_to_cpu(*((__be32 *)(p) +\ macro 101 u32 ___t = MLX5_GET(typ, p, fld); \ 150 tmp = (__force type_t)MLX5_GET(typ, p, fld); \ 153 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \ 156 tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \ 1285 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1291 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap) 1294 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap) 1300 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->max, cap) 1303 MLX5_GET(per_protocol_networking_offload_caps,\ [all …]
|
D | fs_helpers.h | 66 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, in _mlx5_fs_is_outer_ipv_flow() 68 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow() 72 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, in _mlx5_fs_is_outer_ipv_flow() 74 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_cmd.c | 69 *table_id = MLX5_GET(create_flow_table_out, out, table_id); in mlx5hws_cmd_flow_table_create() 160 *group_id = MLX5_GET(create_flow_group_out, out, group_id); in hws_cmd_flow_group_create() 419 *rtc_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_rtc_create() 455 *stc_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_stc_create() 647 *arg_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_arg_create() 695 type = MLX5_GET(set_action_in, &pattern_data[i], action_type); in mlx5hws_cmd_header_modify_pattern_create() 708 *ptrn_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_header_modify_pattern_create() 745 *ste_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_ste_create() 800 *definer_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_definer_create() 848 *reformat_id = MLX5_GET(alloc_packet_reformat_out, out, packet_reformat_id); in mlx5hws_cmd_packet_reformat_create() [all …]
|
D | mlx5hws_pat_arg.c | 45 action_id = MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_require_reparse() 54 field = MLX5_GET(set_action_in, &actions[i], field); in mlx5hws_pat_require_reparse() 59 field = MLX5_GET(copy_action_in, &actions[i], dst_field); in mlx5hws_pat_require_reparse() 111 MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_compare_pattern() 494 *src_field = MLX5_GET(set_action_in, pattern, field); in hws_action_modify_get_target_fields() 498 *src_field = MLX5_GET(copy_action_in, pattern, src_field); in hws_action_modify_get_target_fields() 499 *dst_field = MLX5_GET(copy_action_in, pattern, dst_field); in hws_action_modify_get_target_fields() 512 MLX5_GET(set_action_in, &pattern[i], action_type); in mlx5hws_pat_verify_actions() 542 action_type = MLX5_GET(set_action_in, &pattern[i], action_type); in mlx5hws_pat_calc_nope()
|
/linux-6.12.1/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() 467 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()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mr.c | 51 mkey_index = MLX5_GET(create_mkey_out, lout, mkey_index); in mlx5_core_create_mkey() 52 *mkey = MLX5_GET(create_mkey_in, in, memory_key_mkey_entry.mkey_7_0) | in mlx5_core_create_mkey() 85 case 1: return MLX5_GET(create_psv_out, out, psv1_index); in mlx5_get_psv() 86 case 2: return MLX5_GET(create_psv_out, out, psv2_index); in mlx5_get_psv() 87 case 3: return MLX5_GET(create_psv_out, out, psv3_index); in mlx5_get_psv() 88 default: return MLX5_GET(create_psv_out, out, psv0_index); in mlx5_get_psv() 141 mkey = MLX5_GET(query_special_contexts_out, out, in mlx5_core_get_terminate_scatter_list_mkey()
|
D | wq.c | 41 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_cyc_create() 42 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_cyc_create() 103 u8 log_rq_stride = MLX5_GET(qpc, qpc, log_rq_stride) + 4; in mlx5_wq_qp_create() 104 u8 log_rq_sz = MLX5_GET(qpc, qpc, log_rq_size); in mlx5_wq_qp_create() 106 u8 log_sq_sz = MLX5_GET(qpc, qpc, log_sq_size); in mlx5_wq_qp_create() 164 u8 log_wq_stride = MLX5_GET(cqc, cqc, cqe_sz) == CQE_STRIDE_64 ? 6 : 7; in mlx5_cqwq_create() 165 u8 log_wq_sz = MLX5_GET(cqc, cqc, log_cq_size); in mlx5_cqwq_create() 214 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_ll_create() 215 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_ll_create()
|
D | debugfs.c | 332 state = MLX5_GET(qpc, qpc, state); in qp_read_field() 337 param = (unsigned long)mlx5_qp_type_str(MLX5_GET(qpc, qpc, st)); in qp_read_field() 341 switch (MLX5_GET(qpc, qpc, mtu)) { in qp_read_field() 362 param = 1 << MLX5_GET(qpc, qpc, log_rq_size); in qp_read_field() 365 param = 1 << (MLX5_GET(qpc, qpc, log_rq_stride) + 4); in qp_read_field() 368 if (!MLX5_GET(qpc, qpc, no_sq)) in qp_read_field() 369 param = 1 << MLX5_GET(qpc, qpc, log_sq_size); in qp_read_field() 372 param = MLX5_GET(qpc, qpc, log_page_size) + 12; in qp_read_field() 375 param = MLX5_GET(qpc, qpc, remote_qpn); in qp_read_field() 408 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field() [all …]
|
D | port.c | 182 *link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); in mlx5_query_ib_port_oper() 183 *proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); in mlx5_query_ib_port_oper() 227 *status = MLX5_GET(paos_reg, out, admin_status); in mlx5_query_port_admin_status() 243 *max_mtu = MLX5_GET(pmtu_reg, out, max_mtu); in mlx5_query_port_mtu() 245 *oper_mtu = MLX5_GET(pmtu_reg, out, oper_mtu); in mlx5_query_port_mtu() 247 *admin_mtu = MLX5_GET(pmtu_reg, out, admin_mtu); in mlx5_query_port_mtu() 288 *module_num = MLX5_GET(lane_2_module_mapping, in mlx5_query_module_num() 315 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_module_id() 399 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_mcia() 492 *vl_hw_cap = MLX5_GET(pvlc_reg, out, vl_hw_cap); in mlx5_query_port_vl_hw_cap() [all …]
|
D | fw.c | 113 *vendor_id = MLX5_GET(query_adapter_out, out, in mlx5_core_query_vendor_id() 334 force_state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_force_teardown_hca() 364 state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_fast_teardown_hca() 439 *update_handle = MLX5_GET(mcc_reg, out, update_handle); in mlx5_reg_mcc_query() 440 *error_code = MLX5_GET(mcc_reg, out, error_code); in mlx5_reg_mcc_query() 441 *control_state = MLX5_GET(mcc_reg, out, control_state); in mlx5_reg_mcc_query() 517 *max_component_size = MLX5_GET(mcqi_cap, mcqi_reg, max_component_size); in mlx5_reg_mcqi_caps_query() 518 *log_mcda_word_size = MLX5_GET(mcqi_cap, mcqi_reg, log_mcda_word_size); in mlx5_reg_mcqi_caps_query() 519 *mcda_max_write_size = MLX5_GET(mcqi_cap, mcqi_reg, mcda_max_write_size); in mlx5_reg_mcqi_caps_query() 676 *status = MLX5_GET(mirc_reg, out, status_code); in mlx5_fsm_reactivate() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | port_tun.c | 33 entropy_flags->force_supported = !!(MLX5_GET(pcmr_reg, out, entropy_force_cap)); in mlx5_query_port_tun_entropy() 34 entropy_flags->calc_supported = !!(MLX5_GET(pcmr_reg, out, entropy_calc_cap)); in mlx5_query_port_tun_entropy() 35 entropy_flags->gre_calc_supported = !!(MLX5_GET(pcmr_reg, out, entropy_gre_calc_cap)); in mlx5_query_port_tun_entropy() 36 entropy_flags->force_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_force)); in mlx5_query_port_tun_entropy() 37 entropy_flags->calc_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_calc)); in mlx5_query_port_tun_entropy() 38 entropy_flags->gre_calc_enabled = !!(MLX5_GET(pcmr_reg, out, entropy_gre_calc)); in mlx5_query_port_tun_entropy()
|
D | clock.c | 170 return !!MLX5_GET(mtptm_reg, out, psta); in mlx5_is_ptm_source_time_available() 197 if (!MLX5_GET(mtctr_reg, out, first_clock_valid) || in mlx5_mtctr_syncdevicetime() 198 !MLX5_GET(mtctr_reg, out, second_clock_valid)) in mlx5_mtctr_syncdevicetime() 881 if (err || !MLX5_GET(mtpps_reg, out, enable)) in mlx5_get_pps_pin_mode() 884 mode = MLX5_GET(mtpps_reg, out, pin_mode); in mlx5_get_pps_pin_mode() 928 clock->ptp_info.n_pins = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 930 clock->ptp_info.n_ext_ts = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 932 clock->ptp_info.n_per_out = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 936 clock->pps_info.min_npps_period = 1 << MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 939 clock->pps_info.min_out_pulse_duration_ns = 1 << MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | vlan_mangle.c | 33 if (!(MLX5_GET(fte_match_set_lyr_2_4, headers_c, cvlan_tag) && in mlx5e_tc_act_vlan_add_rewrite_action() 34 MLX5_GET(fte_match_set_lyr_2_4, headers_v, cvlan_tag))) { in mlx5e_tc_act_vlan_add_rewrite_action() 39 match_prio_mask = MLX5_GET(fte_match_set_lyr_2_4, headers_c, first_prio); in mlx5e_tc_act_vlan_add_rewrite_action() 40 match_prio_val = MLX5_GET(fte_match_set_lyr_2_4, headers_v, first_prio); in mlx5e_tc_act_vlan_add_rewrite_action()
|
/linux-6.12.1/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() 81 MLX5_GET(bufferx_reg, buffer, size) * port_buff_cell_sz; in mlx5e_port_query_buffer() 85 MLX5_GET(pbmc_reg, out, port_buffer_size) * port_buff_cell_sz; in mlx5e_port_query_buffer() 119 buffer_pool->size = MLX5_GET(sbpr_reg, out, size); in mlx5e_port_query_pool() 120 buffer_pool->infi_size = MLX5_GET(sbpr_reg, out, infi_size); in mlx5e_port_query_pool() 121 buffer_pool->buff_occupancy = MLX5_GET(sbpr_reg, out, buff_occupancy); in mlx5e_port_query_pool()
|
D | port.c | 47 *an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5_port_query_eth_autoneg() 48 *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); in mlx5_port_query_eth_autoneg() 49 *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5_port_query_eth_autoneg() 195 exc = MLX5_GET(sbcm_reg, out, exc); in mlx5e_port_set_sbcm() 196 min_buff = MLX5_GET(sbcm_reg, out, min_buff); in mlx5e_port_set_sbcm() 233 prio_x_buff = MLX5_GET(pptb_reg, out, prio_x_buff); in mlx5e_port_query_priority2buffer() 313 *_policy = MLX5_GET(pplm_reg, _buf, fec_override_admin_##link); \ 378 MLX5_GET(pplm_reg, buf, fec_override_cap_##link) 479 *fec_mode_active = MLX5_GET(pplm_reg, out, fec_mode_active); in mlx5e_get_fec_mode()
|
/linux-6.12.1/drivers/vdpa/mlx5/core/ |
D | resources.c | 21 *pdn = MLX5_GET(alloc_pd_out, out, pd); in alloc_pd() 47 *null_mkey = MLX5_GET(query_special_contexts_out, out, null_mkey); in get_null_mkey() 76 *uid = MLX5_GET(create_uctx_out, out, uid); in create_uctx() 104 *tisn = MLX5_GET(create_tis_out, out, tisn); in mlx5_vdpa_create_tis() 127 *rqtn = MLX5_GET(create_rqt_out, out, rqtn); in mlx5_vdpa_create_rqt() 160 *tirn = MLX5_GET(create_tir_out, out, tirn); in mlx5_vdpa_create_tir() 186 *tdn = MLX5_GET(alloc_transport_domain_out, out, transport_domain); in mlx5_vdpa_alloc_transport_domain() 215 mkey_index = MLX5_GET(create_mkey_out, lout, mkey_index); in mlx5_vdpa_create_mkey()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | ipsec.c | 32 *result = MLX5_GET(cmd_hca_cap, hca_cap, ipsec_offload); in esw_ipsec_vf_query_generic() 73 MLX5_GET(ipsec_cap, hca_cap, ipsec_crypto_offload); in mlx5_esw_ipsec_vf_offload_get() 75 MLX5_GET(ipsec_cap, hca_cap, ipsec_full_offload); in mlx5_esw_ipsec_vf_offload_get() 276 if (!MLX5_GET(cmd_hca_cap, hca_cap, log_max_dek)) in esw_ipsec_offload_supported() 316 if (!MLX5_GET(per_protocol_networking_offload_caps, hca_cap, swp)) in mlx5_esw_ipsec_vf_crypto_offload_supported() 347 if (!MLX5_GET(flow_table_nic_cap, hca_cap, flow_table_properties_nic_receive.decap)) { in mlx5_esw_ipsec_vf_packet_offload_supported()
|