> -----Original Message-----
> From: Zhang, RobinX <robinx.zh...@intel.com>
> Sent: Wednesday, August 25, 2021 4:35 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing...@intel.com>; Xing, Beilei 
> <beilei.x...@intel.com>;
> Zhang, Qi Z <qi.z.zh...@intel.com>; Guo, Junfeng <junfeng....@intel.com>;
> Yang, SteveX <stevex.y...@intel.com>; Zhang, RobinX
> <robinx.zh...@intel.com>
> Subject: [PATCH v2] net/iavf: enable interrupt polling
> 
> For VF hosted by Intel 700 series NICs, internal rx interrupt and adminq
> interrupt share the same source, that cause a lot cpu cycles be wasted on
> interrupt handler on rx path.
> 
> The patch disable pci interrupt and remove the interrupt handler, replace it
> with a low frequency(50ms) interrupt polling daemon which is implemtented
> by registering an alarm callback periodly.
> 
> The virtual channel capability bit VIRTCHNL_VF_OFFLOAD_WB_ON_ITR can be
> used to negotiate if iavf PMD needs to enable background alarm or not, so
> ideally this change will not impact the case hosted by Intel 800 series NICS.
> 
> This patch implements the same logic with an early i40e commit:
> commit 864a800d706d ("net/i40e: remove VF interrupt handler")
> 
> Signed-off-by: Robin Zhang <robinx.zh...@intel.com>

Acked-by: Qi Zhang <qi.z.zh...@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to