Home
last modified time | relevance | path

Searched refs:match_sz (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsmfs.c15 matcher_mask.match_sz = DR_SZ_MATCH_PARAM; in mlx5_smfs_matcher_create()
58 value.match_sz = DR_SZ_MATCH_PARAM; in mlx5_smfs_rule_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c1036 if (mask->match_sz < sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
1037 memcpy(tail_param, data, mask->match_sz); in mlx5dr_ste_copy_param()
1047 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1050 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
1060 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1063 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
1073 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1076 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
1087 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1090 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
[all …]
H A Dfs_dr.c155 mask.match_sz = sizeof(fg->mask.match_criteria); in mlx5_cmd_dr_create_flow_group()
270 size_t match_sz; in mlx5_cmd_dr_create_fte() local
298 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte()
555 params.match_sz = match_sz; in mlx5_cmd_dr_create_fte()
H A Ddr_matcher.c910 if (mask->match_sz > DR_SZ_MATCH_PARAM) { in dr_matcher_copy_param()
915 consumed_mask.match_buf = kzalloc(mask->match_sz, GFP_KERNEL); in dr_matcher_copy_param()
919 consumed_mask.match_sz = mask->match_sz; in dr_matcher_copy_param()
920 memcpy(consumed_mask.match_buf, mask->match_buf, mask->match_sz); in dr_matcher_copy_param()
925 for (i = 0; i < consumed_mask.match_sz; i++) { in dr_matcher_copy_param()
H A Dmlx5dr.h34 size_t match_sz; member
H A Ddr_rule.c936 size_t value_size = value->match_sz; in dr_rule_verify()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_bwc_complex.c20 mask->match_sz, in mlx5hws_bwc_match_params_is_complex()
H A Dmlx5hws.h836 size_t match_sz; member
H A Dmlx5hws_bwc.c106 mask->match_sz, in mlx5hws_bwc_matcher_create_simple()