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

2017-01-27 Thread hiren panchasara
On 01/27/17 at 11:19P, Cy Schubert wrote: > Really? Just a copyright notice? > > The reason I ask is because of this: > > ===> ae (all) > --- iflib.o --- > /export/home/cy/freebsd/svn/ip6-cksum/sys/net/iflib.c:1561:1: error: > function definition is not allowed here > { > Should these 2 lines

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

2017-01-27 Thread Cy Schubert
In message <201701280719.v0s7jnmf087...@slippy.cwsent.com>, Cy Schubert writes: > In message <201701272308.v0rn86fx040...@repo.freebsd.org>, Sean Bruno > writes: > > Author: sbruno > > Date: Fri Jan 27 23:08:06 2017 > > New Revision: 312905 > > URL:

svn commit: r312916 - in head/sys: net sys

2017-01-27 Thread Dexuan Cui
Author: dexuan Date: Sat Jan 28 07:26:42 2017 New Revision: 312916 URL: https://svnweb.freebsd.org/changeset/base/312916 Log: ifnet: move the new ifnet_event EVENTHANDLER_DECLARE to net/if_var.h Thank glebius for pointing this out: "The network stuff shall not be added to

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

2017-01-27 Thread Cy Schubert
In message <201701272308.v0rn86fx040...@repo.freebsd.org>, Sean Bruno writes: > Author: sbruno > Date: Fri Jan 27 23:08:06 2017 > New Revision: 312905 > URL: https://svnweb.freebsd.org/changeset/base/312905 > > Log: > IFLIB updates: > We found routing performance dropped significantly when

svn commit: r312915 - head/sys/modules/dtb/am335x

2017-01-27 Thread Warner Losh
Author: imp Date: Sat Jan 28 05:07:55 2017 New Revision: 312915 URL: https://svnweb.freebsd.org/changeset/base/312915 Log: Switch to Linux / device tree upstream names. U-boot uses these by default, and the fewer changes relative to the upstream u-boot the better. Add compatibility links

svn commit: r312914 - head/sys/conf

2017-01-27 Thread Warner Losh
Author: imp Date: Sat Jan 28 05:07:53 2017 New Revision: 312914 URL: https://svnweb.freebsd.org/changeset/base/312914 Log: Honor LINKS=x y in dtb modules. We need this for compatibility links for old, FreeBSD names. Modified: head/sys/conf/dtb.mk Modified: head/sys/conf/dtb.mk

svn commit: r312913 - head/tests/sys/aio

2017-01-27 Thread Alan Somers
Author: asomers Date: Sat Jan 28 04:33:51 2017 New Revision: 312913 URL: https://svnweb.freebsd.org/changeset/base/312913 Log: Improve the aio tests * Add tests for aio_suspend(2). * Add tests for polled completion notification. * Test the full matrix of file descriptor types and

svn commit: r312912 - head/sys/i386/isa

2017-01-27 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Jan 28 03:53:53 2017 New Revision: 312912 URL: https://svnweb.freebsd.org/changeset/base/312912 Log: Garbage collect the FPU_ERROR_BROKEN option. It is for pc98 only. Modified: head/sys/i386/isa/npx.c Modified: head/sys/i386/isa/npx.c

Re: svn commit: r312910 - in head: . etc/etc.pc98 etc/rc.d lib/libsysdecode libexec release release/doc release/doc/en_US.ISO8859-1/hardware release/doc/en_US.ISO8859-1/readme release/doc/share/exampl

2017-01-27 Thread Ed Maste
On 27 January 2017 at 21:22, Takahashi Yoshihiro wrote: > Author: nyan > Date: Sat Jan 28 02:22:15 2017 > New Revision: 312910 > URL: https://svnweb.freebsd.org/changeset/base/312910 > > Log: > Remove pc98 support completely. > I thank all developers and contributors for

svn commit: r312911 - head/share/man/man5

2017-01-27 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Jan 28 02:25:33 2017 New Revision: 312911 URL: https://svnweb.freebsd.org/changeset/base/312911 Log: Regen after r312910. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r312910 - in head: . etc/etc.pc98 etc/rc.d lib/libsysdecode libexec release release/doc release/doc/en_US.ISO8859-1/hardware release/doc/en_US.ISO8859-1/readme release/doc/share/example...

2017-01-27 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Jan 28 02:22:15 2017 New Revision: 312910 URL: https://svnweb.freebsd.org/changeset/base/312910 Log: Remove pc98 support completely. I thank all developers and contributors for pc98. Relnotes: yes Deleted: head/etc/etc.pc98/ head/libexec/Makefile.pc98

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

2017-01-27 Thread Sean Bruno
Author: sbruno Date: Sat Jan 28 00:40:36 2017 New Revision: 312909 URL: https://svnweb.freebsd.org/changeset/base/312909 Log: Add iflib man pages for developers. Doc review is probably waranted here for editing. Submitted by: Nicole Graziano Added: head/share/man/man9/iflibdd.9

svn commit: r312908 - head/sys/mips/conf

2017-01-27 Thread Ed Maste
Author: emaste Date: Sat Jan 28 00:00:10 2017 New Revision: 312908 URL: https://svnweb.freebsd.org/changeset/base/312908 Log: ERL: set -march=octeon+ for use with external toolchain Upstream GCC and devel/mips64-gcc use "octeon+" as the CPU setting for the Octeon processor in the

svn commit: r312907 - head/sys/netinet

2017-01-27 Thread Hiren Panchasara
Author: hiren Date: Fri Jan 27 23:10:46 2017 New Revision: 312907 URL: https://svnweb.freebsd.org/changeset/base/312907 Log: Add a knob to change default behavior of inheriting listen socket's tcp stack regardless of what the default stack for the system is set to. With current/default

svn commit: r312905 - head/sys/net

2017-01-27 Thread Sean Bruno
Author: sbruno Date: Fri Jan 27 23:08:06 2017 New Revision: 312905 URL: https://svnweb.freebsd.org/changeset/base/312905 Log: IFLIB updates: We found routing performance dropped significantly when configuring FreeBSD as a router, we are applying the following changes in order to resolve

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

2017-01-27 Thread John Baldwin
Author: jhb Date: Fri Jan 27 23:08:30 2017 New Revision: 312906 URL: https://svnweb.freebsd.org/changeset/base/312906 Log: Unregister CPL handlers for TOE-related messages when unloading TOM. MFC after:1 week Sponsored by: Chelsio Communications Modified:

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

2017-01-27 Thread John Baldwin
Author: jhb Date: Fri Jan 27 23:03:28 2017 New Revision: 312904 URL: https://svnweb.freebsd.org/changeset/base/312904 Log: Don't drop a reference to the TOE PCB in undo_offload_socket(). undo_offload_socket() is only called by t4_connect() during a connection setup failure, but

svn commit: r312903 - head/sys/net

2017-01-27 Thread Sean Bruno
Author: sbruno Date: Fri Jan 27 22:30:27 2017 New Revision: 312903 URL: https://svnweb.freebsd.org/changeset/base/312903 Log: Replace customized busmaster code with standardized setup call. Reported by: jhb Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

svn commit: r312902 - head/sys/kern

2017-01-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 27 22:14:42 2017 New Revision: 312902 URL: https://svnweb.freebsd.org/changeset/base/312902 Log: hwpmc: annotate pmc_hook and pmc_intr as __read_mostly MFC after:1 month Modified: head/sys/kern/kern_pmc.c Modified: head/sys/kern/kern_pmc.c

svn commit: r312901 - head/sys/kern

2017-01-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 27 22:13:15 2017 New Revision: 312901 URL: https://svnweb.freebsd.org/changeset/base/312901 Log: hwpmc: partially depessimize mmap handling if the module is not loaded In particular this means the pmc sx lock is no longer taken when an executable mapping

svn commit: r312900 - head/sys/cam

2017-01-27 Thread Scott Long
Author: scottl Date: Fri Jan 27 21:55:47 2017 New Revision: 312900 URL: https://svnweb.freebsd.org/changeset/base/312900 Log: Squash a couple of uses of xpt_print_path() Sponsored by: Netflix Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

Re: svn commit: r312857 - head

2017-01-27 Thread John Baldwin
On Friday, January 27, 2017 03:36:01 PM Ed Maste wrote: > On 27 January 2017 at 14:38, John Baldwin wrote: > > > > Which external toolchain? Building with GCC 6 and binutils from ports > > worked > > fine for me? > > This was using the mips64-xtoolchain-gcc package and >

svn commit: r312899 - in head/contrib: binutils/gas/config gcc/config/mips

2017-01-27 Thread Ed Maste
Author: emaste Date: Fri Jan 27 21:31:32 2017 New Revision: 312899 URL: https://svnweb.freebsd.org/changeset/base/312899 Log: add octeon+ as an alias for octeon in GCC & binutils In r208737 jmallett@ added support for the "mips64r2" architecture and "octeon" CPU, and the saa/saad

svn commit: r312897 - head/tools/build/mk

2017-01-27 Thread Ed Maste
Author: emaste Date: Fri Jan 27 21:18:23 2017 New Revision: 312897 URL: https://svnweb.freebsd.org/changeset/base/312897 Log: Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC An additional case missed in r312855 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

Re: svn commit: r312857 - head

2017-01-27 Thread Ed Maste
On 27 January 2017 at 14:38, John Baldwin wrote: > > Which external toolchain? Building with GCC 6 and binutils from ports worked > fine for me? This was using the mips64-xtoolchain-gcc package and CROSS_TOOLCHAIN=mips64-gcc. It appears that it picked up the host's nm while

Re: svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-27 Thread Gleb Smirnoff
On Fri, Jan 27, 2017 at 05:34:45PM +1100, Bruce Evans wrote: B> > On Thu, Jan 26, 2017 at 02:03:05PM +1100, Bruce Evans wrote: B> > B> On Thu, 26 Jan 2017, Konstantin Belousov wrote: B> > B> B> > B> > On Wed, Jan 25, 2017 at 02:20:06PM -0800, Gleb Smirnoff wrote: B> > B> >> Thanks, Luiz! B> > B>

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

2017-01-27 Thread John Baldwin
On Wednesday, January 25, 2017 02:37:05 PM Sean Bruno wrote: > Author: sbruno > Date: Wed Jan 25 14:37:05 2017 > New Revision: 312755 > URL: https://svnweb.freebsd.org/changeset/base/312755 > > Log: > Add error checking to the pci_find_cap(, PCIY_MSIX,) call that is returns > success and a

Re: svn commit: r312857 - head

2017-01-27 Thread John Baldwin
On Friday, January 27, 2017 03:43:18 AM Ed Maste wrote: > Author: emaste > Date: Fri Jan 27 03:43:18 2017 > New Revision: 312857 > URL: https://svnweb.freebsd.org/changeset/base/312857 > > Log: > Use cross-NM (XNM) in compat32 build > > An attempt to build mips64 using external toolchain

svn commit: r312893 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2017-01-27 Thread Mark Johnston
Author: markj Date: Fri Jan 27 17:58:41 2017 New Revision: 312893 URL: https://svnweb.freebsd.org/changeset/base/312893 Log: Fix an off-by-one in an assertion on fasttrap tracepoint sizes. FASTTRAP_MAX_INSTR_SIZE is the largest valid value of a tracepoint, so correct the assertion

svn commit: r312890 - head/sys/kern

2017-01-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 27 15:03:51 2017 New Revision: 312890 URL: https://svnweb.freebsd.org/changeset/base/312890 Log: Sprinkle __read_mostly on backoff and lock profiling code. MFC after:1 month Modified: head/sys/kern/kern_lockstat.c head/sys/kern/kern_mutex.c

svn commit: r312889 - head/sys/kern

2017-01-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 27 14:56:36 2017 New Revision: 312889 URL: https://svnweb.freebsd.org/changeset/base/312889 Log: cache: annotate with __read_mostly and __exclusive_cache_line MFC after:1 month Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r312888 - in head/sys: compat/linuxkpi/common/include/linux conf dev/drm2 sys

2017-01-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 27 14:53:09 2017 New Revision: 312888 URL: https://svnweb.freebsd.org/changeset/base/312888 Log: Introduce __read_mostly and __exclusive_cache_line macros. The intended use is to annotate frequently used globals which either rarely change (and thus can be

svn commit: r312887 - head/sys/dev/acpi_support

2017-01-27 Thread Shunsuke Akiyama
Author: akiyama Date: Fri Jan 27 14:17:48 2017 New Revision: 312887 URL: https://svnweb.freebsd.org/changeset/base/312887 Log: Hide unneeded message under bootverbose. MFC after:1 week Modified: head/sys/dev/acpi_support/acpi_panasonic.c Modified:

svn commit: r312886 - head/sys/contrib/ipfilter/netinet

2017-01-27 Thread Cy Schubert
Author: cy Date: Fri Jan 27 14:12:34 2017 New Revision: 312886 URL: https://svnweb.freebsd.org/changeset/base/312886 Log: Fix lookup of original destination address when using a redirect rule. Transparent proxying, e.g. to squid, is an example of this. Obtained from:NetBSD

svn commit: r312885 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 11:59:02 2017 New Revision: 312885 URL: https://svnweb.freebsd.org/changeset/base/312885 Log: sfxge(4): compact the first hot part of RxQ control buf_base_id is used on RxQ control operations only and not used on datapath. Sponsored by: Solarflare

svn commit: r312884 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 11:57:19 2017 New Revision: 312884 URL: https://svnweb.freebsd.org/changeset/base/312884 Log: sfxge(4): fix RxQ structure layout vs usage on datapath Recent changes in the pseudo header accessor prototypes start to use common code RxQ handle on datapath.

svn commit: r312883 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 11:56:18 2017 New Revision: 312883 URL: https://svnweb.freebsd.org/changeset/base/312883 Log: sfxge(4): fix invalid VLAN tagging after stop/start TxQ is destroyed on stop and last used tag should be reset to default 0 on the next start. Reviewed by:

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

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 11:46:55 2017 New Revision: 312882 URL: https://svnweb.freebsd.org/changeset/base/312882 Log: Use the busdma API to allocate all DMA-able memory. The MLX5 driver has four different types of DMA allocations which are now allocated using busdma: 1)

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

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 11:29:33 2017 New Revision: 312881 URL: https://svnweb.freebsd.org/changeset/base/312881 Log: Add support for device surprise removal and other PCI errors. - When device disappears from PCI indicate error device state and: 1) Trigger command completion

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

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 11:19:06 2017 New Revision: 312880 URL: https://svnweb.freebsd.org/changeset/base/312880 Log: Wait for all VFs pages to be reclaimed before closing EQ pages. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r312879 - head/sys/dev/mlx5/mlx5_core

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 11:03:58 2017 New Revision: 312879 URL: https://svnweb.freebsd.org/changeset/base/312879 Log: Rename struct fw_page into struct mlx5_fw_page as a preparation step for adding busdma support. MFC after:1 week Sponsored by: Mellanox

Re: svn commit: r312743 - head/sys/dev/cesa

2017-01-27 Thread Michal Meloun
This breaks DB-88F6XXX kernel with: --- cesa.o --- ... /usr2/Meloun/git/tegra/sys/dev/cesa/cesa.c:960:57: error: use of undeclared identifier 'CESA_SA_CMD_SHA2' CESA_REG_WRITE(sc, CESA_SA_CMD, CESA_SA_CMD_ACTVATE | CESA_SA_CMD_SHA2);

svn commit: r312878 - head/sys/dev/mlx5/mlx5_core

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 10:56:03 2017 New Revision: 312878 URL: https://svnweb.freebsd.org/changeset/base/312878 Log: Fix command completion with callback scenario. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r312877 - head/sys/dev/mlx5/mlx5_core

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 10:47:53 2017 New Revision: 312877 URL: https://svnweb.freebsd.org/changeset/base/312877 Log: Minor code refactor as a preparation step for suprise removal of CX-4 PCI device(s), changes: - alloc_entry() now clears bit for page slot entry aswell - update

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

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 10:36:49 2017 New Revision: 312876 URL: https://svnweb.freebsd.org/changeset/base/312876 Log: Use ffs() to scan for first bit instead of using a for() loop. Minor code refactor while at it. MFC after:1 week Sponsored by: Mellanox

svn commit: r312875 - head/sys/dev/mlx5

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 10:20:38 2017 New Revision: 312875 URL: https://svnweb.freebsd.org/changeset/base/312875 Log: Make fw_pages statistics counter 64-bit to avoid overflow. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r312872 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 10:03:50 2017 New Revision: 312872 URL: https://svnweb.freebsd.org/changeset/base/312872 Log: Add support for reading advanced diagnostic counters. By default reading the diagnostic counters is disabled. The firmware decides which counters are supported

svn commit: r312868 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 08:54:33 2017 New Revision: 312868 URL: https://svnweb.freebsd.org/changeset/base/312868 Log: sfxge(4): cleanup: remove unused soft context struct member rxq_cache Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified:

svn commit: r312867 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 08:53:11 2017 New Revision: 312867 URL: https://svnweb.freebsd.org/changeset/base/312867 Log: sfxge(4): cleanup: remvoe trailing tab Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/sfxge_rx.c

svn commit: r312866 - head/sys/dev/sfxge

2017-01-27 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 27 08:51:48 2017 New Revision: 312866 URL: https://svnweb.freebsd.org/changeset/base/312866 Log: sfxge(4): cleanup: remove unused txq_index TxQ control structure member Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified:

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

2017-01-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 27 08:32:50 2017 New Revision: 312865 URL: https://svnweb.freebsd.org/changeset/base/312865 Log: Enforce reading the consumer and producer counters once to ensure consistent return values from the mlx5e_sq_has_room_for() function. The two counters are

svn commit: r312864 - head/sys/cam

2017-01-27 Thread Warner Losh
Author: imp Date: Fri Jan 27 08:30:43 2017 New Revision: 312864 URL: https://svnweb.freebsd.org/changeset/base/312864 Log: Remove nested #ifdef that can't possibly be false. Modified: head/sys/cam/cam_iosched.c Modified: head/sys/cam/cam_iosched.c