svn commit: r349533 - in head/sys/dev/cxgbe: . tom

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:52:21 2019 New Revision: 349533 URL: https://svnweb.freebsd.org/changeset/base/349533 Log: Add support for IFCAP_NOMAP to cxgbe(4). Since cxgbe(4) uses sglist instead of bus_dma, this required updates to the code that generates scatter/gather lists for pack

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:53:07 2019 New Revision: 349534 URL: https://svnweb.freebsd.org/changeset/base/349534 Log: Add support for IFCAP_NOMAP to mlx5(4). Since mlx5 uses bus_dma, this only required adding the capability flag. Submitted by: gallatin Reviewed by: gallatin,

svn commit: r349532 - head/sys/net

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:51:38 2019 New Revision: 349532 URL: https://svnweb.freebsd.org/changeset/base/349532 Log: Support IFCAP_NOMAP in vlan(4). Enable IFCAP_NOMAP for a vlan interface if it is supported by the underlying trunk device. Reviewed by: gallatin, hselasky, rrs

svn commit: r349531 - head/sys/kern

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:50:25 2019 New Revision: 349531 URL: https://svnweb.freebsd.org/changeset/base/349531 Log: Compress pending socket buffer data once it is marked ready. Apply similar logic from sbcompress to pending data in the socket buffer once it is marked ready via sbre

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:49:35 2019 New Revision: 349530 URL: https://svnweb.freebsd.org/changeset/base/349530 Log: Add support for using unmapped mbufs with sendfile(2). This can be enabled at runtime via the kern.ipc.mb_use_ext_pgs sysctl. It is disabled by default. Submitte

svn commit: r349529 - in head: sbin/ifconfig share/man/man9 sys/conf sys/kern sys/net sys/netinet sys/netinet6 sys/sys

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:48:33 2019 New Revision: 349529 URL: https://svnweb.freebsd.org/changeset/base/349529 Log: Add an external mbuf buffer type that holds multiple unmapped pages. Unmapped mbufs allow sendfile to carry multiple pages of data in a single mbuf, without mapping t

Re: svn commit: r349482 - in head/contrib/elftoolchain: common readelf

2019-06-28 Thread Mitchell Horne
On Fri, Jun 28, 2019 at 12:45 PM John Baldwin wrote: > > On 6/27/19 5:10 PM, Mitchell Horne wrote: > > Author: mhorne > > Date: Fri Jun 28 00:10:26 2019 > > New Revision: 349482 > > URL: https://svnweb.freebsd.org/changeset/base/349482 > > > > Log: > > readelf: Add support for RISC-V specific e_

svn commit: r349526 - in head/sys: amd64/amd64 i386/i386

2019-06-28 Thread Alan Cox
Author: alc Date: Fri Jun 28 22:40:34 2019 New Revision: 349526 URL: https://svnweb.freebsd.org/changeset/base/349526 Log: When we protect PTEs (as opposed to PDEs), we only call vm_page_dirty() when, in fact, we are write protecting the page and the PTE has PG_M set. However, pmap_protect_p

svn commit: r349527 - in head/contrib/libarchive/libarchive: . test

2019-06-28 Thread Martin Matuska
Author: mm Date: Fri Jun 28 22:41:17 2019 New Revision: 349527 URL: https://svnweb.freebsd.org/changeset/base/349527 Log: MFV r349454: Sync libarchive with vendor. Relevant vendor changes: PR #1217: RAR5 reader - fix ARM filter going beyond window buffer boundary (OSS-Fu

svn commit: r349522 - head/sys/dev/pci

2019-06-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 28 22:28:51 2019 New Revision: 349522 URL: https://svnweb.freebsd.org/changeset/base/349522 Log: Need to apply the PCIM_BAR_MEM_BASE mask to the physical memory address before returning it to the user. Some of the least significant bits have special meaning and

svn commit: r349521 - head/sys/dev/etherswitch/e6000sw

2019-06-28 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 28 22:19:50 2019 New Revision: 349521 URL: https://svnweb.freebsd.org/changeset/base/349521 Log: Add the 802.1q support for the Marvell e6000 series of ethernet switches. Tested on:espressobin, Clearfog, SG-3100 and others Sponsored by: Rubicon Communication

svn commit: r349520 - in head: sbin/etherswitchcfg sys/dev/etherswitch

2019-06-28 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 28 22:12:43 2019 New Revision: 349520 URL: https://svnweb.freebsd.org/changeset/base/349520 Log: Add the 'drop tagged' flag support for ethernet switch ports. This is intended to drop all 802.1q tagged packets on a port. Sponsored by: Rubicon Communications,

svn commit: r349519 - head/sys/kern

2019-06-28 Thread Konstantin Belousov
Author: kib Date: Fri Jun 28 20:40:54 2019 New Revision: 349519 URL: https://svnweb.freebsd.org/changeset/base/349519 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c =

svn commit: r349517 - head/sys/dev/cxgbe/tom

2019-06-28 Thread Navdeep Parhar
Author: np Date: Fri Jun 28 19:57:42 2019 New Revision: 349517 URL: https://svnweb.freebsd.org/changeset/base/349517 Log: cxgbe/t4_tom: Tweaks to some of the AIO related CTRs. Reviewed by: jhb@ MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/to

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Fri Jun 28 19:49:47 2019 New Revision: 349516 URL: https://svnweb.freebsd.org/changeset/base/349516 Log: Sync mbuf flags, types, and external buffer types with . Sponsored by: Netflix Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9 ===

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Fri Jun 28 19:37:48 2019 New Revision: 349515 URL: https://svnweb.freebsd.org/changeset/base/349515 Log: Use a tab after #define for EXT_* constants. This matches other #define's in this manpage as well as . Sponsored by: Netflix Modified: head/share/man/man9/mbuf.

svn commit: r349514 - head/sys/dev/cxgbe/tom

2019-06-28 Thread Navdeep Parhar
Author: np Date: Fri Jun 28 19:27:45 2019 New Revision: 349514 URL: https://svnweb.freebsd.org/changeset/base/349514 Log: cxgbe/t4_tom: the AIO tx job queue must be empty by the time the driver releases the offload resources associated with the tid. Reviewed by: jhb@ MFC after:1 we

svn commit: r349512 - head/usr.bin/proccontrol

2019-06-28 Thread Konstantin Belousov
Author: kib Date: Fri Jun 28 18:03:13 2019 New Revision: 349512 URL: https://svnweb.freebsd.org/changeset/base/349512 Log: Mention proccontrol(1) -m kpti. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/usr.bin/proccontrol/proccontrol.1 Modified: head/usr.bin/

Re: svn commit: r349482 - in head/contrib/elftoolchain: common readelf

2019-06-28 Thread John Baldwin
On 6/27/19 5:10 PM, Mitchell Horne wrote: > Author: mhorne > Date: Fri Jun 28 00:10:26 2019 > New Revision: 349482 > URL: https://svnweb.freebsd.org/changeset/base/349482 > > Log: > readelf: Add support for RISC-V specific e_flags > > Reviewed by:markj > Approved by:markj

svn commit: r349511 - head/lib/libc/sys

2019-06-28 Thread Konstantin Belousov
Author: kib Date: Fri Jun 28 16:42:44 2019 New Revision: 349511 URL: https://svnweb.freebsd.org/changeset/base/349511 Log: Typo. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2 ==

svn commit: r349510 - head/contrib/elftoolchain/readelf

2019-06-28 Thread Leandro Lupori
Author: luporl Date: Fri Jun 28 16:00:55 2019 New Revision: 349510 URL: https://svnweb.freebsd.org/changeset/base/349510 Log: [PowerPC64] readelf: print description for 'e_flags' in ELF header (ABI type) This prints out description text with the meaning of 'Flags' value in PowerPC64.

svn commit: r349509 - head/contrib/file/magic/Magdir

2019-06-28 Thread Leandro Lupori
Author: luporl Date: Fri Jun 28 15:52:40 2019 New Revision: 349509 URL: https://svnweb.freebsd.org/changeset/base/349509 Log: [PowerPC64] Add ABI flags to 'file' magic The distinction between ELF header version and OpenPOWER ELF ABI version is confusing for most of people, so this adds te

svn commit: r349508 - head/share/mk

2019-06-28 Thread Leandro Lupori
Author: luporl Date: Fri Jun 28 15:49:14 2019 New Revision: 349508 URL: https://svnweb.freebsd.org/changeset/base/349508 Log: Fix missing powerpc64 in _LLVM_TARGET_FILT This change was originally in D20378. Making it in a new diff since it's a bugfix. Submitted by: alfredo.junior_eld

Re: svn commit: r349503 - head/contrib/ipfilter/man

2019-06-28 Thread Cy Schubert
In message <20190628202903.j1...@besplex.bde.org>, Bruce Evans writes: > On Fri, 28 Jun 2019, Cy Schubert wrote: > > > Log: > > Document the -B, binary logfile, and the -C config file options. > > Reference the ipmon.5 man page and ipmon.conf. > > > > PR:238816 > > MFC after: 1

Re: svn commit: r349503 - head/contrib/ipfilter/man

2019-06-28 Thread Bruce Evans
On Fri, 28 Jun 2019, Cy Schubert wrote: Log: Document the -B, binary logfile, and the -C config file options. Reference the ipmon.5 man page and ipmon.conf. PR:238816 MFC after: 1 week Modified: head/contrib/ipfilter/man/ipmon.8 Modified: head/contrib/ipfilter/man/ipmon.8

svn commit: r349507 - head/sys/net

2019-06-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 28 10:49:04 2019 New Revision: 349507 URL: https://svnweb.freebsd.org/changeset/base/349507 Log: Need to wait for epoch callbacks to complete before detaching a network interface. This particularly manifests itself when an INP has multicast options attache

svn commit: r349506 - in head: share/man/man9 sys/kern sys/sys

2019-06-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 28 10:38:56 2019 New Revision: 349506 URL: https://svnweb.freebsd.org/changeset/base/349506 Log: Implement API for draining EPOCH(9) callbacks. The epoch_drain_callbacks() function is used to drain all pending callbacks which have been invoked by prior epoch

Re: svn commit: r349459 - head/sys/sys

2019-06-28 Thread Bruce Evans
On Thu, 27 Jun 2019, Andriy Gapon wrote: On 27/06/2019 20:37, Bruce Evans wrote: On Thu, 27 Jun 2019, Andriy Gapon wrote: On 27/06/2019 18:47, Bruce Evans wrote: On Thu, 27 Jun 2019, Andriy Gapon wrote: Log: ??upgrade the warning printf-s in bus accessors to KASSERT-s ??After this change

Re: svn commit: r349231 - in head/sys: kern sys ufs/ufs

2019-06-28 Thread Conrad Meyer
To this end, __result_use_check can help ensure no unchecked callers are missed when panics are downgraded to errors. (In OneFS, the macro has the imo more memorable name “__must_check”. Cheers, Conrad On Thu, Jun 27, 2019 at 23:48 Scott Long wrote: > > > > On Jun 27, 2019, at 3:09 PM, Konstant