Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c962 if (mask->match_sz < sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
963 memcpy(tail_param, data, mask->match_sz); in mlx5dr_ste_copy_param()
973 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
976 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
986 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
989 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
999 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1002 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
1013 if (mask->match_sz < param_location + in mlx5dr_ste_copy_param()
1016 mask->match_sz - param_location); in mlx5dr_ste_copy_param()
[all …]
Dfs_dr.c162 mask.match_sz = sizeof(fg->mask.match_criteria); in mlx5_cmd_dr_create_flow_group()
259 size_t match_sz; in mlx5_cmd_dr_create_fte() local
287 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte()
525 params.match_sz = match_sz; in mlx5_cmd_dr_create_fte()
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()
Dmlx5dr.h34 size_t match_sz; member
Ddr_rule.c909 size_t value_size = value->match_sz; in dr_rule_verify()