Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dbwc.c226 bwc_matcher->size_of_at_array = MLX5HWS_BWC_MATCHER_ATTACH_AT_NUM; in mlx5hws_bwc_matcher_create_simple()
227 bwc_matcher->at = kcalloc(bwc_matcher->size_of_at_array, in mlx5hws_bwc_matcher_create_simple()
751 if (unlikely(bwc_matcher->num_of_at >= bwc_matcher->size_of_at_array)) { in hws_bwc_matcher_extend_at()
752 if (bwc_matcher->size_of_at_array >= MLX5HWS_MATCHER_MAX_AT) in hws_bwc_matcher_extend_at()
754 bwc_matcher->size_of_at_array *= 2; in hws_bwc_matcher_extend_at()
756 bwc_matcher->size_of_at_array * in hws_bwc_matcher_extend_at()
760 bwc_matcher->size_of_at_array /= 2; in hws_bwc_matcher_extend_at()
A Dmatcher.c1015 if (matcher->size_of_at_array >= MLX5HWS_MATCHER_MAX_AT) in hws_matcher_grow_at_array()
1018 matcher->size_of_at_array *= 2; in hws_matcher_grow_at_array()
1020 matcher->size_of_at_array * sizeof(*matcher->at), in hws_matcher_grow_at_array()
1023 matcher->size_of_at_array /= 2; in hws_matcher_grow_at_array()
1039 if (unlikely(matcher->num_of_at >= matcher->size_of_at_array)) { in mlx5hws_matcher_attach_at()
1088 matcher->size_of_at_array = in hws_matcher_set_templates()
1090 matcher->at = kvcalloc(matcher->size_of_at_array, sizeof(*matcher->at), in hws_matcher_set_templates()
A Dmatcher.h67 u8 size_of_at_array; member
A Dbwc.h36 u8 size_of_at_array; member

Completed in 11 milliseconds