Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci Apply deferred if_start to vmx(4).



details:   https://anonhg.NetBSD.org/src/rev/c0a510850f2e
branches:  trunk
changeset: 821880:c0a510850f2e
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Feb 20 09:02:01 2017 +0000

description:
Apply deferred if_start to vmx(4).

diffstat:

 sys/arch/x86/pci/if_vmx.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 64bc24541216 -r c0a510850f2e sys/arch/x86/pci/if_vmx.c
--- a/sys/arch/x86/pci/if_vmx.c Mon Feb 20 09:00:08 2017 +0000
+++ b/sys/arch/x86/pci/if_vmx.c Mon Feb 20 09:02:01 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vmx.c,v 1.18 2017/01/11 00:55:57 maya Exp $ */
+/*     $NetBSD: if_vmx.c,v 1.19 2017/02/20 09:02:01 knakahara Exp $    */
 /*     $OpenBSD: if_vmx.c,v 1.16 2014/01/22 06:04:17 brad Exp $        */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.18 2017/01/11 00:55:57 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.19 2017/02/20 09:02:01 knakahara Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -2158,7 +2158,7 @@
 
        VMXNET3_TXQ_LOCK(txq);
        vmxnet3_txq_eof(txq);
-       vmxnet3_start_locked(&sc->vmx_ethercom.ec_if);
+       if_schedule_deferred_start(&sc->vmx_ethercom.ec_if);
        VMXNET3_TXQ_UNLOCK(txq);
 
        vmxnet3_enable_all_intrs(sc);
@@ -2180,7 +2180,7 @@
 
        VMXNET3_TXQ_LOCK(txq);
        vmxnet3_txq_eof(txq);
-       vmxnet3_start_locked(&sc->vmx_ethercom.ec_if);
+       if_schedule_deferred_start(&sc->vmx_ethercom.ec_if);
        VMXNET3_TXQ_UNLOCK(txq);
 
        vmxnet3_enable_intr(sc, txq->vxtxq_intr_idx);



Home | Main Index | Thread Index | Old Index