CVS commit: src/sys/dev/pci/ixgbe

2017-09-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Sep 15 04:52:32 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixv.c

Log Message:
 Make ixv(4) TX/RX descriptors size the same as ixg(4).


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/pci/ixgbe/ixv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixv.c
diff -u src/sys/dev/pci/ixgbe/ixv.c:1.63 src/sys/dev/pci/ixgbe/ixv.c:1.64
--- src/sys/dev/pci/ixgbe/ixv.c:1.63	Wed Sep 13 04:50:50 2017
+++ src/sys/dev/pci/ixgbe/ixv.c	Fri Sep 15 04:52:32 2017
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.63 2017/09/13 04:50:50 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.64 2017/09/15 04:52:32 msaitoh Exp $*/
 
 /**
 
@@ -193,11 +193,11 @@ TUNABLE_INT("hw.ixv.tx_process_limit", &
  * setting higher than RX as this seems
  * the better performing choice.
  */
-static int ixv_txd = DEFAULT_TXD;
+static int ixv_txd = PERFORM_TXD;
 TUNABLE_INT("hw.ixv.txd", _txd);
 
 /* Number of RX descriptors per ring */
-static int ixv_rxd = DEFAULT_RXD;
+static int ixv_rxd = PERFORM_RXD;
 TUNABLE_INT("hw.ixv.rxd", _rxd);
 
 /* Legacy Transmit (single queue) */



CVS commit: src/sys/dev/pci/ixgbe

2017-09-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Sep 15 04:52:32 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixv.c

Log Message:
 Make ixv(4) TX/RX descriptors size the same as ixg(4).


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/pci/ixgbe/ixv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/x68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:12:05 UTC 2017

Modified Files:
src/sys/arch/x68k/x68k: machdep.c

Log Message:
pass the correct argument


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/sys/arch/x68k/x68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/x68k/machdep.c
diff -u src/sys/arch/x68k/x68k/machdep.c:1.196 src/sys/arch/x68k/x68k/machdep.c:1.197
--- src/sys/arch/x68k/x68k/machdep.c:1.196	Mon Apr  3 13:37:29 2017
+++ src/sys/arch/x68k/x68k/machdep.c	Thu Sep 14 23:12:05 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.196 2017/04/03 17:37:29 christos Exp $	*/
+/*	$NetBSD: machdep.c,v 1.197 2017/09/15 03:12:05 christos Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.196 2017/04/03 17:37:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.197 2017/09/15 03:12:05 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1029,12 +1029,12 @@ cpu_exec_aout_makecmds(struct lwp *l, st
 	switch (midmag) {
 #ifdef COMPAT_NOMID
 	case (MID_ZERO << 16) | ZMAGIC:
-		error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+		error = exec_aout_prep_oldzmagic(l, epp);
 		break;
 #endif
 #ifdef COMPAT_44
 	case (MID_HP300 << 16) | ZMAGIC:
-		error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+		error = exec_aout_prep_oldzmagic(l, epp);
 		break;
 #endif
 	default:



CVS commit: src/sys/arch/x68k/x68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:12:05 UTC 2017

Modified Files:
src/sys/arch/x68k/x68k: machdep.c

Log Message:
pass the correct argument


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/sys/arch/x68k/x68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/news68k/news68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:11:15 UTC 2017

Modified Files:
src/sys/arch/news68k/news68k: machdep.c

Log Message:
pass the right argument


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/news68k/news68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/news68k/news68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:11:15 UTC 2017

Modified Files:
src/sys/arch/news68k/news68k: machdep.c

Log Message:
pass the right argument


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/news68k/news68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/news68k/news68k/machdep.c
diff -u src/sys/arch/news68k/news68k/machdep.c:1.102 src/sys/arch/news68k/news68k/machdep.c:1.103
--- src/sys/arch/news68k/news68k/machdep.c:1.102	Thu Sep 14 23:10:07 2017
+++ src/sys/arch/news68k/news68k/machdep.c	Thu Sep 14 23:11:15 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $	*/
+/*	$NetBSD: machdep.c,v 1.103 2017/09/15 03:11:15 christos Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.103 2017/09/15 03:11:15 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -693,12 +693,12 @@ cpu_exec_aout_makecmds(struct lwp *l, st
 	switch (midmag) {
 #ifdef COMPAT_NOMID
 	case (MID_ZERO << 16) | ZMAGIC:
-		error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+		error = exec_aout_prep_oldzmagic(l, epp);
 		return(error);
 #endif
 #ifdef COMPAT_44
 	case (MID_HP300 << 16) | ZMAGIC:
-		error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+		error = exec_aout_prep_oldzmagic(l, epp);
 		return error;
 #endif
 	}



CVS commit: src/sys/arch/news68k/news68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:10:08 UTC 2017

Modified Files:
src/sys/arch/news68k/news68k: machdep.c

Log Message:
make this compile


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/news68k/news68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/news68k/news68k

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:10:08 UTC 2017

Modified Files:
src/sys/arch/news68k/news68k: machdep.c

Log Message:
make this compile


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/news68k/news68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/news68k/news68k/machdep.c
diff -u src/sys/arch/news68k/news68k/machdep.c:1.101 src/sys/arch/news68k/news68k/machdep.c:1.102
--- src/sys/arch/news68k/news68k/machdep.c:1.101	Mon Mar 24 15:54:28 2014
+++ src/sys/arch/news68k/news68k/machdep.c	Thu Sep 14 23:10:07 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.101 2014/03/24 19:54:28 christos Exp $	*/
+/*	$NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.101 2014/03/24 19:54:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -698,7 +698,7 @@ cpu_exec_aout_makecmds(struct lwp *l, st
 #endif
 #ifdef COMPAT_44
 	case (MID_HP300 << 16) | ZMAGIC:
-		error = exec_aout_prep_oldzmagic(p, epp);
+		error = exec_aout_prep_oldzmagic(l->l_proc, epp);
 		return error;
 #endif
 	}



CVS commit: src/sys/arch/evbppc/conf

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:07:55 UTC 2017

Modified Files:
src/sys/arch/evbppc/conf: EV64260

Log Message:
fix path miff


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/evbppc/conf/EV64260

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbppc/conf/EV64260
diff -u src/sys/arch/evbppc/conf/EV64260:1.69 src/sys/arch/evbppc/conf/EV64260:1.70
--- src/sys/arch/evbppc/conf/EV64260:1.69	Thu Sep 14 03:58:40 2017
+++ src/sys/arch/evbppc/conf/EV64260	Thu Sep 14 23:07:55 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: EV64260,v 1.69 2017/09/14 07:58:40 mrg Exp $
+#	$NetBSD: EV64260,v 1.70 2017/09/15 03:07:55 christos Exp $
 #
 #	MVP -- Motorola's Multiprocessing Verification Platform
 #
@@ -63,7 +63,7 @@ makeoptions	COPY_SYMTAB=1	# size for emb
 makeoptions	DEBUG="-g"
 
 # Compatibility options
-include 	"arch/evbppc/conf/compat_netbsd16.config"
+include 	"conf/compat_netbsd16.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 # File systems



CVS commit: src/sys/arch/evbppc/conf

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:07:55 UTC 2017

Modified Files:
src/sys/arch/evbppc/conf: EV64260

Log Message:
fix path miff


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/evbppc/conf/EV64260

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hppa/conf

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:06:11 UTC 2017

Modified Files:
src/sys/arch/hppa/conf: GENERIC

Log Message:
there is no netbsd 17


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/hppa/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/conf/GENERIC
diff -u src/sys/arch/hppa/conf/GENERIC:1.15 src/sys/arch/hppa/conf/GENERIC:1.16
--- src/sys/arch/hppa/conf/GENERIC:1.15	Thu Sep 14 03:58:41 2017
+++ src/sys/arch/hppa/conf/GENERIC	Thu Sep 14 23:06:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.15 2017/09/14 07:58:41 mrg Exp $
+# $NetBSD: GENERIC,v 1.16 2017/09/15 03:06:11 christos Exp $
 #
 # GENERIC machine description file
 #
@@ -23,7 +23,7 @@ include 	"arch/hppa/conf/std.hppa"
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
-#ident 		"GENERIC-$Revision: 1.15 $"
+#ident 		"GENERIC-$Revision: 1.16 $"
 
 maxusers	32		# estimated number of users
 
@@ -74,7 +74,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #makeoptions	DEBUG="-g"	# compile full symbol table
 
 # Compatibility options
-include 	"conf/compat_netbsd17.config"
+include 	"conf/compat_netbsd20.config"
 
 #options 	COMPAT_OSF1	# OSF1 binary compatibility
 #options 	COMPAT_LINUX	# binary compatibility with Linux



CVS commit: src/sys/arch/hppa/conf

2017-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 03:06:11 UTC 2017

Modified Files:
src/sys/arch/hppa/conf: GENERIC

Log Message:
there is no netbsd 17


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/hppa/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2017-09-14 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Sep 14 18:45:17 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
As instructed, one tab to start an item, and two tabs to indent the content.
Drop space.


To generate a diff of this commit:
cvs rdiff -u -r1.2315 -r1.2316 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2315 src/doc/CHANGES:1.2316
--- src/doc/CHANGES:1.2315	Thu Sep 14 18:24:30 2017
+++ src/doc/CHANGES	Thu Sep 14 18:45:17 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2315 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2316 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -27,7 +27,7 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
  	byacc: Update to 20170430. [christos 20170605]
  	vax: Add support for VAXstation 4000 TURBOchannel. [flxd 20170609]
  	wsbell(4): Added console bell support for all speaker devices, not
- 		only those attached at pcppi. [nat 20170612]
+		only those attached at pcppi. [nat 20170612]
  	bind: Import version 9.10.5-P1. [christos 20170615]
 	dts: Import dts files from Linux 4.11.5. [jmcneill 20170615]
 	amd64: Support 16TB of PA, and 32TB of kernel VA on the architecture



CVS commit: src/doc

2017-09-14 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Sep 14 18:45:17 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
As instructed, one tab to start an item, and two tabs to indent the content.
Drop space.


To generate a diff of this commit:
cvs rdiff -u -r1.2315 -r1.2316 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2017-09-14 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Sep 14 18:24:30 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
As instructed, start the content with a capital and end it with a dot.
Noticed wsbell entry from 20170612 is listed as unknown date on the website.


To generate a diff of this commit:
cvs rdiff -u -r1.2314 -r1.2315 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2314 src/doc/CHANGES:1.2315
--- src/doc/CHANGES:1.2314	Wed Sep 13 23:06:17 2017
+++ src/doc/CHANGES	Thu Sep 14 18:24:30 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2314 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2315 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -24,15 +24,15 @@
 # 
 
 Changes from NetBSD 8.0 to NetBSD 9.0:
- 	byacc: update to 20170430 [christos 20170605]
+ 	byacc: Update to 20170430. [christos 20170605]
  	vax: Add support for VAXstation 4000 TURBOchannel. [flxd 20170609]
- 	wsbell(4): added console bell support for all speaker devices, not
- 		only those attached at pcppi [nat 20170612]
+ 	wsbell(4): Added console bell support for all speaker devices, not
+ 		only those attached at pcppi. [nat 20170612]
  	bind: Import version 9.10.5-P1. [christos 20170615]
 	dts: Import dts files from Linux 4.11.5. [jmcneill 20170615]
 	amd64: Support 16TB of PA, and 32TB of kernel VA on the architecture
 		side. [maxv 20170617]
-	expat: Import 2.2.1 (security fixes) [christos 20170617]
+	expat: Import 2.2.1 (security fixes). [christos 20170617]
 	arm: Add support for Allwinner H3 SoC. [jmcneill 20170628]
 	bind: Import version 9.10.5-P2. [christos 20170630]
 	sunxiemac(4): Add support for Allwinner Gigabit Ethernet (EMAC).
@@ -50,13 +50,13 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	itesio(4): Add support IT8628E. [hauke 20170814]
 	ichsmb(4): Add support for Intel C3000. [msaitoh 20170817]
 	ismt(4): Add support for Intel C3000. [msaitoh 20170817]
-	powerpc: Bump MAXTSIZ to 128MB for OEA based systems [sevan 20170818]
+	powerpc: Bump MAXTSIZ to 128MB for OEA based systems. [sevan 20170818]
 	GMP/MPFR/MPC: Update to 6.1.2, 3.1.5 and 1.0.3. [mrg 20170821]
-	ixg(4), ixv(4): Add C3000 support. Add bypass function 	support for
+	ixg(4), ixv(4): Add C3000 support. Add bypass function support for
 		bypass adapters. [msaitoh 20170830]
 	file(1): Upgraded to 5.32. [christos 20170908]
 	tcpdump(8): Import 4.9.2. [christos 20170908]
-	veriexecgen(8): drop support for MD5, SHA1, RMD160. [sevan 20170909]
+	veriexecgen(8): Drop support for MD5, SHA1, RMD160. [sevan 20170909]
 	itesio(4): Add support IT8728GF and IT877[12]E [hauke 20170814]
-	veriexec(4): drop support for VERIFIED_EXEC_FP_MD5, VERIFIED_EXEC_FP_SHA1,
+	veriexec(4): Drop support for VERIFIED_EXEC_FP_MD5, VERIFIED_EXEC_FP_SHA1,
 		and VERIFIED_EXEC_FP_RMD160 options. [sevan 20170913]



CVS commit: src/doc

2017-09-14 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Sep 14 18:24:30 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
As instructed, start the content with a capital and end it with a dot.
Noticed wsbell entry from 20170612 is listed as unknown date on the website.


To generate a diff of this commit:
cvs rdiff -u -r1.2314 -r1.2315 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/sys/arch/arm/dts

2017-09-14 Thread Christos Zoulas
On Sep 14,  9:47am, p...@whooppee.com (Paul Goyette) wrote:
-- Subject: Re: CVS commit: src/sys/arch/arm/dts

| Additionally, use of this GNU extension might preclude a move to a 
| non-gcc compiler in the future...

That ship has sailed for the kernel:

- we are using too many gcc-specific stuff already eg. asm
- most compilers that can compiler the kernel implement the gcc feature
  set.

christos


CVS commit: src/sys/dev/pci/ixgbe

2017-09-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Sep 14 09:25:58 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_type.h ixgbe_vf.h

Log Message:
 Quick hack to fix ixv(4)'s hardware counter. ixgbe_rx_checksum() passes
"struct ixgbe_hw_stats *" even if its a virtual function. The layout between
ixgbe_hw_stats and ixgbevf_hw_stats are different, so ixgbe_rx_checksum()
wrote wrong area if a device is a virtual function. To fix this problem with
small change, move the location of ipcs, ipcs_bad, l4cs and l4cs_bad of
struct ixgbe(vf)_hw_stats to the same location at the biggining of the struct.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/ixgbe/ixgbe_type.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_vf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixgbe_type.h
diff -u src/sys/dev/pci/ixgbe/ixgbe_type.h:1.26 src/sys/dev/pci/ixgbe/ixgbe_type.h:1.27
--- src/sys/dev/pci/ixgbe/ixgbe_type.h:1.26	Wed Aug 30 08:49:18 2017
+++ src/sys/dev/pci/ixgbe/ixgbe_type.h	Thu Sep 14 09:25:58 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_type.h,v 1.26 2017/08/30 08:49:18 msaitoh Exp $ */
+/* $NetBSD: ixgbe_type.h,v 1.27 2017/09/14 09:25:58 msaitoh Exp $ */
 
 /**
 
@@ -3799,6 +3799,11 @@ struct ixgbe_fc_info {
 /* Statistics counters collected by the MAC */
 struct ixgbe_hw_stats {
 	char namebuf[32];
+	struct evcnt ipcs;
+	struct evcnt ipcs_bad;
+	struct evcnt l4cs;
+	struct evcnt l4cs_bad;
+
 	struct evcnt crcerrs;
 	struct evcnt illerrc;
 	struct evcnt errbc;
@@ -3878,10 +3883,6 @@ struct ixgbe_hw_stats {
 	struct evcnt o2bspc;
 	struct evcnt legint;	/* legacy interrupts */
 	struct evcnt intzero;	/* no legacy interrupt conditions */
-	struct evcnt ipcs;
-	struct evcnt ipcs_bad;
-	struct evcnt l4cs;
-	struct evcnt l4cs_bad;
 };
 
 /* forward declaration */

Index: src/sys/dev/pci/ixgbe/ixgbe_vf.h
diff -u src/sys/dev/pci/ixgbe/ixgbe_vf.h:1.9 src/sys/dev/pci/ixgbe/ixgbe_vf.h:1.10
--- src/sys/dev/pci/ixgbe/ixgbe_vf.h:1.9	Wed Aug 30 08:49:18 2017
+++ src/sys/dev/pci/ixgbe/ixgbe_vf.h	Thu Sep 14 09:25:58 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_vf.h,v 1.9 2017/08/30 08:49:18 msaitoh Exp $ */
+/* $NetBSD: ixgbe_vf.h,v 1.10 2017/09/14 09:25:58 msaitoh Exp $ */
 
 /**
 
@@ -93,6 +93,11 @@
 
 struct ixgbevf_hw_stats {
 	char namebuf[32];
+	struct evcnt ipcs;
+	struct evcnt ipcs_bad;
+	struct evcnt l4cs;
+	struct evcnt l4cs_bad;
+
 	u64 base_vfgprc;
 	u64 base_vfgptc;
 	u64 base_vfgorc;
@@ -116,11 +121,6 @@ struct ixgbevf_hw_stats {
 	u64 saved_reset_vfgorc;
 	u64 saved_reset_vfgotc;
 	u64 saved_reset_vfmprc;
-
-	struct evcnt ipcs;
-	struct evcnt ipcs_bad;
-	struct evcnt l4cs;
-	struct evcnt l4cs_bad;
 };
 
 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw);



CVS commit: src/sys/dev/pci/ixgbe

2017-09-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Sep 14 09:25:58 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_type.h ixgbe_vf.h

Log Message:
 Quick hack to fix ixv(4)'s hardware counter. ixgbe_rx_checksum() passes
"struct ixgbe_hw_stats *" even if its a virtual function. The layout between
ixgbe_hw_stats and ixgbevf_hw_stats are different, so ixgbe_rx_checksum()
wrote wrong area if a device is a virtual function. To fix this problem with
small change, move the location of ipcs, ipcs_bad, l4cs and l4cs_bad of
struct ixgbe(vf)_hw_stats to the same location at the biggining of the struct.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/ixgbe/ixgbe_type.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_vf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2017-09-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Sep 14 08:52:41 UTC 2017

Modified Files:
src/share/man/man4: options.4

Log Message:
Remove reference to removed iso(4).


To generate a diff of this commit:
cvs rdiff -u -r1.474 -r1.475 src/share/man/man4/options.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/options.4
diff -u src/share/man/man4/options.4:1.474 src/share/man/man4/options.4:1.475
--- src/share/man/man4/options.4:1.474	Wed Sep 13 22:24:42 2017
+++ src/share/man/man4/options.4	Thu Sep 14 08:52:41 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: options.4,v 1.474 2017/09/13 22:24:42 sevan Exp $
+.\"	$NetBSD: options.4,v 1.475 2017/09/14 08:52:41 wiz Exp $
 .\"
 .\" Copyright (c) 1996
 .\" 	Perry E. Metzger.  All rights reserved.
@@ -2740,7 +2740,6 @@ bolded
 .Xr apm 4 ,
 .Xr ddb 4 ,
 .Xr inet 4 ,
-.Xr iso 4 ,
 .Xr md 4 ,
 .Xr pcibios 4 ,
 .Xr pcmcia 4 ,



CVS commit: src/share/man/man4

2017-09-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Sep 14 08:52:41 UTC 2017

Modified Files:
src/share/man/man4: options.4

Log Message:
Remove reference to removed iso(4).


To generate a diff of this commit:
cvs rdiff -u -r1.474 -r1.475 src/share/man/man4/options.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2017-09-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Sep 14 07:58:44 UTC 2017

Modified Files:
src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS NC
src/sys/arch/algor/conf: P4032 P5064 P6032
src/sys/arch/alpha/conf: GENERIC INSTALL RAWHIDE
src/sys/arch/amd64/conf: ALL GENERIC MODULAR XEN3_DOM0 XEN3_DOMU
src/sys/arch/amiga/conf: DRACO GENERIC GENERIC.in INSTALL
src/sys/arch/amigappc/conf: GENERIC NULL
src/sys/arch/arc/conf: ARCTIC GENERIC M403 MIMORI PICA RPC44
src/sys/arch/atari/conf: ATARITT FALCON GENERIC.in HADES MILAN-ISAIDE
MILAN-PCIIDE SMALL030
src/sys/arch/bebox/conf: GENERIC INSTALL
src/sys/arch/cats/conf: GENERIC INSTALL
src/sys/arch/cesfic/conf: GENERIC
src/sys/arch/cobalt/conf: GENERIC INSTALL
src/sys/arch/dreamcast/conf: G1IDE GENERIC
src/sys/arch/emips/conf: GENERIC
src/sys/arch/epoc32/conf: GENERIC
src/sys/arch/evbarm/conf: ADI_BRH ARMADAXP ARMADILLO-IOT-G3
ARMADILLO210 ARMADILLO9 BCM5301X BCM56340 BEAGLEBOARD BEAGLEBOARDXM
CP3100 CUBOX CUBOX-I DUOVERO GEMINI GEMINI_MASTER GEMINI_SLAVE
GENERIC.common GOLDENGATE GUMSTIX HAWK HDL_G HPT5325 IGEPV2
IMX23_OLINUXINO IMX31LITE IMX6UL-STARTER INTEGRATOR INTEGRATOR_CP
IQ31244 IQ80310 IQ80321 IXDP425 IXM1200 LUBBOCK MARVELL_NAS
MINI2440 MMNET_GENERIC MPCSA_GENERIC MV2120 N900 NAPPI NITROGEN6X
NSLU2 OMAP5EVM OPENBLOCKS_A6 OPENBLOCKS_AX3 OSK5912 OVERO
PANDABOARD PEPPER SHEEVAPLUG SMDK2410 SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TISDP2420 TISDP2430 TS7200 TWINTAIL VIPER VTC100
ZAO425
src/sys/arch/evbarm64/conf: A64EMUL
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB ALCHEMY AP30
CI20 CPMBR1400 DB120 ERLITE GDIUM LINKITSMART7688 LOONGSON MALTA
MERAKI RB433UAH SBMIPS WGT624V3 XLSATX ZYXELKX
src/sys/arch/evbppc/conf: EV64260 EXPLORA451 MPC8536DS MPC8548CDS
OPENBLOCKS200 OPENBLOCKS266 OPENBLOCKS600 P2020DS P2020RDB PMPPC
RB800 RB850GX2 TWRP1025 VIRTEX_DFC VIRTEX_GSRD1 VIRTEX_GSRD2 WALNUT
src/sys/arch/evbsh3/conf: AP_MS104_SH4 COMPUTEX7750 COMPUTEXEVB
CQREEKSH3 KZSH401 T_SH7706LAN T_SH7706LSR
src/sys/arch/ews4800mips/conf: GENERIC RAMDISK
src/sys/arch/hp300/conf: GENERIC INSTALL
src/sys/arch/hpcarm/conf: IPAQ JORNADA720 JORNADA820 NETBOOKPRO WZERO3
src/sys/arch/hpcmips/conf: GENERIC LROUTER MPC303 TX3912 TX3922 VR41XX
src/sys/arch/hpcsh/conf: GENERIC
src/sys/arch/hppa/conf: GENERIC
src/sys/arch/i386/conf: ALL GENERIC GENERIC_TINY INSTALL_FLOPPY
INSTALL_TINY NET4501 XEN3_DOM0 XEN3_DOMU
src/sys/arch/ibmnws/conf: GENERIC
src/sys/arch/iyonix/conf: GENERIC
src/sys/arch/landisk/conf: GENERIC
src/sys/arch/luna68k/conf: GENERIC INSTALL
src/sys/arch/mac68k/conf: GENERIC INSTALL SMALLRAM
src/sys/arch/macppc/conf: GENERIC GENERIC_601 INSTALL MAMBO POWERMAC
POWERMAC_G5 POWERMAC_G5_11_2
src/sys/arch/mipsco/conf: GENERIC INSTALL RC3230
src/sys/arch/mmeye/conf: GENERIC MMEYE MMEYE_WLF MMTA MMTAICE
MMTAROMNEW
src/sys/arch/mvme68k/conf: GENERIC VME147 VME162 VME167 VME172 VME177
src/sys/arch/netwinder/conf: GENERIC
src/sys/arch/news68k/conf: GENERIC GENERIC_TINY INSTALL LIBERO NEWS1200
src/sys/arch/newsmips/conf: DEJIKO GENERIC INSTALL WAPIKO
src/sys/arch/next68k/conf: GENERIC SLAB
src/sys/arch/ofppc/conf: GENERIC
src/sys/arch/pmax/conf: GENERIC GENERIC64
src/sys/arch/prep/conf: GENERIC INSTALL INSTALL_SMALL
src/sys/arch/riscv/conf: GENERIC
src/sys/arch/rs6000/conf: GENERIC
src/sys/arch/sandpoint/conf: ENCPP1 GENERIC SANDPOINT
src/sys/arch/sbmips/conf: GENERIC
src/sys/arch/sgimips/conf: GENERIC32_IP12 GENERIC32_IP2x GENERIC32_IP3x
GENERIC64_IP2x GENERIC64_IP3x
src/sys/arch/shark/conf: GENERIC INSTALL OFWGENCFG
src/sys/arch/sparc/conf: GENERIC INSTALL KRUPS MRCOFFEE TADPOLE3GX
src/sys/arch/sparc64/conf: GENERIC NONPLUS64
src/sys/arch/sun2/conf: DISKLESS FOURMEG GENERIC INSTALL RAMDISK VME
src/sys/arch/sun3/conf: DISKLESS DISKLESS3X GENERIC GENERIC3X INSTALL
INSTALL3X
src/sys/arch/usermode/conf: GENERIC.common
src/sys/arch/vax/conf: GENERIC INSTALL VAX780
src/sys/arch/x68k/conf: GENERIC INSTALL
src/sys/arch/zaurus/conf: GENERIC INSTALL
Added Files:
src/sys/conf: compat_netbsd.config compat_netbsd09.config
compat_netbsd10.config compat_netbsd11.config
compat_netbsd12.config compat_netbsd13.config
compat_netbsd14.config compat_netbsd15.config
compat_netbsd16.config compat_netbsd20.config