Home
last modified time | relevance | path

Searched refs:MLX5_SET_TO_ONES (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c118 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
120 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
122 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
124 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
129 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
131 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
133 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
135 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
137 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
139 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c31 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in accel_fs_tcp_set_ipv4_flow()
33 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv4_flow()
41 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv4_flow()
43 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv4_flow()
50 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in accel_fs_tcp_set_ipv6_flow()
52 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv6_flow()
122 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in mlx5e_accel_fs_add_sk()
124 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in mlx5e_accel_fs_add_sk()
199 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in accel_fs_tcp_create_groups()
200 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in accel_fs_tcp_create_groups()
[all …]
Dmacsec_fs.c170 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in macsec_fs_tx_create_crypto_table_groups()
299 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in macsec_fs_tx_create()
365 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.metadata_reg_c_4); in macsec_fs_tx_create()
758 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in macsec_fs_rx_create_crypto_table_groups()
763 MLX5_SET_TO_ONES(fte_match_param, mc, misc_parameters_5.macsec_tag_2); in macsec_fs_rx_create_crypto_table_groups()
764 MLX5_SET_TO_ONES(fte_match_param, mc, misc_parameters_5.macsec_tag_3); in macsec_fs_rx_create_crypto_table_groups()
779 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.smac_47_16); in macsec_fs_rx_create_crypto_table_groups()
780 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.smac_15_0); in macsec_fs_rx_create_crypto_table_groups()
781 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in macsec_fs_rx_create_crypto_table_groups()
853 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.macsec_syndrome); in macsec_fs_rx_create_check_decap_rule()
[all …]
Dipsec_fs.c349 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in setup_fte_common()
353 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.frag); in setup_fte_common()
357 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in setup_fte_common()
361 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters.outer_esp_spi); in setup_fte_common()
372 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_common()
374 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_common()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c36 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_lgcy_groups_create()
37 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.smac_47_16); in esw_acl_ingress_lgcy_groups_create()
38 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.smac_15_0); in esw_acl_ingress_lgcy_groups_create()
54 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_lgcy_groups_create()
70 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.smac_47_16); in esw_acl_ingress_lgcy_groups_create()
71 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.smac_15_0); in esw_acl_ingress_lgcy_groups_create()
229 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup()
233 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup()
235 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup()
Dhelper.c64 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create()
65 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create()
66 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.first_vid); in esw_egress_acl_vlan_create()
110 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_egress_vlan_grp_create()
111 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.first_vid); in esw_acl_egress_vlan_grp_create()
Dingress_ofld.c34 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_prio_tag_create()
232 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_ofld_groups_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dct_fs_smfs.c53 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_version); in mlx5_ct_fs_smfs_fill_mask()
55 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ethertype); in mlx5_ct_fs_smfs_fill_mask()
57 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5_ct_fs_smfs_fill_mask()
59 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, in mlx5_ct_fs_smfs_fill_mask()
61 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, in mlx5_ct_fs_smfs_fill_mask()
77 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, tcp_sport); in mlx5_ct_fs_smfs_fill_mask()
78 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, tcp_dport); in mlx5_ct_fs_smfs_fill_mask()
82 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, udp_sport); in mlx5_ct_fs_smfs_fill_mask()
83 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, udp_dport); in mlx5_ct_fs_smfs_fill_mask()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c191 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
192 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
194 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
196 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.svlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
197 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
253 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
254 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
256 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
258 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.svlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
311 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_mac_fg_create()
[all …]
Dindir_table.c164 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get()
174 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get()
190 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get()
307 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.ethertype); in mlx5_create_indir_recirc_group()
310 MLX5_SET_TO_ONES(fte_match_param, match, in mlx5_create_indir_recirc_group()
321 MLX5_SET_TO_ONES(fte_match_param, match, misc_parameters.vxlan_vni); in mlx5_create_indir_recirc_group()
Dlegacy.c148 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_legacy_fdb_table()
277 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in _mlx5_eswitch_set_vepa_locked()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c258 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in arfs_create_groups()
262 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_dport); in arfs_create_groups()
263 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_sport); in arfs_create_groups()
267 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in arfs_create_groups()
268 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_sport); in arfs_create_groups()
278 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
280 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
508 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
520 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
522 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
[all …]
Den_fs.c234 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
239 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
245 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
251 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
254 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
261 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
264 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
1133 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.cvlan_tag); in __mlx5e_create_vlan_table_groups()
1134 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.first_vid); in __mlx5e_create_vlan_table_groups()
1145 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.svlan_tag); in __mlx5e_create_vlan_table_groups()
[all …]
Drdma.c70 MLX5_SET_TO_ONES(fte_match_param, match_criteria, in mlx5_rdma_enable_roce_steering()
87 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_rdma_enable_roce_steering()
Deswitch_offloads.c170 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_set_rule_source_port()
172 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_set_rule_source_port()
1033 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_sqn); in mlx5_eswitch_add_send_to_vport_rule()
1034 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_add_send_to_vport_rule()
1036 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_add_send_to_vport_rule()
1184 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in peer_miss_rules_setup()
1185 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in peer_miss_rules_setup()
1467 MLX5_SET_TO_ONES(fte_match_param, match_criteria, in esw_set_flow_group_source_port()
1648 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_sqn); in esw_create_send_to_vport_group()
1649 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_send_to_vport_group()
[all …]
Dport.c592 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_tx); in mlx5_set_port_pfc()
593 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_rx); in mlx5_set_port_pfc()
Deswitch.c228 MLX5_SET_TO_ONES(fte_match_set_misc, mc_misc, source_port); in __esw_fdb_set_vport_rule()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c210 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in mlx5_generate_ttc_rule()
217 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in mlx5_generate_ttc_rule()
221 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in mlx5_generate_ttc_rule()
312 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_protocol); in mlx5_create_ttc_table_groups()
314 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_groups()
316 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5_create_ttc_table_groups()
376 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule()
382 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_protocol); in mlx5_generate_inner_ttc_rule()
454 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_protocol); in mlx5_create_inner_ttc_table_groups()
455 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c67 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in fs_udp_set_dport_flow()
69 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in fs_udp_set_dport_flow()
72 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.udp_dport); in fs_udp_set_dport_flow()
163 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in fs_udp_create_groups()
164 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in fs_udp_create_groups()
169 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in fs_udp_create_groups()
358 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in fs_any_set_ethertype_flow()
445 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in fs_any_create_groups()
Dtc_tun_gre.c65 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_gretap()
69 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, gre_protocol); in mlx5e_tc_tun_parse_gretap()
Dtc_tun_geneve.c278 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_tlv_option_0_exist); in mlx5e_tc_tun_parse_geneve_options()
279 MLX5_SET_TO_ONES(fte_match_set_misc, misc_v, geneve_tlv_option_0_exist); in mlx5e_tc_tun_parse_geneve_options()
302 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_oam); in mlx5e_tc_tun_parse_geneve_params()
309 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_protocol_type); in mlx5e_tc_tun_parse_geneve_params()
Dtc_tun.c974 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_udp_ports()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c821 MLX5_SET_TO_ONES(fte_match_param, &spec->match_criteria, in set_vhca_port_spec()
840 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in set_ecn_ce_spec()
844 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in set_ecn_ce_spec()
862 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in set_cnp_spec()
1036 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_ib_set_rule_source_port()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h87 #define MLX5_SET_TO_ONES(typ, p, fld) do { \ macro
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1473 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, first_vid); in mlx5_vdpa_add_mac_vlan_rules()

12