net: thunderx: Enable CQE count threshold interrupt
[deliverable/linux.git] / drivers / net / ethernet / cavium / thunder / nicvf_queues.c
index b11fc094f7694524424b4fc756e47a86b19c30a7..d0d1b54900610046955a390f6f5c87ce45cbf1df 100644 (file)
@@ -299,7 +299,7 @@ static int nicvf_init_cmp_queue(struct nicvf *nic,
                return err;
 
        cq->desc = cq->dmem.base;
-       cq->thresh = CMP_QUEUE_CQE_THRESH;
+       cq->thresh = pass1_silicon(nic->pdev) ? 0 : CMP_QUEUE_CQE_THRESH;
        nic->cq_coalesce_usecs = (CMP_QUEUE_TIMER_THRESH * 0.05) - 1;
 
        return 0;
This page took 0.027045 seconds and 5 git commands to generate.