net/i40e: fix check of flow director programming status
[dpdk.git] / drivers / compress / isal / isal_compress_pmd_ops.c
index 0738fb9..41cade8 100644 (file)
 static const struct rte_compressdev_capabilities isal_pmd_capabilities[] = {
        {
                .algo = RTE_COMP_ALGO_DEFLATE,
-               .comp_feature_flags =   RTE_COMP_FF_SHAREABLE_PRIV_XFORM |
+               .comp_feature_flags =   RTE_COMP_FF_OOP_SGL_IN_SGL_OUT |
+                                       RTE_COMP_FF_OOP_SGL_IN_LB_OUT |
+                                       RTE_COMP_FF_OOP_LB_IN_SGL_OUT |
+                                       RTE_COMP_FF_SHAREABLE_PRIV_XFORM |
                                        RTE_COMP_FF_HUFFMAN_FIXED |
                                        RTE_COMP_FF_HUFFMAN_DYNAMIC,
                .window_size = {
@@ -167,6 +170,9 @@ isal_comp_pmd_qp_release(struct rte_compressdev *dev, uint16_t qp_id)
        if (qp->state != NULL)
                rte_free(qp->state);
 
+       if (qp->processed_pkts != NULL)
+               rte_ring_free(qp->processed_pkts);
+
        rte_free(qp);
        dev->data->queue_pairs[qp_id] = NULL;