ena: Remove CQ tail pointer update API

This commit removes the usage of this API from the freebsd driver since
the relevant functionality is not supported by the device.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
This commit is contained in:
Osama Abboud 2023-09-11 08:43:08 +00:00 committed by Arthur Kiyanovski
parent 72e34ebdd0
commit 2835752e07
2 changed files with 0 additions and 4 deletions

View file

@ -298,7 +298,6 @@ ena_tx_cleanup(struct ena_ring *tx_ring)
ena_com_comp_ack(
&adapter->ena_dev->io_sq_queues[ena_qid],
total_done);
ena_com_update_dev_comp_head(io_cq);
total_done = 0;
}
} while (likely(--budget));
@ -313,7 +312,6 @@ ena_tx_cleanup(struct ena_ring *tx_ring)
tx_ring->next_to_clean = next_to_clean;
ena_com_comp_ack(&adapter->ena_dev->io_sq_queues[ena_qid],
total_done);
ena_com_update_dev_comp_head(io_cq);
}
/*
@ -690,7 +688,6 @@ ena_rx_cleanup(struct ena_ring *rx_ring)
ENA_RX_REFILL_THRESH_PACKET);
if (refill_required > refill_threshold) {
ena_com_update_dev_comp_head(rx_ring->ena_com_io_cq);
ena_refill_rx_bufs(rx_ring, refill_required);
}

View file

@ -814,7 +814,6 @@ ena_netmap_tx_cleanup(struct ena_netmap_ctx *ctx)
/* acknowledge completion of sent packets */
ctx->ring->next_to_clean = ctx->nt;
ena_com_comp_ack(ctx->ring->ena_com_io_sq, total_tx_descs);
ena_com_update_dev_comp_head(ctx->ring->ena_com_io_cq);
}
}