Commit 46b08b52 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

sims/nic/corundum: reduce event queues to 2

This drastically improves throughput for single-core hosts, as the
driver always polls all event queues on an interrupt, which involves at
least one MMIO read and multiple writes.
parent 4257a3a7
...@@ -59,7 +59,7 @@ module interface # ...@@ -59,7 +59,7 @@ module interface #
// Number of outstanding operations (receive completion queue) // Number of outstanding operations (receive completion queue)
parameter RX_CPL_QUEUE_OP_TABLE_SIZE = 32, parameter RX_CPL_QUEUE_OP_TABLE_SIZE = 32,
// Event queue index width // Event queue index width
parameter EVENT_QUEUE_INDEX_WIDTH = 5, /* this one is not explicitly set */ parameter EVENT_QUEUE_INDEX_WIDTH = 1, /* this one is not explicitly set */
// Transmit queue index width // Transmit queue index width
parameter TX_QUEUE_INDEX_WIDTH = 8, parameter TX_QUEUE_INDEX_WIDTH = 8,
// Receive queue index width // Receive queue index width
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment