Re: svn commit: r235797 - head/contrib/gcc

2012-05-24 Thread Bruce Evans
On Wed, 23 May 2012, David O'Brien wrote: On Wed, May 23, 2012 at 01:49:45PM +0200, Dimitry Andric wrote: On 2012-05-22 20:18, David E. O'Brien wrote: Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. ... Until all the additional warnings this causes have

Re: svn commit: r235822 - in head: sys/dev/esp sys/gnu/fs/xfs/FreeBSD usr.sbin/ppp usr.sbin/rpc.lockd

2012-05-24 Thread Bruce Evans
On Wed, 23 May 2012, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/23/12 07:56, Bjoern A. Zeeb wrote: On 23. May 2012, at 06:49 , Xin LI wrote: Author: delphij Date: Wed May 23 06:49:50 2012 New Revision: 235822 URL: http://svn.freebsd.org/changeset/base/235822 Log:

Re: svn commit: r235852 - head/sys/geom

2012-05-24 Thread Bruce Evans
On Wed, 23 May 2012, Andriy Gapon wrote: on 23/05/2012 22:22 Pawel Jakub Dawidek said the following: On Wed, May 23, 2012 at 06:17:02PM +, Xin LI wrote: Author: delphij Date: Wed May 23 18:17:02 2012 New Revision: 235852 URL: http://svn.freebsd.org/changeset/base/235852 Log: Use %ju to

svn commit: r235886 - in head/sys: compat/freebsd32 kern sys

2012-05-24 Thread Gleb Kurtsou
Author: gleb Date: Thu May 24 08:00:26 2012 New Revision: 235886 URL: http://svn.freebsd.org/changeset/base/235886 Log: Add kern_fhstat(), adjust sys_fhstat() to use it. Extend kern_getdirentries() to accept uio segflag and optionally return buffer residue. Sponsored by: Google

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-24 Thread Konstantin Belousov
On Wed, May 23, 2012 at 11:37:29PM +0200, Niclas Zeising wrote: On 05/23/12 23:07, Konstantin Belousov wrote: Author: kib Date: Wed May 23 21:07:01 2012 New Revision: 235859 URL: http://svn.freebsd.org/changeset/base/235859 Log: Enable drm2 modules build. Sponsored by: The

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-24 Thread Niclas Zeising
On 2012-05-24 11:26, Konstantin Belousov wrote: On Wed, May 23, 2012 at 11:37:29PM +0200, Niclas Zeising wrote: On 05/23/12 23:07, Konstantin Belousov wrote: Author: kib Date: Wed May 23 21:07:01 2012 New Revision: 235859 URL: http://svn.freebsd.org/changeset/base/235859 Log: Enable

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

2012-05-24 Thread Alexander V. Chernikov
On 24.05.2012 04:18, Jung-uk Kim wrote: ... @@ -1664,7 +1668,7 @@ bpf_setf(struct bpf_d *d, struct bpf_pro struct bpf_insn *fcode, *old; u_int wfilter, flen, size; #ifdef BPF_JITTER -bpf_jit_filter *ofunc; +bpf_jit_filter *ofunc, *jfunc; #endif int need_upgrade; #ifdef

svn commit: r235897 - in head: sbin/camcontrol sys/cam sys/cam/ata sys/cam/scsi sys/sys

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:07:39 2012 New Revision: 235897 URL: http://svn.freebsd.org/changeset/base/235897 Log: MFprojects/zfsd: - Add low-level support for SATA Enclosure Management Bridge (SEMB) devices -- SATA equivalents of the SCSI SES/SAF-TE devices. - Add some utility

svn commit: r235898 - in head/sys: arm/conf conf mips/conf pc98/conf sparc64/conf

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:20:51 2012 New Revision: 235898 URL: http://svn.freebsd.org/changeset/base/235898 Log: MFprojects/zfsd: Generalize and unify ses device description. Modified: head/sys/arm/conf/ETHERNUT5 head/sys/conf/NOTES head/sys/mips/conf/OCTEON1

svn commit: r235899 - head/sys/kern

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:24:44 2012 New Revision: 235899 URL: http://svn.freebsd.org/changeset/base/235899 Log: MFprojects/zfsd: Hide warning behind bootverbose. Average user has nothing to do about it. Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c

svn commit: r235903 - head/sys/netinet

2012-05-24 Thread Michael Tuexen
Author: tuexen Date: Thu May 24 11:52:57 2012 New Revision: 235903 URL: http://svn.freebsd.org/changeset/base/235903 Log: Add sn_send_failed_event to sctp_notification. MFC after: 3 days Modified: head/sys/netinet/sctp_uio.h Modified: head/sys/netinet/sctp_uio.h

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

2012-05-24 Thread Grzegorz Bernacki
Author: gber Date: Thu May 24 12:38:24 2012 New Revision: 235907 URL: http://svn.freebsd.org/changeset/base/235907 Log: ARMs don't have motherboards. Obtained from:Semihalf Modified: head/sys/arm/arm/nexus.c Modified: head/sys/arm/arm/nexus.c

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

2012-05-24 Thread Grzegorz Bernacki
Author: gber Date: Thu May 24 12:41:57 2012 New Revision: 235908 URL: http://svn.freebsd.org/changeset/base/235908 Log: Return Supervisor SP and LR registers instead of User ones while in KDB thread. Obtained from: Semihalf Modified: head/sys/arm/arm/gdb_machdep.c Modified:

svn commit: r235911 - in head: share/examples/ses share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 14:07:44 2012 New Revision: 235911 URL: http://svn.freebsd.org/changeset/base/235911 Log: MFprojects/zfsd: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location

Re: svn commit: r235911 - in head: share/examples/ses share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2012-05-24 Thread Konstantin Belousov
On Thu, May 24, 2012 at 02:07:44PM +, Alexander Motin wrote: Author: mav Date: Thu May 24 14:07:44 2012 New Revision: 235911 URL: http://svn.freebsd.org/changeset/base/235911 Log: MFprojects/zfsd: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel

svn commit: r235912 - head/sys/i386/i386

2012-05-24 Thread Alan Cox
Author: alc Date: Thu May 24 15:25:35 2012 New Revision: 235912 URL: http://svn.freebsd.org/changeset/base/235912 Log: MF amd64 r233097, r233122 With the changes over the past year to how accesses to the page's dirty field are synchronized, there is no need for pmap_protect() to acquire

svn commit: r235915 - head/usr.bin

2012-05-24 Thread Josh Paetzel
Author: jpaetzel Date: Thu May 24 16:11:51 2012 New Revision: 235915 URL: http://svn.freebsd.org/changeset/base/235915 Log: Hook up mkulzma to the build. MFC after:3 days Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r235916 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 16:30:13 2012 New Revision: 235916 URL: http://svn.freebsd.org/changeset/base/235916 Log: MFp4 bz_ipv6_fast: Introduce in6_getscope() to allow more effective checksum computations without the need to copy the address to clear the scope.

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

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 06:44:48 -0400, Alexander V. Chernikov wrote: Does the attached patch look ok to you? Generally looks good. Few nits: - --- bpf.c --- 1713: #ifdef BPF_JITTER 1714: bpf_jit_filter *ofunc, *jfunc; 1715: #endif Please add jfunc

svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 URL: http://svn.freebsd.org/changeset/base/235918 Log: Make g_label(4) ignore provider size when looking for UFS labels. Without it, it fails to create labels for filesystems resized by growfs(8). PR:

svn commit: r235920 - head/sys/conf

2012-05-24 Thread Jack F Vogel
Author: jfv Date: Thu May 24 17:39:54 2012 New Revision: 235920 URL: http://svn.freebsd.org/changeset/base/235920 Log: Fix to kern/168294 - add flow director support into the static kernel build of ixgbe. Thanks Sergey for pointing this out. Modified: head/sys/conf/files Modified:

svn commit: r235921 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 18:05:10 2012 New Revision: 235921 URL: http://svn.freebsd.org/changeset/base/235921 Log: MFp4 bz_ipv6_fast: Optimize in6_cksum(), re-ordering work and limiting variable initialization, removing a bzero() for mostly re-initialized struct values, making

svn commit: r235922 - head/sys/fs/devfs

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 18:19:23 2012 New Revision: 235922 URL: http://svn.freebsd.org/changeset/base/235922 Log: Revert devfs part of r235911. I was unaware about old but unfinished discussion between kib@ and gibbs@ about it. Modified: head/sys/fs/devfs/devfs_vnops.c Modified:

svn commit: r235923 - head/sys/netgraph

2012-05-24 Thread Gleb Smirnoff
Author: glebius Date: Thu May 24 18:22:57 2012 New Revision: 235923 URL: http://svn.freebsd.org/changeset/base/235923 Log: Revert r220768 for ng_ksocket. This node is special and when it is cloning, its constructor method may be called in a context that isn't allowed to sleep. Noticed

svn commit: r235924 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 18:25:09 2012 New Revision: 235924 URL: http://svn.freebsd.org/changeset/base/235924 Log: MFp4 bz_ipv6_fast: Introduce a (for now copied stripped down) in6_cksum_pseudo() function. We should be able to use this from in6_cksum() but we should also

svn commit: r235925 - head/sys/dev/drm2/i915

2012-05-24 Thread Dimitry Andric
Author: dim Date: Thu May 24 19:13:54 2012 New Revision: 235925 URL: http://svn.freebsd.org/changeset/base/235925 Log: Fix the following clang warning in drm2: sys/dev/drm2/i915/intel_display.c:8861:3: error: expression result unused [-Werror,-Wunused-value]

svn commit: r235927 - head/bin/sh

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 19:48:15 2012 New Revision: 235927 URL: http://svn.freebsd.org/changeset/base/235927 Log: Work better with how make/bmake works: 1. Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make will first cd into ${.OBJDIR}. Keep the cwd to what

svn commit: r235928 - head/share/mk

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:00:58 2012 New Revision: 235928 URL: http://svn.freebsd.org/changeset/base/235928 Log: Fix an inconsistency I just ran into for LDADD and DPADD. The description for both of them use different, and presumably wrong, variables in the example. They set

svn commit: r235929 - in head/lib/libc/powerpc: . gen

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:12:46 2012 New Revision: 235929 URL: http://svn.freebsd.org/changeset/base/235929 Log: Allow building for the PowerPC EABI by providing a dummy __eabi() function. The purpose of the __eabi() function is to set up the runtime and is called first thing by

svn commit: r235930 - head/sys/dev/fdt

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:24:49 2012 New Revision: 235930 URL: http://svn.freebsd.org/changeset/base/235930 Log: Preset (clear) the ranges we're supposed to fill from the FDT. If a particular range (either I/O memory or I/O port) is not defined in the FDT, we're not handing

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

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the kernel will do ithe same. Use lwsync only when

svn commit: r235932 - head/sys/powerpc/booke

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:58:40 2012 New Revision: 235932 URL: http://svn.freebsd.org/changeset/base/235932 Log: o Rename kernload_ap to bp_kernelload. This to introduce a common prefix for variables that live in the boot page. o Add bp_trace (yes, it's in the boot page)

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 12:48:33 -0400, Edward Tomasz Napierala wrote: Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 URL: http://svn.freebsd.org/changeset/base/235918 Log: Make g_label(4) ignore provider size when looking for UFS

svn commit: r235933 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:01:35 2012 New Revision: 235933 URL: http://svn.freebsd.org/changeset/base/235933 Log: Either the I/O port range or the memory mapped I/O range may not be defined in the FDT. The range will have a zero size in that case. Modified:

svn commit: r235934 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:07:10 2012 New Revision: 235934 URL: http://svn.freebsd.org/changeset/base/235934 Log: Just return if the size of the window is 0. This can happen when the FDT does not define all ranges possible for a particular node (e.g. PCI). While here, only update

svn commit: r235935 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:09:38 2012 New Revision: 235935 URL: http://svn.freebsd.org/changeset/base/235935 Log: Remove Semihakf-ism. DEBUG is a kernel configuration option. It should not be defined in source files. Modified: head/sys/powerpc/mpc85xx/i2c.c Modified:

svn commit: r235936 - in head/sys/powerpc: aim booke include powerpc

2012-05-24 Thread Rafal Jaworowski
Author: raj Date: Thu May 24 21:13:24 2012 New Revision: 235936 URL: http://svn.freebsd.org/changeset/base/235936 Log: Fix physical address type to vm_paddr_t. Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/booke/pmap.c head/sys/powerpc/include/pmap.h

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the

svn commit: r235937 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:23:13 2012 New Revision: 235937 URL: http://svn.freebsd.org/changeset/base/235937 Log: A few improvements: 1. Define all registers. These definitions are needed to support the FCM driver for direct-connect NAND. 2. Repurpose lbc_read_reg() and

svn commit: r235938 - head/sys/dev/sec

2012-05-24 Thread Rafal Jaworowski
Author: raj Date: Thu May 24 21:24:23 2012 New Revision: 235938 URL: http://svn.freebsd.org/changeset/base/235938 Log: Recognize version 3.1 of the SEC crypto engine. Modified: head/sys/dev/sec/sec.c head/sys/dev/sec/sec.h Modified: head/sys/dev/sec/sec.c

svn commit: r235939 - in head: lib/libstand sys/x86/include

2012-05-24 Thread David E. O'Brien
Author: obrien Date: Thu May 24 21:44:46 2012 New Revision: 235939 URL: http://svn.freebsd.org/changeset/base/235939 Log: Consitently use __LP64__. [there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's] Modified: head/lib/libstand/bswap.c

svn commit: r235941 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 22:00:48 2012 New Revision: 235941 URL: http://svn.freebsd.org/changeset/base/235941 Log: MFp4 bz_ipv6_fast: in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4

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

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 22:06:00 2012 New Revision: 235942 URL: http://svn.freebsd.org/changeset/base/235942 Log: Revert isync for ILP32 to sync as per my original change that I discussed with Nathan. Leave __ATOMIC_ACQ as an isync as per Nathan. Modified:

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge

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

2012-05-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 24 22:14:39 2012 New Revision: 235943 URL: http://svn.freebsd.org/changeset/base/235943 Log: Atomic operation acquire barriers also need to be isync on 64-bit systems. Modified: head/sys/powerpc/include/atomic.h Modified: head/sys/powerpc/include/atomic.h

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:07, Marcel Moolenaar wrote: On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 16:59:58 -0400, Jung-uk Kim wrote: On 2012-05-24 12:48:33 -0400, Edward Tomasz Napierala wrote: Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 URL: http://svn.freebsd.org/changeset/base/235918 Log: Make

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with bus_space changes) 3. __ATOMIC_REL() must be lwsync or sync This

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with bus_space changes) 3.

svn commit: r235944 - in head/sys: dev/cxgb dev/cxgbe netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 23:03:23 2012 New Revision: 235944 URL: http://svn.freebsd.org/changeset/base/235944 Log: MFp4 bz_ipv6_fast: Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the

svn commit: r235945 - in head/sys: contrib/dev/acpica contrib/dev/acpica/common contrib/dev/acpica/compiler contrib/dev/acpica/components/debugger contrib/dev/acpica/components/dispatcher contrib/d...

2012-05-24 Thread Jung-uk Kim
Author: jkim Date: Thu May 24 23:12:30 2012 New Revision: 235945 URL: http://svn.freebsd.org/changeset/base/235945 Log: Merge ACPICA 20120518. Modified: head/sys/contrib/dev/acpica/acpica_prep.sh head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/adfile.c

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

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 23:46:17 2012 New Revision: 235946 URL: http://svn.freebsd.org/changeset/base/235946 Log: Add a missing to get closer to compiling. Modified: head/sys/powerpc/include/atomic.h Modified: head/sys/powerpc/include/atomic.h

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:46 PM, Nathan Whitehorn wrote: On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though

svn commit: r235948 - head/usr.sbin/acpi/acpidump

2012-05-24 Thread Jung-uk Kim
Author: jkim Date: Fri May 25 00:18:19 2012 New Revision: 235948 URL: http://svn.freebsd.org/changeset/base/235948 Log: Catch up with realpath(3) changes (r235266) and unbreak acpidump(8). Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c

svn commit: r235949 - head/usr.sbin/jail

2012-05-24 Thread Jamie Gritton
Author: jamie Date: Fri May 25 00:38:06 2012 New Revision: 235949 URL: http://svn.freebsd.org/changeset/base/235949 Log: Don't try to set a null TERM environment. Submitted by: Mateusz Guzik mjguzik gmail.com Modified: head/usr.sbin/jail/command.c Modified: head/usr.sbin/jail/command.c

svn commit: r235950 - head/sys/netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:13:39 2012 New Revision: 235950 URL: http://svn.freebsd.org/changeset/base/235950 Log: MFp4 bz_ipv6_fast: Factor out the tcp_hc_getmtu() call. As the comments say it applies to both v4 and v6, so only write it once making it easier to read the

svn commit: r235953 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:42:48 2012 New Revision: 235953 URL: http://svn.freebsd.org/changeset/base/235953 Log: MFp4 bz_ipv6_fast: No need to hold the (expensive) rt lock over (expensive) logging. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems

svn commit: r235954 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:43:52 2012 New Revision: 235954 URL: http://svn.freebsd.org/changeset/base/235954 Log: MFp4 bz_ipv6_fast: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Sponsored by:

svn commit: r235955 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:45:05 2012 New Revision: 235955 URL: http://svn.freebsd.org/changeset/base/235955 Log: MFp4 bz_ipv6_fast: Simplify the code removing a return from an earlier else case, not differing from the default function return called now. Sponsored by:

svn commit: r235956 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:48:15 2012 New Revision: 235956 URL: http://svn.freebsd.org/changeset/base/235956 Log: MFp4 bz_ipv6_fast: Hide the ip6aux functions. The only one referenced outside ip6_input.c is not compiled in yet (__notyet__) in route6.c (r235954). We do have

svn commit: r235957 - in head/sys/dev/ath: . ath_hal/ar5416 ath_hal/ar9002

2012-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 02:07:59 2012 New Revision: 235957 URL: http://svn.freebsd.org/changeset/base/235957 Log: Prepare for improved (read: pcie) suspend/resume support. * Flesh out the pcie disable method for 11n chips, as they were defaulting to the AR5212 (empty) PCIe

svn commit: r235958 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:17:16 2012 New Revision: 235958 URL: http://svn.freebsd.org/changeset/base/235958 Log: MFp4 bz_ipv6_fast: Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers

svn commit: r235959 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:19:17 2012 New Revision: 235959 URL: http://svn.freebsd.org/changeset/base/235959 Log: MFp4 bz_ipv6_fast: Defer checksum calulations on UDP6 output and respect the mbuf flags set by NICs having done checksum validation for us already, thus saving

svn commit: r235960 - head/sys/net

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:21:17 2012 New Revision: 235960 URL: http://svn.freebsd.org/changeset/base/235960 Log: MFp4 bz_ipv6_fast: Simple yet effective change enabling checksum offload on loopback for IPv6 to avoid expensive computations. Sponsored by: The FreeBSD

svn commit: r235961 - head/sys/netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:23:26 2012 New Revision: 235961 URL: http://svn.freebsd.org/changeset/base/235961 Log: MFp4 bz_ipv6_fast: Add code to handle pre-checked TCP checksums as indicated by mbuf flags to save the entire computation for validation if not needed. In the

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

2012-05-24 Thread Bjoern A. Zeeb
On 25. May 2012, at 02:21 , Bjoern A. Zeeb wrote: Author: bz Date: Fri May 25 02:21:17 2012 New Revision: 235960 URL: http://svn.freebsd.org/changeset/base/235960 Log: MFp4 bz_ipv6_fast: Simple yet effective change enabling checksum offload on loopback for IPv6 to avoid

svn commit: r235962 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:58:21 2012 New Revision: 235962 URL: http://svn.freebsd.org/changeset/base/235962 Log: MFp4 bz_ipv6_fast: Factor out Hop-By-Hop option processing. It's still not heavily used, it reduces the footprint of ip6_input() and makes ip6_input() more

svn commit: r235963 - in head/sys: dev/cxgb modules/cxgb/cxgb

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 03:00:34 2012 New Revision: 235963 URL: http://svn.freebsd.org/changeset/base/235963 Log: MFp4 bz_ipv6_fast: Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6.

svn commit: r235964 - in head/sys: dev/ixgbe modules/ixgbe

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 03:02:56 2012 New Revision: 235964 URL: http://svn.freebsd.org/changeset/base/235964 Log: MFp4 bz_ipv6_fast: Add TSO6 and LRO/IPv6 support. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6.

Re: svn commit: r235963 - in head/sys: dev/cxgb modules/cxgb/cxgb

2012-05-24 Thread Bjoern A. Zeeb
On 25. May 2012, at 03:00 , Bjoern A. Zeeb wrote: Author: bz Date: Fri May 25 03:00:34 2012 New Revision: 235963 URL: http://svn.freebsd.org/changeset/base/235963 Log: MFp4 bz_ipv6_fast: Allow LRO to work on IPv6 as well. Note that TSO6 support had been present in cxgb(4) since

svn commit: r235967 - head/usr.sbin/utx

2012-05-24 Thread Warren Block
Author: wblock (doc committer) Date: Fri May 25 03:46:56 2012 New Revision: 235967 URL: http://svn.freebsd.org/changeset/base/235967 Log: Fixes to man8 groff mandoc style, usage mistakes, or typos. PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after:

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Andrey V. Elsukov
On 24.05.2012 20:48, Edward Tomasz Napierala wrote: Log: Make g_label(4) ignore provider size when looking for UFS labels. Without it, it fails to create labels for filesystems resized by growfs(8). PR: kern/165962 I think it should be fixed in the growfs(8), not here. It

svn commit: r235972 - in head/sys/dev/ath: . ath_hal ath_hal/ar5210 ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5416 ath_hal/ar9002

2012-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 05:01:27 2012 New Revision: 235972 URL: http://svn.freebsd.org/changeset/base/235972 Log: oops - ath_hal_disablepcie is actually destined for another purpose, not to disable the PCIe PHY in prepration for reset. Extend the enablepci method to have a

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

2012-05-24 Thread Alan Cox
Author: alc Date: Fri May 25 05:28:14 2012 New Revision: 235973 URL: http://svn.freebsd.org/changeset/base/235973 Log: Correct an error in pmap_pv_reclaim(). In a rare case, when it should have returned NULL, it might instead return a pointer to a page that it had just unmapped. Modified: