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

Function mlx5_flow_ipool_destroy

dpdk/drivers/net/mlx5/mlx5.c:938–948  ·  view source on GitHub ↗

* Release the flow resources' indexed mempool. * * @param[in] sh * Pointer to mlx5_dev_ctx_shared object. */

Source from the content-addressed store, hash-verified

936 * Pointer to mlx5_dev_ctx_shared object.
937 */
938static void
939mlx5_flow_ipool_destroy(struct mlx5_dev_ctx_shared *sh)
940{
941 uint8_t i;
942
943 for (i = 0; i < MLX5_IPOOL_MAX; ++i)
944 mlx5_ipool_destroy(sh->ipool[i]);
945 for (i = 0; i < MLX5_MAX_MODIFY_NUM; ++i)
946 if (sh->mdh_ipools[i])
947 mlx5_ipool_destroy(sh->mdh_ipools[i]);
948}
949
950/*
951 * Check if dynamic flex parser for eCPRI already exists.

Callers 1

mlx5_free_shared_dev_ctxFunction · 0.85

Calls 1

mlx5_ipool_destroyFunction · 0.85

Tested by

no test coverage detected