if (rxq->rx_started) {
if (bnxt_init_one_rx_ring(rxq)) {
- PMD_DRV_LOG(ERR, "bnxt_init_one_rx_ring failed!\n");
- bnxt_rx_queue_release_op(bp->eth_dev, queue_index);
+ PMD_DRV_LOG(ERR,
+ "ring%d bnxt_init_one_rx_ring failed!\n",
+ queue_index);
rc = -ENOMEM;
goto err_out;
}
ring->ring_mask = ring->ring_size - 1;
ring->vmem_size = 0;
ring->vmem = NULL;
+ ring->fw_ring_id = INVALID_HW_RING_ID;
bp->async_cp_ring = cpr;
cpr->cp_ring_struct = ring;