Home
last modified time | relevance | path

Searched refs:match_criteria (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h87 &fg->mask.match_criteria,
92 &fg->mask.match_criteria,
97 &fg->mask.match_criteria,
175 &__entry->fg->mask.match_criteria,
180 &__entry->fg->mask.match_criteria,
185 &__entry->fg->mask.match_criteria,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c112 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_add_offloaded_rule()
178 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_add_fwd_rule()
418 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_add_send_to_vport_rule()
461 headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in esw_add_fdb_miss_rule()
586 void *match_criteria; in esw_create_offloads_fdb_tables() local
624 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_offloads_fdb_tables()
626 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_sqn); in esw_create_offloads_fdb_tables()
627 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_offloads_fdb_tables()
645 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in esw_create_offloads_fdb_tables()
646 match_criteria); in esw_create_offloads_fdb_tables()
[all …]
Den_arfs.c237 mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in arfs_create_groups()
480 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
492 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
494 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
501 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
503 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
519 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
521 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in arfs_add_rule()
532 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in arfs_add_rule()
536 memset(MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in arfs_add_rule()
Deswitch.c177 dmac_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in __esw_fdb_set_vport_rule()
188 mc_misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in __esw_fdb_set_vport_rule()
257 void *match_criteria; in esw_create_legacy_fdb_table() local
290 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_legacy_fdb_table()
291 dmac = MLX5_ADDR_OF(fte_match_param, match_criteria, outer_headers.dmac_47_16); in esw_create_legacy_fdb_table()
325 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_legacy_fdb_table()
853 void *match_criteria; in esw_vport_enable_egress_acl() local
891 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_vport_enable_egress_acl()
892 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_vport_enable_egress_acl()
893 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.first_vid); in esw_vport_enable_egress_acl()
[all …]
Den_fs.c183 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
188 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
194 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
200 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
203 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in __mlx5e_add_vlan_rule()
210 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()
783 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in mlx5e_generate_ttc_rule()
790 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in mlx5e_generate_ttc_rule()
794 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in mlx5e_generate_ttc_rule()
[all …]
Dfs_core.c318 if (spec->match_value[i] & ~spec->match_criteria[i]) { in check_valid_spec()
586 void *match_criteria, in alloc_flow_group() argument
604 memcpy(&fg->mask.match_criteria, match_criteria, in alloc_flow_group()
605 sizeof(fg->mask.match_criteria)); in alloc_flow_group()
615 void *match_criteria, in alloc_insert_flow_group() argument
624 fg = alloc_flow_group(steering, match_criteria_enable, match_criteria, in alloc_insert_flow_group()
1077 void *match_criteria = MLX5_ADDR_OF(create_flow_group_in, in mlx5_create_flow_group() local
1078 fg_in, match_criteria); in mlx5_create_flow_group()
1094 fg = alloc_insert_flow_group(ft, match_criteria_enable, match_criteria, in mlx5_create_flow_group()
1294 spec->match_criteria, in alloc_auto_flow_group()
[all …]
Den_fs_ethtool.c384 static bool outer_header_zero(u32 *match_criteria) in outer_header_zero() argument
387 char *outer_headers_c = MLX5_ADDR_OF(fte_match_param, match_criteria, in outer_header_zero()
409 err = set_flow_attrs(spec->match_criteria, spec->match_value, in add_ethtool_flow_rule()
428 spec->match_criteria_enable = (!outer_header_zero(spec->match_criteria)); in add_ethtool_flow_rule()
Dfs_core.h203 u32 match_criteria[MLX5_ST_SZ_DW_MATCH_PARAM]; member
Den_tc.c548 headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, outer_headers); in mlx5e_hairpin_get_prio()
1076 void *headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in parse_vxlan_attr()
1080 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in parse_vxlan_attr()
1108 void *headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in parse_tunnel_attr()
1250 void *headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in __parse_cls_flower()
1254 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in __parse_cls_flower()
1307 headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in __parse_cls_flower()
/Linux-v4.19/include/linux/mlx5/
Dfs.h84 u32 match_criteria[MLX5_ST_SZ_DW(fte_match_param)]; member
Dmlx5_ifc.h4663 struct mlx5_ifc_fte_match_param_bits match_criteria; member
7072 struct mlx5_ifc_fte_match_param_bits match_criteria; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c762 fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx()
768 fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx()
777 if (mlx5_fs_is_outer_ipv4_flow(mdev, fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx()
997 match_criteria.misc_parameters); in fpga_ipsec_fs_create_flow_group()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c2362 #define HEADER_IS_ZERO(match_criteria, headers) \ argument
2363 !(memchr_inv(MLX5_ADDR_OF(fte_match_param, match_criteria, headers), \
2366 static u8 get_match_criteria_enable(u32 *match_criteria) in get_match_criteria_enable() argument
2371 (!HEADER_IS_ZERO(match_criteria, outer_headers)) << in get_match_criteria_enable()
2374 (!HEADER_IS_ZERO(match_criteria, misc_parameters)) << in get_match_criteria_enable()
2377 (!HEADER_IS_ZERO(match_criteria, inner_headers)) << in get_match_criteria_enable()
2380 (!HEADER_IS_ZERO(match_criteria, misc_parameters_2)) << in get_match_criteria_enable()
2874 const u32 *match_c = spec->match_criteria; in is_valid_esp_aes_gcm()
3117 spec->match_criteria, in set_underlay_qp()
3288 err = parse_flow_attr(dev->mdev, spec->match_criteria, in _create_flow_rule()
[all …]