| 11 | /********************* Indexed pool **********************/ |
| 12 | |
| 13 | static inline void |
| 14 | mlx5_ipool_lock(struct mlx5_indexed_pool *pool) |
| 15 | { |
| 16 | if (pool->cfg.need_lock) |
| 17 | rte_spinlock_lock(&pool->rsz_lock); |
| 18 | } |
| 19 | |
| 20 | static inline void |
| 21 | mlx5_ipool_unlock(struct mlx5_indexed_pool *pool) |
no test coverage detected