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.c674 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_alloc_new_bulk() local
676 new_bulk = mlx5_fc_bulk_create(dev); in mlx5_fc_pool_alloc_new_bulk()
677 if (!IS_ERR(new_bulk)) in mlx5_fc_pool_alloc_new_bulk()
678 fc_pool->available_fcs += new_bulk->bulk_len; in mlx5_fc_pool_alloc_new_bulk()
680 return new_bulk; in mlx5_fc_pool_alloc_new_bulk()
714 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_acquire_counter() local
726 new_bulk = mlx5_fc_pool_alloc_new_bulk(fc_pool); in mlx5_fc_pool_acquire_counter()
727 if (IS_ERR(new_bulk)) { in mlx5_fc_pool_acquire_counter()
728 fc = ERR_CAST(new_bulk); in mlx5_fc_pool_acquire_counter()
731 fc = mlx5_fc_bulk_acquire_fc(new_bulk); in mlx5_fc_pool_acquire_counter()
[all …]