| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | fs_tcp.c | 31 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() 124 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in mlx5e_accel_fs_add_sk() 126 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in mlx5e_accel_fs_add_sk() 203 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in accel_fs_tcp_create_groups() 204 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in accel_fs_tcp_create_groups() [all …]
|
| D | ipsec_fs.c | 414 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in setup_fte_common() 418 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.frag); in setup_fte_common() 422 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in setup_fte_common() 426 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters.outer_esp_spi); in setup_fte_common() 437 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_common() 439 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in setup_fte_common()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| D | ingress_lgcy.c | 36 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() 207 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup() 211 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup() 213 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in esw_acl_ingress_lgcy_setup()
|
| D | helper.c | 64 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()
|
| D | ingress_ofld.c | 34 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_prio_tag_create() 181 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_ofld_groups_create()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_arfs.c | 252 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in arfs_create_groups() 256 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_dport); in arfs_create_groups() 257 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, tcp_sport); in arfs_create_groups() 261 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in arfs_create_groups() 262 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_sport); in arfs_create_groups() 272 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups() 274 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, in arfs_create_groups() 493 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule() 505 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule() 507 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule() [all …]
|
| D | en_fs.c | 208 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 213 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 219 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 225 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 228 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 235 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 238 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule() 1104 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.cvlan_tag); in __mlx5e_create_vlan_table_groups() 1105 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.first_vid); in __mlx5e_create_vlan_table_groups() 1116 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.svlan_tag); in __mlx5e_create_vlan_table_groups() [all …]
|
| D | rdma.c | 70 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()
|
| D | eswitch_offloads.c | 153 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_set_rule_source_port() 155 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_set_rule_source_port() 952 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_sqn); in mlx5_eswitch_add_send_to_vport_rule() 953 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_add_send_to_vport_rule() 955 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_add_send_to_vport_rule() 1139 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in peer_miss_rules_setup() 1140 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in peer_miss_rules_setup() 1422 MLX5_SET_TO_ONES(fte_match_param, match_criteria, in esw_set_flow_group_source_port() 1677 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_sqn); in esw_create_offloads_fdb_tables() 1678 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_offloads_fdb_tables() [all …]
|
| D | port.c | 619 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_tx); in mlx5_set_port_pfc() 620 MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_rx); in mlx5_set_port_pfc()
|
| D | eswitch.c | 220 MLX5_SET_TO_ONES(fte_match_set_misc, mc_misc, source_port); in __esw_fdb_set_vport_rule()
|
| D | en_tc.c | 1853 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_version); in mlx5e_tc_set_ethertype()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| D | bridge.c | 129 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_vlan_fg_create() 130 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); in mlx5_esw_bridge_ingress_vlan_fg_create() 131 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_vlan_fg_create() 132 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); in mlx5_esw_bridge_ingress_vlan_fg_create() 168 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_filter_fg_create() 169 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); in mlx5_esw_bridge_ingress_filter_fg_create() 170 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_filter_fg_create() 205 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); in mlx5_esw_bridge_ingress_mac_fg_create() 206 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); in mlx5_esw_bridge_ingress_mac_fg_create() 240 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.dmac_47_16); in mlx5_esw_bridge_egress_vlan_fg_create() [all …]
|
| D | indir_table.c | 159 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get() 169 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get() 185 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, in mlx5_esw_indir_table_rule_get() 302 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.ethertype); in mlx5_create_indir_recirc_group() 305 MLX5_SET_TO_ONES(fte_match_param, match, in mlx5_create_indir_recirc_group() 316 MLX5_SET_TO_ONES(fte_match_param, match, misc_parameters.vxlan_vni); in mlx5_create_indir_recirc_group()
|
| D | legacy.c | 147 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_legacy_fdb_table() 276 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in _mlx5_eswitch_set_vepa_locked()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | fs_ttc.c | 210 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() 308 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_protocol); in mlx5_create_ttc_table_groups() 310 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_groups() 312 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5_create_ttc_table_groups() 372 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule() 378 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_protocol); in mlx5_generate_inner_ttc_rule() 448 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_protocol); in mlx5_create_inner_ttc_table_groups() 449 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | fs_tt_redirect.c | 67 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() 165 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in fs_udp_create_groups() 166 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in fs_udp_create_groups() 171 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, udp_dport); in fs_udp_create_groups() 354 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in fs_any_set_ethertype_flow() 444 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in fs_any_create_groups()
|
| D | tc_tun_gre.c | 65 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()
|
| D | tc_tun_geneve.c | 297 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_oam); in mlx5e_tc_tun_parse_geneve_params() 304 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, geneve_protocol_type); in mlx5e_tc_tun_parse_geneve_params()
|
| D | tc_tun.c | 953 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_udp_ports()
|
| /Linux-v5.15/include/linux/mlx5/ |
| D | device.h | 87 #define MLX5_SET_TO_ONES(typ, p, fld) do { \ macro
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | fs.c | 898 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_ib_set_rule_source_port()
|