DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ixgbe: keep interrupt throttling disabled
@ 2017-01-20 23:10 David Su
  2017-03-30 14:28 ` Dai, Wei
  0 siblings, 1 reply; 2+ messages in thread
From: David Su @ 2017-01-20 23:10 UTC (permalink / raw)
  To: dev; +Cc: David Su

The code being removed would enable time-based interrupt throttling for
the first MSI-X interrupt vector.  This would throttle link status
change interrupts for NICs bound to vfio_pci driver; but for
igb_uio driver, rx queue 0 interrupts would be throttled.  This resulted
in inconsistent latencies in a DPDK interrupt mode packet forwarding
application between the 2 drivers.

We'd like DPDK interrupt mode applications to be awaken by
inbound packet interrupts as soon as they are received regardless
of interrupt interval, interrupt throttling should be kept disabled.

Signed-off-by: David Su <david.w.su@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index bdf4e2b..fdfb7a6 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5815,8 +5815,6 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
 	default:
 		break;
 	}
-	IXGBE_WRITE_REG(hw, IXGBE_EITR(IXGBE_MISC_VEC_ID),
-			IXGBE_MIN_INTER_INTERRUPT_INTERVAL_DEFAULT & 0xFFF);
 
 	/* set up to autoclear timer, and the vectors */
 	mask = IXGBE_EIMS_ENABLE_MASK;
-- 
1.7.0.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-30 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 23:10 [dpdk-dev] [PATCH] net/ixgbe: keep interrupt throttling disabled David Su
2017-03-30 14:28 ` Dai, Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).