[dpdk-dev] [PATCH v8 05/11] eal/linux: add interrupt vectors handling on VFIO

Stephen Hemminger shemming at brocade.com
Fri May 22 22:21:00 CEST 2015


On Thu, 21 May 2015 16:55:57 +0800
Cunming Liang <cunming.liang at intel.com> wrote:

> This patch does below:
>  - Create VFIO eventfds for each interrupt vector (move to next)
>  - Assign per interrupt vector's eventfd to VFIO by ioctl
> 
> Signed-off-by: Danny Zhou <danny.zhou at intel.com>
> Signed-off-by: Cunming Liang <cunming.liang at intel.com>

One non-trivial performance related change here would be to set SMP
affinity of the receive IRQ to the CPU that is handling that receive queue.
Not sure the full API to do this, but ideally you should not have the
receive interrupt occurring on one CPU then having to cause scheduler
to wakeup receive thread on another CPU.



More information about the dev mailing list