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/4fb5bc00cc77
branches: trunk
changeset: 351629:4fb5bc00cc77
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 a4a219dd30e2 -r 4fb5bc00cc77 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