Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/x86/pci Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/780c94103a89
branches: netbsd-9
changeset: 454863:780c94103a89
user: martin <martin%NetBSD.org@localhost>
date: Mon Sep 30 15:42:03 2019 +0000
description:
Pull up following revision(s) (requested by knakahara in ticket #268):
sys/arch/x86/pci/if_vmx.c: revision 1.50
Fix typo in vmxnet3_legacy_intr().
That causes sysctl hw.vmx*.{rx,tx} effect inversely when vmx(4) uses
INTx or MSI.
diffstat:
sys/arch/x86/pci/if_vmx.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r e772483b338e -r 780c94103a89 sys/arch/x86/pci/if_vmx.c
--- a/sys/arch/x86/pci/if_vmx.c Sun Sep 29 07:35:15 2019 +0000
+++ b/sys/arch/x86/pci/if_vmx.c Mon Sep 30 15:42:03 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vmx.c,v 1.45.2.2 2019/09/01 13:52:53 martin Exp $ */
+/* $NetBSD: if_vmx.c,v 1.45.2.3 2019/09/30 15:42:03 martin 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.45.2.2 2019/09/01 13:52:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.45.2.3 2019/09/30 15:42:03 martin Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -2513,11 +2513,11 @@
vmxnet3_evintr(sc);
VMXNET3_RXQ_LOCK(rxq);
- rxmore = vmxnet3_rxq_eof(rxq, txlimit);
+ rxmore = vmxnet3_rxq_eof(rxq, rxlimit);
VMXNET3_RXQ_UNLOCK(rxq);
VMXNET3_TXQ_LOCK(txq);
- txmore = vmxnet3_txq_eof(txq, rxlimit);
+ txmore = vmxnet3_txq_eof(txq, txlimit);
VMXNET3_TXQ_UNLOCK(txq);
if (txmore || rxmore) {
Home |
Main Index |
Thread Index |
Old Index