Home
last modified time | relevance | path

Searched refs:MLX5_ADDR_OF (Results 1 – 25 of 99) sorted by relevance

1234

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h121 MLX5_ADDR_OF(fte_match_param,
126 MLX5_ADDR_OF(fte_match_param,
131 MLX5_ADDR_OF(fte_match_param,
211 MLX5_ADDR_OF(fte_match_param,
216 MLX5_ADDR_OF(fte_match_param,
221 MLX5_ADDR_OF(fte_match_param,
226 MLX5_ADDR_OF(fte_match_param,
231 MLX5_ADDR_OF(fte_match_param,
236 MLX5_ADDR_OF(fte_match_param,
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c138 srqc = MLX5_ADDR_OF(create_srq_in, create_in, srq_context_entry); in create_srq_cmd()
139 pas = MLX5_ADDR_OF(create_srq_in, create_in, pas); in create_srq_cmd()
207 srqc = MLX5_ADDR_OF(query_srq_out, srq_out, srq_context_entry); in query_srq_cmd()
241 xrc_srqc = MLX5_ADDR_OF(create_xrc_srq_in, create_in, in create_xrc_srq_cmd()
243 pas = MLX5_ADDR_OF(create_xrc_srq_in, create_in, pas); in create_xrc_srq_cmd()
317 xrc_srqc = MLX5_ADDR_OF(query_xrc_srq_out, xrcsrq_out, in query_xrc_srq_cmd()
357 rmpc = MLX5_ADDR_OF(create_rmp_in, create_in, ctx); in create_rmp_cmd()
358 wq = MLX5_ADDR_OF(rmpc, rmpc, wq); in create_rmp_cmd()
362 pas = MLX5_ADDR_OF(rmpc, rmpc, wq.pas); in create_rmp_cmd()
418 rmpc = MLX5_ADDR_OF(modify_rmp_in, in, ctx); in arm_rmp_cmd()
[all …]
Dfs.c36 !(memchr_inv(MLX5_ADDR_OF(fte_match_param, match_criteria, headers), \
193 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
195 void *misc_params_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
197 void *misc_params2_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
199 void *misc_params2_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
207 headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
209 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
214 headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
216 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
227 ether_addr_copy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_c, in parse_flow_attr()
[all …]
Dcmd.c130 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in mlx5_cmd_attach_mcg()
144 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in mlx5_cmd_detach_mcg()
193 data = MLX5_ADDR_OF(mad_ifc_in, in, mad); in mlx5_cmd_mad_ifc()
200 resp = MLX5_ADDR_OF(mad_ifc_out, out, response_mad_packet); in mlx5_cmd_mad_ifc()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c35 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
38 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
54 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
57 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
60 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv6_flow()
63 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv6_flow()
197 mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in accel_fs_tcp_create_groups()
198 outer_headers_c = MLX5_ADDR_OF(fte_match_param, mc, outer_headers); in accel_fs_tcp_create_groups()
221 memset(MLX5_ADDR_OF(fte_match_set_lyr_2_4, outer_headers_c, in accel_fs_tcp_create_groups()
224 memset(MLX5_ADDR_OF(fte_match_set_lyr_2_4, outer_headers_c, in accel_fs_tcp_create_groups()
Dipsec_offload.c59 obj = MLX5_ADDR_OF(create_ipsec_obj_in, in, ipsec_object); in mlx5_create_ipsec_obj()
62 salt_p = MLX5_ADDR_OF(ipsec_obj, obj, salt); in mlx5_create_ipsec_obj()
66 salt_iv_p = MLX5_ADDR_OF(ipsec_obj, obj, implicit_iv); in mlx5_create_ipsec_obj()
173 obj = MLX5_ADDR_OF(query_ipsec_obj_out, out, ipsec_object); in mlx5_modify_ipsec_obj()
181 obj = MLX5_ADDR_OF(modify_ipsec_obj_in, in, ipsec_object); in mlx5_modify_ipsec_obj()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c60 memcpy(MLX5_ADDR_OF(fpga_access_reg, in, data), buf, size); in mlx5_fpga_access_reg()
68 memcpy(buf, MLX5_ADDR_OF(fpga_access_reg, out, data), size); in mlx5_fpga_access_reg()
150 memcpy(MLX5_ADDR_OF(fpga_create_qp_in, in, fpga_qpc), fpga_qpc, in mlx5_fpga_create_qp()
157 memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_create_qp_out, out, fpga_qpc), in mlx5_fpga_create_qp()
172 memcpy(MLX5_ADDR_OF(fpga_modify_qp_in, in, fpga_qpc), fpga_qpc, in mlx5_fpga_modify_qp()
192 memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_query_qp_out, out, fpga_qpc), in mlx5_fpga_query_qp()
Dconn.c235 mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in mlx5_fpga_conn_create_mkey()
454 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in mlx5_fpga_conn_create_cq()
462 pas = (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas); in mlx5_fpga_conn_create_cq()
561 qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in mlx5_fpga_conn_create_qp()
582 (__be64 *)MLX5_ADDR_OF(create_qp_in, in, pas)); in mlx5_fpga_conn_create_qp()
679 qpc = MLX5_ADDR_OF(rst2init_qp_in, in, qpc); in mlx5_fpga_conn_init_qp()
705 qpc = MLX5_ADDR_OF(init2rtr_qp_in, in, qpc); in mlx5_fpga_conn_rtr_qp()
714 ether_addr_copy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rmac_47_32), in mlx5_fpga_conn_rtr_qp()
715 MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, fpga_mac_47_32)); in mlx5_fpga_conn_rtr_qp()
721 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rgid_rip), in mlx5_fpga_conn_rtr_qp()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c132 misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_geneve_vni()
133 misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_vni()
169 misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_geneve_options()
170 misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_options()
171 misc_3_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_3); in mlx5e_tc_tun_parse_geneve_options()
172 misc_3_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_3); in mlx5e_tc_tun_parse_geneve_options()
291 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_geneve_params()
292 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_params()
Dtir.c44 return MLX5_ADDR_OF(modify_tir_in, builder->in, ctx); in mlx5e_tir_builder_get_tirc()
45 return MLX5_ADDR_OF(create_tir_in, builder->in, ctx); in mlx5e_tir_builder_get_tirc()
122 void *rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in mlx5e_tir_builder_build_rss()
129 hfso = MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_inner); in mlx5e_tir_builder_build_rss()
131 hfso = MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_outer); in mlx5e_tir_builder_build_rss()
Dtc_tun_gre.c61 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_gretap()
62 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_gretap()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c94 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in create_aso_cq()
99 (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas)); in create_aso_cq()
161 void *sqc_wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_aso_alloc_sq()
191 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in create_aso_sq()
192 wq = MLX5_ADDR_OF(sqc, sqc, wq); in create_aso_sq()
212 (__be64 *)MLX5_ADDR_OF(wq, wq, pas)); in create_aso_sq()
232 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5_aso_set_sq_rdy()
279 wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_aso_create_sq()
Dgid.c123 void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); in mlx5_core_roce_gid_set()
124 char *addr_l3_addr = MLX5_ADDR_OF(roce_addr_layout, in_addr, in mlx5_core_roce_gid_set()
126 void *addr_mac = MLX5_ADDR_OF(roce_addr_layout, in_addr, in mlx5_core_roce_gid_set()
Dcrypto.c19 obj = MLX5_ADDR_OF(create_encryption_key_in, in, encryption_key_object); in mlx5_create_encryption_key()
20 key_p = MLX5_ADDR_OF(encryption_key_obj, obj, key); in mlx5_create_encryption_key()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c260 attr = MLX5_ADDR_OF(query_sampler_obj_out, out, sampler_object); in mlx5dr_cmd_query_flow_sampler()
304 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
312 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
358 p_actions = MLX5_ADDR_OF(alloc_modify_header_context_in, in, actions); in mlx5dr_cmd_alloc_modify_header()
444 ft_mdev = MLX5_ADDR_OF(create_flow_table_in, in, flow_table_context); in mlx5dr_cmd_create_flow_table()
527 prctx = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in, packet_reformat_context); in mlx5dr_cmd_create_reformat_ctx()
528 pdata = MLX5_ADDR_OF(packet_reformat_context_in, prctx, reformat_data); in mlx5dr_cmd_create_reformat_ctx()
578 MLX5_ADDR_OF(query_roce_address_out, in mlx5dr_cmd_query_gid()
582 MLX5_ADDR_OF(query_roce_address_out, out, in mlx5dr_cmd_query_gid()
676 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dmcg.c45 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in mlx5_core_attach_mcg()
58 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in mlx5_core_detach_mcg()
Dvport.c136 nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in mlx5_modify_nic_vport_min_inline()
154 out_addr = MLX5_ADDR_OF(query_nic_vport_context_out, out, in mlx5_query_nic_vport_mac_address()
194 nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in mlx5_modify_nic_vport_mac_address()
196 perm_mac = MLX5_ADDR_OF(nic_vport_context, nic_vport_ctx, in mlx5_modify_nic_vport_mac_address()
297 nic_vport_ctx = MLX5_ADDR_OF(query_nic_vport_context_out, out, in mlx5_query_nic_vport_mac_list()
304 u8 *mac_addr = MLX5_ADDR_OF(nic_vport_context, in mlx5_query_nic_vport_mac_list()
347 nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in, in mlx5_modify_nic_vport_mac_list()
356 u8 *curr_mac = MLX5_ADDR_OF(nic_vport_context, in mlx5_modify_nic_vport_mac_list()
398 nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in, in mlx5_modify_nic_vport_vlans()
407 void *vlan_addr = MLX5_ADDR_OF(nic_vport_context, in mlx5_modify_nic_vport_vlans()
[all …]
Den_arfs.c255 mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in arfs_create_groups()
256 outer_headers_c = MLX5_ADDR_OF(fte_match_param, mc, in arfs_create_groups()
285 memset(MLX5_ADDR_OF(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
288 memset(MLX5_ADDR_OF(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
539 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
543 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
552 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
556 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
560 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in arfs_add_rule()
564 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in arfs_add_rule()
Drdma.c68 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5_rdma_enable_roce_steering()
81 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_rdma_enable_roce_steering()
85 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in mlx5_rdma_enable_roce_steering()
Dfs_cmd.c493 execute_aso = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte_flow_meter()
499 exe_aso_ctrl = MLX5_ADDR_OF(execute_aso, execute_aso, exe_aso_ctrl); in mlx5_cmd_set_fte_flow_meter()
553 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
585 vlan = MLX5_ADDR_OF(flow_context, in_flow_context, push_vlan); in mlx5_cmd_set_fte()
591 vlan = MLX5_ADDR_OF(flow_context, in_flow_context, push_vlan_2); in mlx5_cmd_set_fte()
597 in_match_value = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte()
601 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5_cmd_set_fte()
809 stats = MLX5_ADDR_OF(query_flow_counter_out, out, flow_statistics); in mlx5_cmd_fc_query()
865 packet_reformat_context_in = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc()
867 reformat = MLX5_ADDR_OF(packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc()
[all …]
Dtransobj.c166 sqc = MLX5_ADDR_OF(query_sq_out, out, sq_context); in mlx5_core_query_sq_state()
280 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5_hairpin_create_rq()
281 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5_hairpin_create_rq()
299 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5_hairpin_create_sq()
300 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5_hairpin_create_sq()
358 rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in mlx5_hairpin_modify_rq()
378 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5_hairpin_modify_sq()
Deswitch_offloads.c115 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); in mlx5_eswitch_clear_rule_source_port()
118 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_2); in mlx5_eswitch_clear_rule_source_port()
152 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); in mlx5_eswitch_set_rule_source_port()
155 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_2); in mlx5_eswitch_set_rule_source_port()
161 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_set_rule_source_port()
169 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_set_rule_source_port()
1024 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_add_send_to_vport_rule()
1032 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_add_send_to_vport_rule()
1167 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in peer_miss_rules_setup()
1174 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in peer_miss_rules_setup()
[all …]
/linux-6.1.9/include/linux/mlx5/
Dfs_helpers.h47 const void *headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in _mlx5_fs_is_outer_ipv_flow()
49 const void *headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in _mlx5_fs_is_outer_ipv_flow()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c151 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner()
154 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner()
160 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner()
163 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner()
240 ipv6 = MLX5_ADDR_OF(match_definer_format_29, match_definer_mask, in mlx5_lag_set_definer()
243 ipv6 = MLX5_ADDR_OF(match_definer_format_29, match_definer_mask, in mlx5_lag_set_definer()
249 ipv6 = MLX5_ADDR_OF(match_definer_format_30, match_definer_mask, in mlx5_lag_set_definer()
252 ipv6 = MLX5_ADDR_OF(match_definer_format_30, match_definer_mask, in mlx5_lag_set_definer()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c311 tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in create_tis()
405 qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in qp_prepare()
410 qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in qp_prepare()
426 pas = (__be64 *)MLX5_ADDR_OF(create_qp_in, in, pas); in qp_prepare()
471 qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in qp_create()
615 pas = (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas); in cq_create()
618 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in cq_create()
628 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in cq_create()
726 um = MLX5_ADDR_OF(create_umem_in, in, umem); in create_umem()
730 pas = (__be64 *)MLX5_ADDR_OF(umem, um, mtt[0]); in create_umem()
[all …]

1234