| 5239 | } |
| 5240 | |
| 5241 | void |
| 5242 | flow_dv_mreg_remove_cb(void *tool_ctx, struct mlx5_list_entry *entry) |
| 5243 | { |
| 5244 | struct mlx5_flow_mreg_copy_resource *mcp_res = |
| 5245 | container_of(entry, typeof(*mcp_res), hlist_ent); |
| 5246 | struct rte_eth_dev *dev = tool_ctx; |
| 5247 | struct mlx5_priv *priv = dev->data->dev_private; |
| 5248 | |
| 5249 | MLX5_ASSERT(mcp_res->rix_flow); |
| 5250 | flow_list_destroy(dev, MLX5_FLOW_TYPE_MCP, mcp_res->rix_flow); |
| 5251 | mlx5_ipool_free(priv->sh->ipool[MLX5_IPOOL_MCP], mcp_res->idx); |
| 5252 | } |
| 5253 | |
| 5254 | /** |
| 5255 | * Release flow in RX_CP_TBL. |
nothing calls this directly
no test coverage detected