summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2018-03-07 08:01:32 +0000
committermsaitoh <msaitoh@NetBSD.org>2018-03-07 08:01:32 +0000
commit7db0b741d8098ce26351e751bfeaade239c17a4c (patch)
tree510c8510a037472b1e2b4b10dd37c67224490a8e /sys/dev
parent40c865f110bd43f355a71bfd8cfff72d8eaef69c (diff)
Don't increment que->req.ev_count in MSI-X interrupt because it's not
reschedule.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ixgbe/ixgbe.c3
-rw-r--r--sys/dev/pci/ixgbe/ixv.c7
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/pci/ixgbe/ixgbe.c b/sys/dev/pci/ixgbe/ixgbe.c
index a6e526d0c40..127131cf721 100644
--- a/sys/dev/pci/ixgbe/ixgbe.c
+++ b/sys/dev/pci/ixgbe/ixgbe.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.129 2018/03/07 03:29:10 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.130 2018/03/07 08:01:32 msaitoh Exp $ */
/******************************************************************************
@@ -2527,7 +2527,6 @@ ixgbe_msix_que(void *arg)
no_calc:
if (more) {
- que->req.ev_count++;
if (adapter->txrx_use_workqueue) {
/*
* adapter->que_wq is bound to each CPU instead of
diff --git a/sys/dev/pci/ixgbe/ixv.c b/sys/dev/pci/ixgbe/ixv.c
index 4bcf269972a..78c69e89693 100644
--- a/sys/dev/pci/ixgbe/ixv.c
+++ b/sys/dev/pci/ixgbe/ixv.c
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.85 2018/03/07 03:29:10 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.86 2018/03/07 08:01:32 msaitoh Exp $*/
/******************************************************************************
@@ -959,10 +959,9 @@ ixv_msix_que(void *arg)
rxr->packets = 0;
no_calc:
- if (more) {
- que->req.ev_count++;
+ if (more)
softint_schedule(que->que_si);
- } else /* Re-enable this interrupt */
+ else /* Re-enable this interrupt */
ixv_enable_queue(adapter, que->msix);
return 1;