Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c901 struct mlx5dr_match_parameters consumed_mask; in dr_matcher_copy_param() local
915 consumed_mask.match_buf = kzalloc(mask->match_sz, GFP_KERNEL); in dr_matcher_copy_param()
916 if (!consumed_mask.match_buf) 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()
922 &matcher->mask, &consumed_mask, true); in dr_matcher_copy_param()
925 for (i = 0; i < consumed_mask.match_sz; i++) { in dr_matcher_copy_param()
926 if (!((u8 *)consumed_mask.match_buf)[i]) in dr_matcher_copy_param()
935 kfree(consumed_mask.match_buf); in dr_matcher_copy_param()