On 07/05/2018 12:12 PM, Probir Roy wrote:
>> Does 'per CPU basis' indicates irq per cpu, or irq per device queue?
>
> IRQ per CPU core, meaning that IRQ will be raised at and served by
> that CPU. Does IRQ per queue mean the same thing?
>
About 'IRQ per queue', the device may create multiple queue in the OS driver.
The number of queues are always proportional to the number of CPU core/thread
(although this is also always configurable by OS driver).
Usually the per-queue irq/vector is bound to each CPU. As the number of
queue/irq is always the same as the number of CPU, it is sort of 'per CPU
basis', as each CPU will be serving irq for its own queue.
Dongli Zhang