MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_ipool_unlock

Function mlx5_ipool_unlock

dpdk/drivers/net/mlx5/mlx5_utils.c:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static inline void
21mlx5_ipool_unlock(struct mlx5_indexed_pool *pool)
22{
23 if (pool->cfg.need_lock)
24 rte_spinlock_unlock(&pool->rsz_lock);
25}
26
27static inline uint32_t
28mlx5_trunk_idx_get(struct mlx5_indexed_pool *pool, uint32_t entry_idx)

Callers 7

_mlx5_ipool_free_cacheFunction · 0.85
mlx5_ipool_mallocFunction · 0.85
mlx5_ipool_freeFunction · 0.85
mlx5_ipool_getFunction · 0.85
mlx5_ipool_destroyFunction · 0.85

Calls 1

rte_spinlock_unlockFunction · 0.50

Tested by

no test coverage detected