* free operation structure * If operation has been allocate from a rte_mempool, then the operation will * be returned to the mempool. * * @param op * Compress operation */
| 219 | * Compress operation |
| 220 | */ |
| 221 | void |
| 222 | rte_comp_op_free(struct rte_comp_op *op) |
| 223 | { |
| 224 | if (op != NULL && op->mempool != NULL) |
| 225 | rte_mempool_put(op->mempool, op); |
| 226 | } |
| 227 | |
| 228 | void |
| 229 | rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops) |