/linux-6.6.21/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() 366 ece = MLX5_GET(init2init_qp_out, out, ece); in get_ece_from_mbox() 369 ece = MLX5_GET(init2rtr_qp_out, out, ece); in get_ece_from_mbox() 372 ece = MLX5_GET(rtr2rts_qp_out, out, ece); in get_ece_from_mbox() 375 ece = MLX5_GET(rts2rts_qp_out, out, ece); in get_ece_from_mbox() 378 ece = MLX5_GET(rst2init_qp_out, out, ece); in get_ece_from_mbox() 557 *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() 229 *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() 1386 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq() 1387 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq() 1396 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_sq() 1397 MLX5_SET(wq, wq, uar_page, MLX5_GET(qpc, qpc, uar_page)); in create_raw_packet_qp_sq() 1400 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq() 1474 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq() [all …]
|
/linux-6.6.21/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.6.21/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)); \ 1261 MLX5_GET(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) 1270 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap) 1276 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->max, cap) 1279 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.6.21/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 | 320 state = MLX5_GET(qpc, qpc, state); in qp_read_field() 325 param = (unsigned long)mlx5_qp_type_str(MLX5_GET(qpc, qpc, st)); in qp_read_field() 329 switch (MLX5_GET(qpc, qpc, mtu)) { in qp_read_field() 350 param = 1 << MLX5_GET(qpc, qpc, log_rq_size); in qp_read_field() 353 param = 1 << (MLX5_GET(qpc, qpc, log_rq_stride) + 4); in qp_read_field() 356 if (!MLX5_GET(qpc, qpc, no_sq)) in qp_read_field() 357 param = 1 << MLX5_GET(qpc, qpc, log_sq_size); in qp_read_field() 360 param = MLX5_GET(qpc, qpc, log_page_size) + 12; in qp_read_field() 363 param = MLX5_GET(qpc, qpc, remote_qpn); in qp_read_field() 396 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field() [all …]
|
D | port.c | 180 *link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); in mlx5_query_ib_port_oper() 181 *proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); in mlx5_query_ib_port_oper() 225 *status = MLX5_GET(paos_reg, out, admin_status); in mlx5_query_port_admin_status() 241 *max_mtu = MLX5_GET(pmtu_reg, out, max_mtu); in mlx5_query_port_mtu() 243 *oper_mtu = MLX5_GET(pmtu_reg, out, oper_mtu); in mlx5_query_port_mtu() 245 *admin_mtu = MLX5_GET(pmtu_reg, out, admin_mtu); in mlx5_query_port_mtu() 286 *module_num = MLX5_GET(lane_2_module_mapping, in mlx5_query_module_num() 313 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_module_id() 397 status = MLX5_GET(mcia_reg, out, status); in mlx5_query_mcia() 490 *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() 333 force_state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_force_teardown_hca() 363 state = MLX5_GET(teardown_hca_out, out, state); in mlx5_cmd_fast_teardown_hca() 434 *update_handle = MLX5_GET(mcc_reg, out, update_handle); in mlx5_reg_mcc_query() 435 *error_code = MLX5_GET(mcc_reg, out, error_code); in mlx5_reg_mcc_query() 436 *control_state = MLX5_GET(mcc_reg, out, control_state); in mlx5_reg_mcc_query() 512 *max_component_size = MLX5_GET(mcqi_cap, mcqi_reg, max_component_size); in mlx5_reg_mcqi_caps_query() 513 *log_mcda_word_size = MLX5_GET(mcqi_cap, mcqi_reg, log_mcda_word_size); in mlx5_reg_mcqi_caps_query() 514 *mcda_max_write_size = MLX5_GET(mcqi_cap, mcqi_reg, mcda_max_write_size); in mlx5_reg_mcqi_caps_query() 671 *status = MLX5_GET(mirc_reg, out, status_code); in mlx5_fsm_reactivate() [all …]
|
/linux-6.6.21/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 | 795 if (err || !MLX5_GET(mtpps_reg, out, enable)) in mlx5_get_pps_pin_mode() 798 mode = MLX5_GET(mtpps_reg, out, pin_mode); in mlx5_get_pps_pin_mode() 842 clock->ptp_info.n_pins = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 844 clock->ptp_info.n_ext_ts = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 846 clock->ptp_info.n_per_out = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 850 clock->pps_info.min_npps_period = 1 << MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 853 clock->pps_info.min_out_pulse_duration_ns = 1 << MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 856 clock->pps_info.pin_caps[0] = MLX5_GET(mtpps_reg, out, cap_pin_0_mode); in mlx5_get_pps_caps() 857 clock->pps_info.pin_caps[1] = MLX5_GET(mtpps_reg, out, cap_pin_1_mode); in mlx5_get_pps_caps() 858 clock->pps_info.pin_caps[2] = MLX5_GET(mtpps_reg, out, cap_pin_2_mode); in mlx5_get_pps_caps() [all …]
|
/linux-6.6.21/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.6.21/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() 308 *_policy = MLX5_GET(pplm_reg, _buf, fec_override_admin_##link); \ 350 MLX5_GET(pplm_reg, buf, fec_override_cap_##link) 441 *fec_mode_active = MLX5_GET(pplm_reg, out, fec_mode_active); in mlx5e_get_fec_mode()
|
/linux-6.6.21/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.6.21/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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 62 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi() 106 *roce_en = MLX5_GET(query_nic_vport_context_out, out, in dr_cmd_query_nic_vport_roce_en() 250 output->status = MLX5_GET(query_flow_table_out, out, status); in mlx5dr_cmd_query_flow_table() 251 output->level = MLX5_GET(query_flow_table_out, out, flow_table_context.level); in mlx5dr_cmd_query_flow_table() 393 *modify_header_id = MLX5_GET(alloc_modify_header_context_out, out, in mlx5dr_cmd_alloc_modify_header() 435 *group_id = MLX5_GET(create_flow_group_out, out, group_id); in mlx5dr_cmd_create_empty_flow_group() 504 *table_id = MLX5_GET(create_flow_table_out, out, table_id); in mlx5dr_cmd_create_flow_table() 508 (u64)MLX5_GET(create_flow_table_out, out, icm_address_31_0) | in mlx5dr_cmd_create_flow_table() 509 (u64)MLX5_GET(create_flow_table_out, out, icm_address_39_32) << 32 | in mlx5dr_cmd_create_flow_table() 510 (u64)MLX5_GET(create_flow_table_out, out, icm_address_63_40) << 40; in mlx5dr_cmd_create_flow_table() [all …]
|