Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c125 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
127 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()
136 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
138 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
140 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
142 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
144 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
146 MLX5_SET_TO_ONES(match_definer_format_23, match_definer_mask, in mlx5_lag_set_definer_inner()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
200 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in accel_fs_tcp_create_groups()
201 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in accel_fs_tcp_create_groups()
[all …]
H A Dipsec_fs.c201 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.ipsec_syndrome); in rx_add_rule_drop_auth_trailer()
203 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.metadata_reg_c_2); in rx_add_rule_drop_auth_trailer()
282 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.metadata_reg_c_4); in rx_add_rule_drop_replay()
284 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.metadata_reg_c_2); in rx_add_rule_drop_replay()
393 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in ipsec_rx_status_pass_create()
395 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in ipsec_rx_status_pass_create()
1161 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in setup_fte_addr4()
1167 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_addr4()
1174 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_addr4()
1187 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in setup_fte_addr6()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c95 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_bridge_mdb_flow_create()
97 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_mdb_flow_create()
100 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_bridge_mdb_flow_create()
102 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_mdb_flow_create()
105 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_bridge_mdb_flow_create()
383 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
385 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.svlan_tag); in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
386 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
598 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_bridge_mcast_vlan_flow_create()
600 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_mcast_vlan_flow_create()
[all …]
H A Dlegacy.c148 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_legacy_fdb_table()
274 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in _mlx5_eswitch_set_vepa_locked()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c65 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create()
66 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create()
67 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.first_vid); in esw_egress_acl_vlan_create()
111 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_egress_vlan_grp_create()
112 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.first_vid); in esw_acl_egress_vlan_grp_create()
H A Dingress_ofld.c37 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_prio_tag_create()
248 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_ofld_groups_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c277 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in arfs_create_groups()
281 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_dport); in arfs_create_groups()
282 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_sport); in arfs_create_groups()
286 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in arfs_create_groups()
287 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_sport); in arfs_create_groups()
297 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
299 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups()
533 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
547 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
549 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
[all …]
H A Den_fs.c241 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
246 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
252 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
258 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()
268 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
271 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
1137 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.cvlan_tag); in __mlx5e_create_vlan_table_groups()
1138 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.first_vid); in __mlx5e_create_vlan_table_groups()
1149 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.svlan_tag); in __mlx5e_create_vlan_table_groups()
[all …]
H A Deswitch_offloads.c165 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_set_rule_source_port()
167 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_set_rule_source_port()
958 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_sqn); in mlx5_eswitch_add_send_to_vport_rule()
984 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_add_send_to_vport_rule()
987 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_add_send_to_vport_rule()
1150 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in peer_miss_rules_setup()
1151 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in peer_miss_rules_setup()
1484 MLX5_SET_TO_ONES(fte_match_param, match_criteria, in mlx5_esw_set_flow_group_source_port()
1660 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_sqn); in esw_create_send_to_vport_group()
1664 MLX5_SET_TO_ONES(fte_match_param, match_criteria, in esw_create_send_to_vport_group()
[all …]
H A Dport.c594 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_tx); in mlx5_set_port_pfc()
595 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_rx); in mlx5_set_port_pfc()
H A Deswitch.c244 MLX5_SET_TO_ONES(fte_match_set_misc, mc_misc, source_port); in __esw_fdb_set_vport_rule()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c252 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, l4_type); in mlx5_fs_ttc_set_match_proto()
255 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5_fs_ttc_set_match_proto()
292 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in mlx5_generate_ttc_rule()
296 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in mlx5_generate_ttc_rule()
391 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_groups()
393 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5_create_ttc_table_groups()
398 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.l4_type); in mlx5_create_ttc_table_groups()
411 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_protocol); in mlx5_create_ttc_table_groups()
470 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule()
554 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
[all …]
H A Dipsec_fs_roce.c53 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in ipsec_fs_roce_setup_udp_dport()
55 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.udp_dport); in ipsec_fs_roce_setup_udp_dport()
246 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters.source_vhca_port); in ipsec_fs_roce_tx_mpv_rule_setup()
348 MLX5_SET_TO_ONES(fte_match_param, mc, misc_parameters.source_vhca_port); in ipsec_fs_roce_tx_mpv_create_group_rules()
747 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in mlx5_ipsec_fs_roce_rx_create()
748 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in mlx5_ipsec_fs_roce_rx_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
164 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in fs_udp_create_groups()
165 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in fs_udp_create_groups()
170 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in fs_udp_create_groups()
359 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in fs_any_set_ethertype_flow()
447 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in fs_any_create_groups()
H A Dtc_tun_geneve.c279 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_tlv_option_0_exist); in mlx5e_tc_tun_parse_geneve_options()
280 MLX5_SET_TO_ONES(fte_match_set_misc, misc_v, geneve_tlv_option_0_exist); in mlx5e_tc_tun_parse_geneve_options()
303 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_oam); in mlx5e_tc_tun_parse_geneve_params()
310 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_protocol_type); in mlx5e_tc_tun_parse_geneve_params()
H A Dtc_tun_gre.c69 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_gretap()
73 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, gre_protocol); in mlx5e_tc_tun_parse_gretap()
H A Dtc_tun.c982 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_udp_ports()