Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci PR/50636: Ryo ONODERA: Reduce memory use
details: https://anonhg.NetBSD.org/src/rev/87d40994bd63
branches: trunk
changeset: 342819:87d40994bd63
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 10 03:07:50 2016 +0000
description:
PR/50636: Ryo ONODERA: Reduce memory use
diffstat:
sys/dev/pci/if_vioif.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6bd8f40eb98e -r 87d40994bd63 sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c Sun Jan 10 03:07:25 2016 +0000
+++ b/sys/dev/pci/if_vioif.c Sun Jan 10 03:07:50 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vioif.c,v 1.20 2015/10/29 02:29:41 christos Exp $ */
+/* $NetBSD: if_vioif.c,v 1.21 2016/01/10 03:07:50 christos Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.20 2015/10/29 02:29:41 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.21 2016/01/10 03:07:50 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -430,7 +430,7 @@
C_L1(txhdr_dmamaps[i], rx_hdrs[i],
sizeof(struct virtio_net_hdr), 1,
WRITE, "tx header");
- C(tx_dmamaps[i], NULL, ETHER_MAX_LEN, 256 /* XXX */, 0,
+ C(tx_dmamaps[i], NULL, ETHER_MAX_LEN, 16 /* XXX */, 0,
"tx payload");
}
Home |
Main Index |
Thread Index |
Old Index