[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-11-04 Thread Liang, Cunming
Hi David, On 11/2/2015 11:53 PM, David Marchand wrote: > Hello, > > On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang > wrote: > [snip] > >> diff --git a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> index 45071b7.

[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-11-02 Thread David Marchand
Hello, On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang wrote: [snip] > diff --git a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h > b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h > index 45071b7..b8fd318 100644 > --- a/lib/librte_eal/linuxapp/eal/include/exec-env/

[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-10-30 Thread Liang, Cunming
Hi David, May I ask your help to review the patch related to eal ? Thanks, Steve > -Original Message- > From: Liang, Cunming > Sent: Friday, October 30, 2015 1:28 PM > To: dev at dpdk.org > Cc: Zhang, Helin; He, Shaopeng; Wu, Jingjing; Liang, Cunming > Subject: [PATCH v2 01/11] eal/linux:

[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-10-30 Thread Cunming Liang
During VFIO_DEVICE_SET_IRQS, the previous order is {Q0_fd, ... Qn_fd, misc_fd}. The vector number of misc is indeterminable which is ugly to some NIC(e.g. i40e, fm10k). The patch adjusts the order in {misc_fd, Q0_fd, ... Qn_fd}, always reserve the first vector to misc interrupt. Signed-off-by: C

[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-10-30 Thread Zhang, Helin
> -Original Message- > From: Liang, Cunming > Sent: Friday, October 30, 2015 1:28 PM > To: dev at dpdk.org > Cc: Zhang, Helin; He, Shaopeng; Wu, Jingjing; Liang, Cunming > Subject: [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero > > During VFIO_DEVICE_SET_IRQS, the previous

[dpdk-dev] [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero

2015-10-30 Thread He, Shaopeng
> -Original Message- > From: Liang, Cunming > Sent: Friday, October 30, 2015 1:28 PM > To: dev at dpdk.org > Cc: Zhang, Helin; He, Shaopeng; Wu, Jingjing; Liang, Cunming > Subject: [PATCH v2 01/11] eal/linux: vfio map misc intr to vector zero > > During VFIO_DEVICE_SET_IRQS, the previous