Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c606 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_alloc_new_bulk() local
608 new_bulk = mlx5_fc_bulk_create(dev); in mlx5_fc_pool_alloc_new_bulk()
609 if (!IS_ERR(new_bulk)) in mlx5_fc_pool_alloc_new_bulk()
610 fc_pool->available_fcs += new_bulk->bulk_len; in mlx5_fc_pool_alloc_new_bulk()
612 return new_bulk; in mlx5_fc_pool_alloc_new_bulk()
646 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_acquire_counter() local
658 new_bulk = mlx5_fc_pool_alloc_new_bulk(fc_pool); in mlx5_fc_pool_acquire_counter()
659 if (IS_ERR(new_bulk)) { in mlx5_fc_pool_acquire_counter()
660 fc = ERR_CAST(new_bulk); in mlx5_fc_pool_acquire_counter()
663 fc = mlx5_fc_bulk_acquire_fc(new_bulk); in mlx5_fc_pool_acquire_counter()
[all …]