net/virtio: remove blank lines in log
[dpdk.git] / drivers / net / bnxt / bnxt_rxtx_vec_avx2.c
index a06dfec..d08854f 100644 (file)
@@ -408,7 +408,7 @@ bnxt_handle_tx_cp_vec(struct bnxt_tx_queue *txq)
                cons = RING_CMPL(ring_mask, raw_cons);
                txcmp = (struct tx_cmpl *)&cp_desc_ring[cons];
 
-               if (!CMP_VALID(txcmp, raw_cons, cp_ring_struct))
+               if (!bnxt_cpr_cmp_valid(txcmp, raw_cons, ring_mask + 1))
                        break;
 
                nb_tx_pkts += txcmp->opaque;