]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/octeontx2/otx2_ethdev_irq.c
ethdev: improve xstats names by IDs get prototype
[dpdk.git] / drivers / net / octeontx2 / otx2_ethdev_irq.c
index 96b848a919123be8fbae5ecc5f7ae4b69d63b79a..b121488faf1ee97d61f179f293ca31049fb8c2ee 100644 (file)
@@ -472,9 +472,12 @@ otx2_nix_err_intr_enb_dis(struct rte_eth_dev *eth_dev, bool enb)
 {
        struct otx2_eth_dev *dev = otx2_eth_pmd_priv(eth_dev);
 
-       /* Enable all nix lf error interrupts except for RQ_DISABLED */
+       /* Enable all nix lf error interrupts except
+        * RQ_DISABLED and CQ_DISABLED.
+        */
        if (enb)
-               otx2_write64(~BIT_ULL(11), dev->base + NIX_LF_ERR_INT_ENA_W1S);
+               otx2_write64(~(BIT_ULL(11) | BIT_ULL(24)),
+                            dev->base + NIX_LF_ERR_INT_ENA_W1S);
        else
                otx2_write64(~0ull, dev->base + NIX_LF_ERR_INT_ENA_W1C);
 }