* Release the flow resources' indexed mempool. * * @param[in] sh * Pointer to mlx5_dev_ctx_shared object. */
| 936 | * Pointer to mlx5_dev_ctx_shared object. |
| 937 | */ |
| 938 | static void |
| 939 | mlx5_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. |
no test coverage detected