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 It's not required to call ixv_stop() twice...



details:   https://anonhg.NetBSD.org/src/rev/3c787fbcc8b6
branches:  trunk
changeset: 458099:3c787fbcc8b6
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jul 30 08:38:03 2019 +0000

description:
It's not required to call ixv_stop() twice in ixv_detach().

diffstat:

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

diffs (20 lines):

diff -r b6d003a2648e -r 3c787fbcc8b6 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c   Tue Jul 30 08:05:22 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c   Tue Jul 30 08:38:03 2019 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.124 2019/07/26 03:27:24 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.125 2019/07/30 08:38:03 msaitoh Exp $*/
 
 /******************************************************************************
 
@@ -593,10 +593,6 @@
        }
 #endif
 
-       IXGBE_CORE_LOCK(adapter);
-       ixv_stop(adapter);
-       IXGBE_CORE_UNLOCK(adapter);
-
        for (int i = 0; i < adapter->num_queues; i++, que++, txr++) {
                if (!(adapter->feat_en & IXGBE_FEATURE_LEGACY_TX))
                        softint_disestablish(txr->txr_si);



Home | Main Index | Thread Index | Old Index