path: root/config
diff options
authorQi Zhang <>2018-06-27 21:15:27 +0800
committerFerruh Yigit <>2018-07-03 01:35:58 +0200
commit864a800d706d5401e40e2d0a786be97c879a36ec (patch)
tree9566235cca4463bde49a61f1c4a167956aca6a17 /config
parent41e45c905672349266f0b4b467908c568fcc93b0 (diff)
net/i40e: remove VF interrupt handler
For i40evf, internal rx interrupt and adminq interrupt share the same source, that cause a lot cpu cycles be wasted on interrupt handler on rx path. This is complained by customers which require low latency (when set I40E_ITR_INTERVAL to small value), but have to be sufferred by tremendous interrupts handling that eat significant CPU resources. The patch disable pci interrupt and remove the interrupt handler, replace it with a low frequency (50ms) interrupt polling daemon which is implemented by registering a alarm callback periodly, this save CPU time significently: On a typical x86 server with 2.1GHz CPU, with low latency configure (32us) we saw CPU usage from top commmand reduced from 20% to 0% on management core in testpmd). Also with the new method we can remove compile option: I40E_ITR_INTERVAL which is used to balance between low latency and low CPU usage previously. Now we don't need it since we can reach both at same time. Suggested-by: Jingjing Wu <> Signed-off-by: Qi Zhang <> Acked-by: Beilei Xing <>
Diffstat (limited to 'config')
1 files changed, 0 insertions, 2 deletions
diff --git a/config/common_base b/config/common_base
index 721e59b..323c49a 100644
--- a/config/common_base
+++ b/config/common_base
@@ -264,8 +264,6 @@ CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
-# interval up to 8160 us, aligned to 2 (or default value)
# Compile burst-oriented FM10K PMD