compress/qat: enable compression on GEN3
[dpdk.git] / drivers / net / bnxt / bnxt_rxr.c
index c72545a..2ef4115 100644 (file)
@@ -1018,9 +1018,6 @@ uint16_t bnxt_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,
                raw_cons = NEXT_RAW_CMP(raw_cons);
                if (nb_rx_pkts == nb_pkts || nb_rep_rx_pkts == nb_pkts || evt)
                        break;
-               /* Post some Rx buf early in case of larger burst processing */
-               if (nb_rx_pkts == BNXT_RX_POST_THRESH)
-                       bnxt_db_write(&rxr->rx_db, rxr->rx_raw_prod);
        }
 
        cpr->cp_raw_cons = raw_cons;
@@ -1045,7 +1042,7 @@ uint16_t bnxt_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,
 
        /* Attempt to alloc Rx buf in case of a previous allocation failure. */
        if (alloc_failed) {
-               uint16_t cnt;
+               int cnt;
 
                rx_raw_prod = RING_NEXT(rx_raw_prod);
                for (cnt = 0; cnt < nb_rx_pkts + nb_rep_rx_pkts; cnt++) {