[dpdk-dev] [RFC v4] net/i40e: enable multi-queue Rx interrupt for VF

2019-09-24 Thread lunyuan.cui
Current implementation is that only one Rx queue can support interrupt, because all queues are mapped in the same vector id in vfio_enable_msix(). So VF can not support multi-queue Rx interrupt in the interrupt mode. In this patch, if the packet I/O interrupt on datapath is enabled (rte_intr_dp_is

[dpdk-dev] [RFC v3] net/i40e: enable multi-queue Rx interrupt for VF

2019-09-15 Thread lunyuan.cui
Current implementation is that only one Rx queue can support interrupt, because all queues are mapped in the same vector id in vfio_enable_msix(). So VF can not support multi-queue Rx interrupt in the interrupt mode. In this patch, if the packet I/O interrupt on datapath is enabled (rte_intr_dp_is

[dpdk-dev] [RFC v2] net/i40e: enable multi-queue Rx interrupt for VF

2019-09-08 Thread lunyuan.cui
This patch enables VF to support multi-queue Rx interrupt. Current implementation is that only one Rx queue can support interrupt, because all queues are mapped in the same vector id in vfio_enable_msix(). So VF can not support multi-queue Rx interrupt in the interrupt mode. In this patch, if the

[dpdk-dev] [PATCH v2] net/iavf: fix multi-queue Rx interrupt for VF

2019-09-05 Thread lunyuan.cui
The original issue was that the last queue could not be mapped to the interrupt vector, so the last queue could not receive the package in the interrupt mode. This patch fixes the issue. Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- driv

[dpdk-dev] [PATCH] net/iavf: fix multi-queue Rx interrupt for VF

2019-09-05 Thread lunyuan.cui
The original issue was that the last queue could not be mapped to the interrupt vector, so the last queue could not receive the package in the interrupt mode. This patch fix the issue. Fixes: d6bde6b5ea ("net/avf: enable Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: lunyuan.cui --

[dpdk-dev] [RFC] net/i40e: enable multi-queue Rx interrupt for VF

2019-09-02 Thread lunyuan.cui
number is more than 4, i40e driver can be started, but all Rx queue can not support interrupt. Signed-off-by: lunyuan.cui --- drivers/net/i40e/i40e_ethdev_vf.c | 80 ++- 1 file changed, 57 insertions(+), 23 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b

[dpdk-dev] [RFC] net/i40e: enable multi-queue Rx interrupt for VF

2019-08-30 Thread lunyuan.cui
interrupt vector on i40evf is 4, so there's a limit on the interrupt vector. Signed-off-by: lunyuan.cui --- drivers/net/i40e/i40e_ethdev_vf.c | 80 ++- 1 file changed, 57 insertions(+), 23 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net