Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_pat_arg.c218 struct mlx5hws_pattern_cache *cache = ctx->pattern_cache; in mlx5hws_pat_put_pattern()
248 mutex_lock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()
250 cached_pattern = mlx5hws_pat_get_existing_cached_pattern(ctx->pattern_cache, in mlx5hws_pat_get_pattern()
267 cached_pattern = mlx5hws_pat_add_pattern_to_cache(ctx->pattern_cache, in mlx5hws_pat_get_pattern()
277 mutex_unlock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()
285 mutex_unlock(&ctx->pattern_cache->lock); in mlx5hws_pat_get_pattern()
H A Dmlx5hws_context.c28 ret = mlx5hws_pat_init_pattern_cache(&ctx->pattern_cache); in hws_context_pools_init()
61 mlx5hws_pat_uninit_pattern_cache(ctx->pattern_cache); in hws_context_pools_init()
75 mlx5hws_pat_uninit_pattern_cache(ctx->pattern_cache); in hws_context_pools_uninit()
H A Dmlx5hws_context.h42 struct mlx5hws_pattern_cache *pattern_cache; member