> -----Original Message----- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Wednesday, February 04, 2015 7:40 AM > To: Zhou, Danny > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD > > On Tue, 3 Feb 2015 16:18:26 +0800 > Zhou Danny <danny.zhou at intel.com> wrote: > > > 2) UIO only supports a single interrupt vector which has to been shared by > > LSC interrupt and interrupts assigned to dedicated rx queues. > > UIO uses msi-x and there is no fundamental reason it could not use one IRQ for > LSC and one IRQ per queue. Might require some more work in base kernel > but not that hard.
Ideally, the uio kernel module before kernel 3.6 (VFIO is supported in kernels 3.6 and greater) needs to be back-ported to support multiple interrupt vectors. Yes, it is not hard while it is user responsibility. As for multiplexing that single interrupt vectors, it needs to read up to two MMIO registers to determine what the real interrupt cause it, at the cost of longer latency.