svn commit: r338489 - head/sys/dev/mlx5/mlx5_en

2018-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 6 11:06:07 2018 New Revision: 338489 URL: https://svnweb.freebsd.org/changeset/base/338489 Log: Maximum number of mbuf frags is off-by-one for worst case scenario in mlx5en(4). Inspecting the PRM no more than 0x3F data segments, DS, of size 16 bytes is all

svn commit: r338490 - head/sys/dev/mlx5/mlx5_en

2018-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 6 12:19:36 2018 New Revision: 338490 URL: https://svnweb.freebsd.org/changeset/base/338490 Log: Don't stall transmit queue on drops in mlx5en(4). When a transmitted packet is dropped don't stall the transmit queue. MFC after:3 days Approved

svn commit: r338491 - head/sys/ofed/include/rdma

2018-09-06 Thread Slava Shwartsman
Author: slavash Date: Thu Sep 6 12:26:57 2018 New Revision: 338491 URL: https://svnweb.freebsd.org/changeset/base/338491 Log: ibcore: Fix endless loop in searching for matching VLAN device In r337943 ifnet's if_pcp was set to the PCP value in use instead of IFNET_PCP_NONE. Current ibco

svn commit: r338492 - head/sys/dev/mlx5/mlx5_en

2018-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 6 12:28:06 2018 New Revision: 338492 URL: https://svnweb.freebsd.org/changeset/base/338492 Log: Add support for receive side scaling stride, RSSS, in mlx5en(4). The receive side scaling stride parameter is a value which define the interval between active re

Re: svn commit: r324815 - in head: lib/libc/gen sys/sys

2018-09-06 Thread Michal Meloun
On 02.09.2018 18:44, Ian Lepore wrote: > On Sun, 2018-09-02 at 16:16 +0200, Jan Beich wrote: >> Michal Meloun writes: >> >>> >>> Author: mmel >>> Date: Sat Oct 21 12:06:18 2017 >>> New Revision: 324815 >>> URL: https://svnweb.freebsd.org/changeset/base/324815 >>> >>> Log: >>>   Make elf_aux_info

svn commit: r338493 - in head/sys/dev/mlx5: . mlx5_core

2018-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 6 12:41:09 2018 New Revision: 338493 URL: https://svnweb.freebsd.org/changeset/base/338493 Log: Make the MSIX module parameter limit per device, in mlx5en(4). MFC after:3 days Approved by: re (marius) Sponsored by: Mellanox Te

Re: svn commit: r337773 - in head/sys/amd64: amd64 include

2018-09-06 Thread Alexey Dokuchaev
On Wed, Aug 15, 2018 at 08:45:04AM +, Alexey Dokuchaev wrote: > On Tue, Aug 14, 2018 at 04:37:15PM +, Konstantin Belousov wrote: > > New Revision: 337773 > > URL: https://svnweb.freebsd.org/changeset/base/337773 > > > > Log: > > amd64: ensure that curproc->p_vmspace pmap always matches P

svn commit: r338495 - head/sys/contrib/rdma/krping

2018-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 6 14:03:11 2018 New Revision: 338495 URL: https://svnweb.freebsd.org/changeset/base/338495 Log: Add proper support for VIMAGE to krping. Make sure we pass the correct VNET when allocating the RDMA ID. MFC after:3 days Approved by:

svn commit: r338494 - head/sys/cam/ctl

2018-09-06 Thread Alexander Motin
Author: mav Date: Thu Sep 6 14:03:10 2018 New Revision: 338494 URL: https://svnweb.freebsd.org/changeset/base/338494 Log: Add missing copyin() to access LUN and port ioctl arguments. Somehow this was working even after PTI in, at least on amd64, and got broken by something only very rece

svn commit: r338496 - head/sys/netinet

2018-09-06 Thread Mark Johnston
Author: markj Date: Thu Sep 6 14:15:03 2018 New Revision: 338496 URL: https://svnweb.freebsd.org/changeset/base/338496 Log: Define sctp probes only when SCTP is configured. Otherwise the "depends_on provider" guard in sctp.d does not work as intended. Reported by: mjg Reviewed by

Re: svn commit: r338494 - head/sys/cam/ctl

2018-09-06 Thread Shawn Webb
On Thu, Sep 06, 2018 at 02:03:10PM +, Alexander Motin wrote: > Author: mav > Date: Thu Sep 6 14:03:10 2018 > New Revision: 338494 > URL: https://svnweb.freebsd.org/changeset/base/338494 > > Log: > Add missing copyin() to access LUN and port ioctl arguments. > > Somehow this was working

svn commit: r338497 - in head: etc usr.sbin/cron/cron

2018-09-06 Thread Brad Davis
Author: brd Date: Thu Sep 6 14:55:54 2018 New Revision: 338497 URL: https://svnweb.freebsd.org/changeset/base/338497 Log: Move etc/crontab to usr.sbin/cron/cron/ Approved by: re (gjb), will (mentor) Differential Revision:https://reviews.freebsd.org/D16786 Added: head/usr.sbin

Re: svn commit: r338494 - head/sys/cam/ctl

2018-09-06 Thread Shawn Webb
On Thu, Sep 06, 2018 at 08:24:32AM -0700, John Baldwin wrote: > On 9/6/18 7:54 AM, Shawn Webb wrote: > > On Thu, Sep 06, 2018 at 02:03:10PM +, Alexander Motin wrote: > >> Author: mav > >> Date: Thu Sep 6 14:03:10 2018 > >> New Revision: 338494 > >> URL: https://svnweb.freebsd.org/changeset/bas

Re: svn commit: r338494 - head/sys/cam/ctl

2018-09-06 Thread John Baldwin
On 9/6/18 7:54 AM, Shawn Webb wrote: > On Thu, Sep 06, 2018 at 02:03:10PM +, Alexander Motin wrote: >> Author: mav >> Date: Thu Sep 6 14:03:10 2018 >> New Revision: 338494 >> URL: https://svnweb.freebsd.org/changeset/base/338494 >> >> Log: >> Add missing copyin() to access LUN and port ioctl

svn commit: r338498 - head/sys/netinet

2018-09-06 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 6 16:11:24 2018 New Revision: 338498 URL: https://svnweb.freebsd.org/changeset/base/338498 Log: Make tcp_hpts.c compile a LINT kernel with options RSS and PCBGROUPS added by adding the missing include files and changing a the type of cpuid which would otherwise caus

svn commit: r338499 - head/sys/vm

2018-09-06 Thread Mark Johnston
Author: markj Date: Thu Sep 6 16:17:45 2018 New Revision: 338499 URL: https://svnweb.freebsd.org/changeset/base/338499 Log: Remove vm_page_remque(). Testing m->queue != PQ_NONE is not sufficient; see the commit log message for r338276. As of r332974 vm_page_dequeue() handles already-d

svn commit: r338500 - head/sys/powerpc/include

2018-09-06 Thread Breno Leitao
Author: leitao Date: Thu Sep 6 17:07:21 2018 New Revision: 338500 URL: https://svnweb.freebsd.org/changeset/base/338500 Log: powerpc64: Add initial support for HTM (kABI) This patch adds the very initial support for HTM that might come at FreeBSD version 12.1. This basic support defines

svn commit: r338501 - head/sys/arm/arm

2018-09-06 Thread Andrew Turner
Author: andrew Date: Thu Sep 6 17:25:01 2018 New Revision: 338501 URL: https://svnweb.freebsd.org/changeset/base/338501 Log: Remove the check that the Arm generic interrupt controller variant is non-zero. This is the case on qemu, so remove it to allow us to boot there. This change is neede

svn commit: r338502 - head/sys/arm/arm

2018-09-06 Thread Andrew Turner
Author: andrew Date: Thu Sep 6 17:25:50 2018 New Revision: 338502 URL: https://svnweb.freebsd.org/changeset/base/338502 Log: Fix the GIC ACPI cross reference value. To support INTRNG with ACPI we need to set a non-zero cross reference value for the interrupt controller. The GICv3 driver

svn commit: r338503 - head/usr.sbin/services_mkdb

2018-09-06 Thread David E. O'Brien
Author: obrien Date: Thu Sep 6 18:34:11 2018 New Revision: 338503 URL: https://svnweb.freebsd.org/changeset/base/338503 Log: Add MPLS LSP-echo (RFC8029, March 2017) port. Reviewed by: stevek Approved by: re(gjb) Obtained from:Juniper Networks Modified: head/usr.sbin/servic

svn commit: r338504 - head/share/man/man9

2018-09-06 Thread Ben Widawsky
Author: bwidawsk Date: Thu Sep 6 18:45:31 2018 New Revision: 338504 URL: https://svnweb.freebsd.org/changeset/base/338504 Log: Add device_attach and device_detach events to man page. Approved by: bcr, emaste (mentor), imp, jhb Approved by: re (gjb) Differential Revision:https

svn commit: r338505 - head/sys/net

2018-09-06 Thread Stephen Hurd
Author: shurd Date: Thu Sep 6 18:51:52 2018 New Revision: 338505 URL: https://svnweb.freebsd.org/changeset/base/338505 Log: Clean up iflib sysctls Remove sysctls: txq_drain_encapfail - now a duplicate of encap_txd_encap_fail intr_link - was never incremented intr_msix - was never inc

svn commit: r338506 - in head: . sys/mips/conf

2018-09-06 Thread John Baldwin
Author: jhb Date: Thu Sep 6 19:21:31 2018 New Revision: 338506 URL: https://svnweb.freebsd.org/changeset/base/338506 Log: Re-enable kernel modules for the MALTA64EL kernel configuration. Update the BOOTSTRAPPING check for libelf to require the fix for mips64el object files committed in r

svn commit: r338507 - in head/sys: sys vm

2018-09-06 Thread Mark Johnston
Author: markj Date: Thu Sep 6 19:28:52 2018 New Revision: 338507 URL: https://svnweb.freebsd.org/changeset/base/338507 Log: Avoid resource deadlocks when one domain has exhausted its memory. Attempt other allowed domains if the requested domain is below the minimum paging threshold. Block

svn commit: r338508 - head/sys/amd64/amd64

2018-09-06 Thread Mateusz Guzik
Author: mjg Date: Thu Sep 6 19:42:40 2018 New Revision: 338508 URL: https://svnweb.freebsd.org/changeset/base/338508 Log: amd64: depessimize copyinstr_smap The stac/clac combo around each byte copy is causing a measurable slowdown in benchmarks. Do it only before and after all data is

svn commit: r338509 - head/sys/netinet

2018-09-06 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 6 19:55:40 2018 New Revision: 338509 URL: https://svnweb.freebsd.org/changeset/base/338509 Log: The inp_lle field to struct inpcb, along with two "valid" flags for the rt and lle cache were added in r191129 (2009). To my best knowledge they have never been used and

svn commit: r338510 - head/sys/vm

2018-09-06 Thread Mark Johnston
Author: markj Date: Thu Sep 6 20:02:19 2018 New Revision: 338510 URL: https://svnweb.freebsd.org/changeset/base/338510 Log: Use the correct terminology. Reported by:kib Approved by: re (gjb) Differential revision: https://reviews.freebsd.org/D16191 Modified: head/sys/vm/vm_dom

svn commit: r338511 - head/lib/libvmmapi

2018-09-06 Thread John Baldwin
Author: jhb Date: Thu Sep 6 20:29:40 2018 New Revision: 338511 URL: https://svnweb.freebsd.org/changeset/base/338511 Log: bhyve: Use MAP_GUARD when mapping guest memory ranges. Instead of relying on PROT_NONE mappings with MAP_ANON, use MAP_GUARD to reserve address space around guest mem

svn commit: r338512 - head/sys/dev/sdhci

2018-09-06 Thread Marius Strobl
Author: marius Date: Thu Sep 6 21:09:54 2018 New Revision: 338512 URL: https://svnweb.freebsd.org/changeset/base/338512 Log: - Explicitly compare a pointer to NULL. The __builtin_expect() of clang 3.4.1 otherwise isn't able to cope with the expression. - Fix a nearby whitespace bug.

svn commit: r338513 - head/sys/dev/mmc

2018-09-06 Thread Marius Strobl
Author: marius Date: Thu Sep 6 21:24:14 2018 New Revision: 338513 URL: https://svnweb.freebsd.org/changeset/base/338513 Log: Avoid uninitialized read of ext_csd. Reported by:Coverity CID:1395275 Approved by: re (gjb, kib) Modified: head/sys/dev/mmc/mmc.c Modified:

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

2018-09-06 Thread Kirk McKusick
Author: mckusick Date: Thu Sep 6 23:28:35 2018 New Revision: 338517 URL: https://svnweb.freebsd.org/changeset/base/338517 Log: The Call For Testing had no reports of operational problems and found that performance was no worse and usually better when running with TRIM consolidation. Perform

svn commit: r338518 - head/sys/conf

2018-09-06 Thread Glen Barber
Author: gjb Date: Fri Sep 7 00:00:31 2018 New Revision: 338518 URL: https://svnweb.freebsd.org/changeset/base/338518 Log: Update head from ALPHA4 to ALPHA5 as part of the 12.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/new