Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/pci Pull up following revision(s) (requested by t...
details: https://anonhg.NetBSD.org/src/rev/f6650b9d023e
branches: netbsd-6
changeset: 776642:f6650b9d023e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jun 03 14:57:09 2014 +0000
description:
Pull up following revision(s) (requested by tls in ticket #1070):
sys/dev/pci/if_wm.c: revision 1.269
>From dyoung@ -- bump max TX DMA size to avoid pathological condition with TSO.
diffstat:
sys/dev/pci/if_wm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1c7d672a7d3f -r f6650b9d023e sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Tue Jun 03 14:31:13 2014 +0000
+++ b/sys/dev/pci/if_wm.c Tue Jun 03 14:57:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.227.2.10 2013/07/29 20:24:04 jdc Exp $ */
+/* $NetBSD: if_wm.c,v 1.227.2.11 2014/06/03 14:57:09 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.227.2.10 2013/07/29 20:24:04 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.227.2.11 2014/06/03 14:57:09 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -167,7 +167,7 @@
#define WM_NEXTTX(sc, x) (((x) + 1) & WM_NTXDESC_MASK(sc))
#define WM_NEXTTXS(sc, x) (((x) + 1) & WM_TXQUEUELEN_MASK(sc))
-#define WM_MAXTXDMA round_page(IP_MAXPACKET) /* for TSO */
+#define WM_MAXTXDMA (2 * round_page(IP_MAXPACKET)) /* for TSO */
/*
* Receive descriptor list size. We have one Rx buffer for normal
Home |
Main Index |
Thread Index |
Old Index