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

Zhang, Qi Z qi.z.zhang at intel.com
Tue Dec 24 02:40:46 CET 2019



> -----Original Message-----
> From: Cui, LunyuanX <lunyuanx.cui at intel.com>
> Sent: Tuesday, December 3, 2019 7:44 PM
> To: dev at dpdk.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>;
> Yang, Qiming <qiming.yang at intel.com>; Cui, LunyuanX
> <lunyuanx.cui at intel.com>
> Subject: [PATCH] net/i40e: enable multi-queue Rx interrupt for VF
> 
> 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_en(intr_handle) is true), we map different interrupt vectors to
> each queue and send this map to PF.
> After PF sets the map to the register,
> all Rx queue interrupts will be received.
> 
> In addition, vector id should less than the maximum vector value.
> When queue number is more than vector value, we set up a loop of interrupt
> vectors map.
> 
> Signed-off-by: Lunyuan Cui <lunyuanx.cui at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>



More information about the dev mailing list