Re: svn commit: r323942 - head/sys/net

2017-09-22 Thread Bjoern A. Zeeb
On 23 Sep 2017, at 1:35, Stephen Hurd wrote: > Author: shurd > Date: Sat Sep 23 01:35:14 2017 > New Revision: 323942 > URL: https://svnweb.freebsd.org/changeset/base/323942 > > Log: > Chain mbufs before passing to if_input() > > Build a list of mbufs to pass to if_input() after LRO. Results

svn commit: r323944 - in head/sys: kern sys

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:39:16 2017 New Revision: 323944 URL: https://svnweb.freebsd.org/changeset/base/323944 Log: Make struct grouptask gt_name member a char array Previously, it was just a pointer which was copied, but some callers pass in a stack variable which will go out

svn commit: r323943 - head/sys/net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:37:01 2017 New Revision: 323943 URL: https://svnweb.freebsd.org/changeset/base/323943 Log: Make the rx budget a tunable This allows tuning the rx budget for special load profiles as well as more easily testing to determine sane defaults. Reviewed

svn commit: r323942 - head/sys/net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:35:14 2017 New Revision: 323942 URL: https://svnweb.freebsd.org/changeset/base/323942 Log: Chain mbufs before passing to if_input() Build a list of mbufs to pass to if_input() after LRO. Results in 12% small packet forwarding rate improvement.

svn commit: r323941 - in head/sys: dev/e1000 net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:33:20 2017 New Revision: 323941 URL: https://svnweb.freebsd.org/changeset/base/323941 Log: Some small packet performance improvements If the packet is smaller than MTU, disable the TSO flags. Move TCP header parsing inside the IS_TSO?() test. Add a new

svn commit: r323935 - head/sys/kern

2017-09-22 Thread Conrad Meyer
Author: cem Date: Fri Sep 22 20:01:12 2017 New Revision: 323935 URL: https://svnweb.freebsd.org/changeset/base/323935 Log: ddb(4): Add 'show badstacks' command to show witness badstacks Add a DDB command that mirrors sysctl debug.witness.badstacks. Reported by: rstone Reviewed by:

svn commit: r323934 - in head/sys/arm: arm include

2017-09-22 Thread John Baldwin
Author: jhb Date: Fri Sep 22 17:58:57 2017 New Revision: 323934 URL: https://svnweb.freebsd.org/changeset/base/323934 Log: Detect NEON and set HWCAP_NEON if present. Reviewed by: andrew, ian MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D12389

svn commit: r323933 - head/sys/arm/include

2017-09-22 Thread John Baldwin
Author: jhb Date: Fri Sep 22 17:57:38 2017 New Revision: 323933 URL: https://svnweb.freebsd.org/changeset/base/323933 Log: Correct HWCAP_VFP3* values to match Linux. Reviewed by: andrew, ian MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D12388

svn commit: r323932 - head/sys/ufs/ffs

2017-09-22 Thread Konstantin Belousov
Author: kib Date: Fri Sep 22 16:42:41 2017 New Revision: 323932 URL: https://svnweb.freebsd.org/changeset/base/323932 Log: Fix 32bit build. Reported by: emaste Sponsored by: The FreeBSD Foundation Modified: head/sys/ufs/ffs/ffs_alloc.c Modified: head/sys/ufs/ffs/ffs_alloc.c

Re: svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Conrad Meyer
On Fri, Sep 22, 2017 at 5:45 AM, Kirk McKusick wrote: > Author: mckusick > Date: Fri Sep 22 12:45:15 2017 > New Revision: 323923 > URL: https://svnweb.freebsd.org/changeset/base/323923 > > Log: > Continuing efforts to provide hardening of FFS, this change adds a > check

svn commit: r323924 - head/release/tools

2017-09-22 Thread Glen Barber
Author: gjb Date: Fri Sep 22 14:34:27 2017 New Revision: 323924 URL: https://svnweb.freebsd.org/changeset/base/323924 Log: Revert r323812 from release/tools/arm.subr, which has broken the build on arm/armv6 images. Pointyhat:gjb (myself) MFC after:immediate MFC note:

Re: svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Ed Maste
)On 22 September 2017 at 14:45, Kirk McKusick wrote: > Author: mckusick > Date: Fri Sep 22 12:45:15 2017 > New Revision: 323923 > URL: https://svnweb.freebsd.org/changeset/base/323923 > > Log: > Continuing efforts to provide hardening of FFS, this change adds a i386 and

Re: svn commit: r323393 - in head/sys: sys vm

2017-09-22 Thread Mateusz Guzik
On Thu, Sep 14, 2017 at 12:32 AM, Gleb Smirnoff wrote: > On Mon, Sep 11, 2017 at 09:30:10AM +0200, Mateusz Guzik wrote: > M> First, there is a bunch of counter(9) fields. I don't know the original > M> reasoning. I would expect these counters to be statically defined in a >

svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Kirk McKusick
Author: mckusick Date: Fri Sep 22 12:45:15 2017 New Revision: 323923 URL: https://svnweb.freebsd.org/changeset/base/323923 Log: Continuing efforts to provide hardening of FFS, this change adds a check hash to cylinder groups. If a check hash fails when a cylinder group is read, no further

svn commit: r323922 - in head/sys/dev: mpr mps

2017-09-22 Thread Scott Long
Author: scottl Date: Fri Sep 22 12:07:03 2017 New Revision: 323922 URL: https://svnweb.freebsd.org/changeset/base/323922 Log: Clean up error messages related to device discovery Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas_lsi.c head/sys/dev/mps/mps_sas_lsi.c Modified:

svn commit: r323918 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:27:27 2017 New Revision: 323918 URL: https://svnweb.freebsd.org/changeset/base/323918 Log: MFV r323917: 8648 Fix range locking in ZIL commit codepath illumos/illumos-gate@42b14111721da2ebd5159e7b45012a3eb0e3384c

svn commit: r323916 - head/sys/dev/usb

2017-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 22 08:21:35 2017 New Revision: 323916 URL: https://svnweb.freebsd.org/changeset/base/323916 Log: Extend sysctl description for hw.usb.disable_enumeration . PR: 222505 Submitted by: Julian H. Stacey MFC after:1 week

svn commit: r323915 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:21:14 2017 New Revision: 323915 URL: https://svnweb.freebsd.org/changeset/base/323915 Log: MFV r323914: 8661 remove "zil-cw2" dtrace probe illumos/illumos-gate@bd9d3f904625846bdc61af8897a1072029c7aeb7

svn commit: r323910 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2017-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 22 08:12:08 2017 New Revision: 323910 URL: https://svnweb.freebsd.org/changeset/base/323910 Log: Add support for 32-bit compatibility IOCTLs in the LinuxKPI. Bump the FreeBSD version to force recompilation of external kernel modules due to structure change.

svn commit: r323909 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:44:36 2017 New Revision: 323909 URL: https://svnweb.freebsd.org/changeset/base/323909 Log: libefi: define EISA PNP constants Define EISA PNP constants and use them, also fix ID for 0x701 Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323908 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:40:05 2017 New Revision: 323908 URL: https://svnweb.freebsd.org/changeset/base/323908 Log: libefi: efipart_hdinfo_add_filepath should check strtol result Use errno for error checking. Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323907 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:37:42 2017 New Revision: 323907 URL: https://svnweb.freebsd.org/changeset/base/323907 Log: libefi: efipart.c cstyle fix for efipart_print_common() The else statement should have { } Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323906 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:34:08 2017 New Revision: 323906 URL: https://svnweb.freebsd.org/changeset/base/323906 Log: libefi: efipart_strategy() should return ENXIO when there is no media We should return ENXIO to indicate the situation with device present, but no media.

svn commit: r323905 - in head/sys/boot/efi: include loader

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:29:26 2017 New Revision: 323905 URL: https://svnweb.freebsd.org/changeset/base/323905 Log: libefi: pdinfo_t pd_unit and pd_open should be unsigned The device index, partition index and reference counter are all positive numbers. However, since our

svn commit: r323904 - head/sys/netinet

2017-09-22 Thread Michael Tuexen
Author: tuexen Date: Fri Sep 22 06:33:01 2017 New Revision: 323904 URL: https://svnweb.freebsd.org/changeset/base/323904 Log: Add missing locking. Found by Coverity while scanning the usrsctp library. MFC after:1 week Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r323902 - head/sys/netinet

2017-09-22 Thread Michael Tuexen
Author: tuexen Date: Fri Sep 22 06:07:47 2017 New Revision: 323902 URL: https://svnweb.freebsd.org/changeset/base/323902 Log: Add missing socket lock. MFC after:1 week Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_pcb.c