net/ngbe: fix packet statistics
[dpdk.git] / drivers / net / bnxt / bnxt_ring.c
index 5c6c27f..4cdbb17 100644 (file)
@@ -752,6 +752,8 @@ int bnxt_alloc_hwrm_rings(struct bnxt *bp)
                rc = bnxt_alloc_hwrm_rx_ring(bp, i);
                if (rc)
                        goto err_out;
+               bnxt_hwrm_set_ring_coal(bp, &coal,
+                                       rxq->cp_ring->cp_ring_struct->fw_ring_id);
        }
 
        /* If something is wrong with Rx ring alloc, skip Tx ring alloc */