event/octeontx2: fix device reconfigure for single slot
[dpdk.git] / drivers / mempool / octeontx2 / otx2_mempool_irq.c
index c026e1e..5fa22b9 100644 (file)
@@ -123,7 +123,7 @@ npa_lf_q_irq_get_and_clear(struct otx2_npa_lf *lf, uint32_t q,
 
        qint = reg & 0xff;
        wdata &= mask;
-       otx2_write64(wdata, lf->base + off);
+       otx2_write64(wdata | qint, lf->base + off);
 
        return qint;
 }
@@ -199,6 +199,7 @@ npa_lf_q_irq(void *param)
 
        /* Clear interrupt */
        otx2_write64(intr, lf->base + NPA_LF_QINTX_INT(qintx));
+       otx2_mempool_ctx_dump(lf);
 }
 
 static int