Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe txt_si softint is used only for multiqueue...



details:   https://anonhg.NetBSD.org/src/rev/dc429f36a399
branches:  trunk
changeset: 821741:dc429f36a399
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Feb 16 07:58:21 2017 +0000

description:
txt_si softint is used only for multiqueue (ixgbe_mq_start_locked()), so don't
schedule it in ixgbe_legacy_irq().

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r c696b111154c -r dc429f36a399 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Feb 16 05:36:41 2017 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Feb 16 07:58:21 2017 +0000
@@ -59,7 +59,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 /*$FreeBSD: head/sys/dev/ixgbe/if_ix.c 302384 2016-07-07 03:39:18Z sbruno $*/
-/*$NetBSD: ixgbe.c,v 1.76 2017/02/13 10:37:37 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.77 2017/02/16 07:58:21 msaitoh Exp $*/
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1648,11 +1648,7 @@
                softint_schedule(adapter->phy_si);
 
        if (more)
-#ifndef IXGBE_LEGACY_TX
-               softint_schedule(txr->txr_si);
-#else
                softint_schedule(que->que_si);
-#endif
        else
                ixgbe_enable_intr(adapter);
        return 1;



Home | Main Index | Thread Index | Old Index