CVS commit: src/sys/net

2018-12-06 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Dec  7 05:09:39 UTC 2018

Modified Files:
src/sys/net: if_ipsec.c

Log Message:
ipsecif(4) support input drop packet counter.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/net/if_ipsec.c

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



CVS commit: src/lib/libc/arch/aarch64/softfloat

2018-12-06 Thread Tom Ivar Helbekkmo
Module Name:src
Committed By:   tih
Date:   Thu Dec  6 19:17:13 UTC 2018

Modified Files:
src/lib/libc/arch/aarch64/softfloat: softfloat.h

Log Message:
Summary: Align softfloat float128 with libgcc.

While libgcc adapts its float128 data structure to the endianness of
the architecture, the softfloat code in libc didn't.  With both of
them handling the same values, softfloat must follow the toolchain.

OK: riastradh


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/softfloat/softfloat.h

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



CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Dec  6 19:15:35 UTC 2018

Modified Files:
src/usr.bin/w: uptime.1 w.1

Log Message:
Document the source of load average figures.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/w/uptime.1
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/w/w.1

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



CVS commit: src/usr.bin/w

2018-12-06 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Dec  6 19:01:53 UTC 2018

Modified Files:
src/usr.bin/w: uptime.1

Log Message:
Add a statement about uptime's relation to w(1).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/w/uptime.1

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



CVS commit: src/sys/arch/aarch64/include

2018-12-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec  6 18:36:06 UTC 2018

Modified Files:
src/sys/arch/aarch64/include: param.h

Log Message:
Expose CACHE_LINE_SIZE (and COHERENCY_UNIT) so that fstat can work


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/include/param.h

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



CVS commit: src/sys/arch/x86/x86

2018-12-06 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Dec  6 17:44:28 UTC 2018

Modified Files:
src/sys/arch/x86/x86: svs.c

Log Message:
Simplify, use _pi instead of modulos, no real functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/svs.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/x86/include

2018-12-06 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Dec  6 17:26:18 UTC 2018

Modified Files:
src/sys/arch/x86/include: pmap.h

Log Message:
Fix inconsistency, these are indexes and not types, no real functional
change.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/x86/include/pmap.h

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



CVS commit: src/share/misc

2018-12-06 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Thu Dec  6 14:22:48 UTC 2018

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add BUAG, DCIM (2x), and SDP


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/share/misc/acronyms.comp

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



CVS commit: src/sys/kern

2018-12-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  6 13:51:43 UTC 2018

Modified Files:
src/sys/kern: kern_proc.c

Log Message:
Typo fix (Geoff Wing)


To generate a diff of this commit:
cvs rdiff -u -r1.222 -r1.223 src/sys/kern/kern_proc.c

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



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

2018-12-06 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  6 13:25:02 UTC 2018

Modified Files:
src/sys/dev/pci/ixgbe: if_sriov.c ixgbe.c ixgbe.h ixgbe_82599.c
ixgbe_api.c ixgbe_api.h ixgbe_features.h ixgbe_netbsd.c
ixgbe_netbsd.h ixgbe_phy.c ixgbe_type.h ixgbe_x550.c ixgbe_x550.h

Log Message:
 Apply FreeBSD ix-3.3.6.tar.gz's change to NetBSD. Tested on C3000 and X550-T1,
but not tested on Xeon D:
- Add firmware recovery mode for X550, X550A(Xeon D) and X550EM (C3000):
  - FreeBSD always set IXGBE_FEATURE_RECOVERY_MODE without checking the
NVM image version. We compare it against 2.0 to not to make new callout and
not to call extra atomic operations.
  - In some FreeBSD's sysctl functions, atomic_load_acq_int() is called
before a null pointer check. We call it after null pointer check.
  - Before calling atomic_load_acq_uint(), check adapter->feat_en flags
to save atomic operation call.
  - We don't check recovery_mode in ixgbe_set_sysctl_value() because this
function doesn't touch any hardware register.
  - NetBSD don't have FreeBSD's atomic_load_acq_int()-like function, so do it
with membar_sync(). Thanks riastradh@ for the advice.
- FreeBSD's ix-3.3.6 changed ixgbe_enable_aim from TRUE to FALSE, but we will
  keep it as TRUE because we have already fixed some bugs.
- Remove IXGBE_DEV_ID_82599_LS(0x154f) support again. I don't know why. This
  was added in ix-3.2.18.tar.gz(NetBSD: ixgbe_82599.c rev. 1.20) and removed in
  ix-3.3.6.tar.gz.
- On X550EMU, use ixgbe_identify_sfp_module_X550em() instead of
  ixgbe_identify_module_generic(). ixgbe_identify_sfp_module_X550em() has
  extra check (e.g. exclude 1G copper).
- if_sriov.c's change doesn't affect to NetBSD because we don't support
  SR-IOV PF function.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/ixgbe/if_sriov.c \
src/sys/dev/pci/ixgbe/ixgbe_x550.h
cvs rdiff -u -r1.168 -r1.169 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/ixgbe/ixgbe.h
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/ixgbe/ixgbe_82599.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/ixgbe/ixgbe_api.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/ixgbe/ixgbe_api.h \
src/sys/dev/pci/ixgbe/ixgbe_x550.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/ixgbe/ixgbe_features.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/ixgbe/ixgbe_netbsd.c \
src/sys/dev/pci/ixgbe/ixgbe_netbsd.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/ixgbe/ixgbe_phy.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/ixgbe/ixgbe_type.h

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec  6 10:00:40 UTC 2018

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c

Log Message:
We have component names as counted strings (cn_nameptr, cn_namelen) but
ZFS expects a null-terminated name.

Always create a copy with PNBUF_GET()/strlcpy()/PNBUF_PUT().

For LOOKUP use a small buffer on stack and allocate/free compomnent names
longer than 30 chars.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Dec  6 09:58:52 UTC 2018

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c

Log Message:
Add missing ZFS_OBJ_HOLD_ENTER() / ZFS_OBJ_HOLD_EXIT() to zfs_zget_cleaner().


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c

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