> -----Original Message----- > From: Zhang, RobinX <[email protected]> > Sent: Wednesday, August 25, 2021 4:35 PM > To: [email protected] > Cc: Wu, Jingjing <[email protected]>; Xing, Beilei > <[email protected]>; > Zhang, Qi Z <[email protected]>; Guo, Junfeng <[email protected]>; > Yang, SteveX <[email protected]>; Zhang, RobinX > <[email protected]> > 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 <[email protected]> Acked-by: Qi Zhang <[email protected]> Applied to dpdk-next-net-intel. Thanks Qi

