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

2012-11-30 Thread Adrian Chadd
Author: adrian Date: Sat Dec 1 03:48:11 2012 New Revision: 243743 URL: http://svnweb.freebsd.org/changeset/base/243743 Log: Add a new HAL capability - check and enforce whether the NIC supports enforcing the TXOP and TBTT limits: * Frames which will overlap with TBTT will not TX; * Fra

svn commit: r243741 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Sat Dec 1 01:24:40 2012 New Revision: 243741 URL: http://svnweb.freebsd.org/changeset/base/243741 Log: Patch #12 OK, I said there was only 11 patches, but unfortunately the revamped sysctl code did not work, and needed a change. This makes the limit get set at the time th

svn commit: r243737 - in head/sys: amd64/pci i386/pci

2012-11-30 Thread Jung-uk Kim
Author: jkim Date: Sat Dec 1 00:56:19 2012 New Revision: 243737 URL: http://svnweb.freebsd.org/changeset/base/243737 Log: Remove duplicate code. Reduce diff between amd64 and i386. Modified: head/sys/amd64/pci/pci_cfgreg.c head/sys/i386/pci/pci_cfgreg.c Modified: head/sys/amd64/pci/pci_c

svn commit: r243736 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Sat Dec 1 00:11:24 2012 New Revision: 243736 URL: http://svnweb.freebsd.org/changeset/base/243736 Log: Patch #11 - The final patch: this one greatly improves the TX hot path by getting rid of index calculations and simply managing pointers. Much of the creative code is du

svn commit: r243735 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Sat Dec 1 00:03:58 2012 New Revision: 243735 URL: http://svnweb.freebsd.org/changeset/base/243735 Log: Patch #10 Performance - this changes the protocol offload interface and code in the TX path,making it tighter and hopefully more efficient. Modified: head/sys/dev/ixg

svn commit: r243733 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 23:54:57 2012 New Revision: 243733 URL: http://svnweb.freebsd.org/changeset/base/243733 Log: Patch #9 Performance - improve the tx dma failure path, similar to a change done in igb long ago. Modified: head/sys/dev/ixgbe/ixgbe.c Modified: head/sys/dev/ixgbe/ixgb

svn commit: r243731 - head/lib/libc/stdio

2012-11-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 30 23:51:33 2012 New Revision: 243731 URL: http://svnweb.freebsd.org/changeset/base/243731 Log: libc: Allow setting close-on-exec in fopen/freopen/fdopen. This commit adds a new mode option 'e' that must follow any 'b', '+' and/or 'x' options. C11 is clear abo

svn commit: r243729 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 23:45:55 2012 New Revision: 243729 URL: http://svnweb.freebsd.org/changeset/base/243729 Log: Patch #8 Performance changes - this one improves locality, moving some counters and data to the ring struct from the adapter struct, also compressing some data in the m

svn commit: r243728 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 23:28:01 2012 New Revision: 243728 URL: http://svnweb.freebsd.org/changeset/base/243728 Log: Patch #7 This is primarily about processing limit control. - add a limit for both RX and TX, change the default to 256 - change the sysctl usage to be common, and now to

svn commit: r243727 - head/sys/security/audit

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 23:21:55 2012 New Revision: 243727 URL: http://svnweb.freebsd.org/changeset/base/243727 Log: IFp4 @208452: Audit handling for missing events: - AUE_READLINKAT - AUE_FACCESSAT - AUE_MKDIRAT - AUE_MKFIFOAT - AUE_MKNODAT - AUE_SYMLINKAT Sponsored b

svn commit: r243726 - in head/sys: kern security/audit

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 23:18:49 2012 New Revision: 243726 URL: http://svnweb.freebsd.org/changeset/base/243726 Log: IFp4 @208451: Fix path handling for *at() syscalls. Before the change directory descriptor was totally ignored, so the relative path argument was appended to curr

svn commit: r243725 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 23:13:56 2012 New Revision: 243725 URL: http://svnweb.freebsd.org/changeset/base/243725 Log: Patch #6 Whitespace cleanup, and removal of some very old defines (at Gleb's request). Also, change the defines around the old transmit code to IXGBE_LEGACY_TX, I do this

svn commit: r243724 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 23:06:27 2012 New Revision: 243724 URL: http://svnweb.freebsd.org/changeset/base/243724 Log: Patch #5 Cleanup unused IEEE1588 code fragments, the day may come when this feature gets implemented, but its not here yet and I see no reason to leave this laying around

svn commit: r243723 - head/sys/security/audit

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 23:03:51 2012 New Revision: 243723 URL: http://svnweb.freebsd.org/changeset/base/243723 Log: IFp4 @208383: Currently when we discover that trail file is greater than configured limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon once. If f

svn commit: r243722 - head/sys/security/audit

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 22:59:20 2012 New Revision: 243722 URL: http://svnweb.freebsd.org/changeset/base/243722 Log: IFp4 @208382: Currently on each record write we call VFS_STATFS() to get available space on the file system as well as VOP_GETATTR() to get trail file size. We ca

svn commit: r243721 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 22:54:14 2012 New Revision: 243721 URL: http://svnweb.freebsd.org/changeset/base/243721 Log: Patch #4 - this does two things, it removes a number of statistics, these are FCOE stats (fiber channel over ethernet), something that FreeBSD does not yet have, they wer

svn commit: r243720 - head/sys/security/audit

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 22:52:35 2012 New Revision: 243720 URL: http://svnweb.freebsd.org/changeset/base/243720 Log: IFp4 @208381: For VOP_GETATTR() we just need vnode to be shared-locked. Sponsored by: FreeBSD Foundation (auditdistd) MFC after:2 weeks Modified: head/sys/

svn commit: r243719 - head/sys/kern

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 22:49:28 2012 New Revision: 243719 URL: http://svnweb.freebsd.org/changeset/base/243719 Log: IFp4 @208450: Remove redundant call to AUDIT_ARG_UPATH1(). Path will be remembered by the following NDINIT(AUDITVNODE1) call. Sponsored by: FreeBSD Foundation (au

svn commit: r243718 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 22:41:32 2012 New Revision: 243718 URL: http://svnweb.freebsd.org/changeset/base/243718 Log: Patch #3 - Add a new ioctl to access SFP+ module diagnostic data via the I2C routines in shared code. Modified: head/sys/dev/ixgbe/ixgbe.c head/sys/dev/ixgb

Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version

2012-11-30 Thread Stanislav Sedov
On Thu, 29 Nov 2012 08:38:47 +0100 Baptiste Daroussin mentioned: > > pkg is no more experimental at all, it is not perfect there are large rooms > for > improvements, but it is perfectly ready to be used, if you have any concern > about some missing "feature" just report it; > > Concerning a l

svn commit: r243716 - head/sys/dev/ixgbe

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 22:33:21 2012 New Revision: 243716 URL: http://svnweb.freebsd.org/changeset/base/243716 Log: Patch #2 - remove OACTIVE and DEPLETED notions from the multiqueue code, this functionality has proven to be more trouble than it was worth. Thanks to Gleb for a second

svn commit: r243715 - head/crypto/openssl/crypto/rand

2012-11-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Nov 30 22:23:23 2012 New Revision: 243715 URL: http://svnweb.freebsd.org/changeset/base/243715 Log: Allow OpenSSL to use arc4random(3) on FreeBSD. arc4random(3) was modified some time ago to use sysctl instead of /dev/random to get random data, so is now much better cho

svn commit: r243714 - in head/sys/dev: ixgbe netmap

2012-11-30 Thread Jack F Vogel
Author: jfv Date: Fri Nov 30 22:19:18 2012 New Revision: 243714 URL: http://svnweb.freebsd.org/changeset/base/243714 Log: First of a series of 11 patches leading to new ixgbe version 2.5.0 This removes the header split and supporting code from the driver. Modified: head/sys/dev/ixgbe/ixgbe.

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-30 Thread Peter Jeremy
[A bit delayed] On 2012-Nov-15 02:41:22 -0600, "Matthew D. Fuller" wrote: >On Thu, Nov 15, 2012 at 06:07:27PM +1100 I heard the voice of >Bruce Evans, and lo! it spake thus: >> >> Maybe malloc() would be faster with MALLOC_PRODUCTION. I use >> /etc/malloc.conf -> aj locally. freefall doesn't

svn commit: r243713 - head

2012-11-30 Thread Simon J. Gerraty
Author: sjg Date: Fri Nov 30 20:50:34 2012 New Revision: 243713 URL: http://svnweb.freebsd.org/changeset/base/243713 Log: The build-tools step during build32 also needs the -legacy magic. Approved by: marcel (mentor) Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r243712 - in head/sys: amd64/pci i386/pci

2012-11-30 Thread Jung-uk Kim
Author: jkim Date: Fri Nov 30 20:15:01 2012 New Revision: 243712 URL: http://svnweb.freebsd.org/changeset/base/243712 Log: Use volatile keywords properly. Modified: head/sys/amd64/pci/pci_cfgreg.c head/sys/i386/pci/pci_cfgreg.c Modified: head/sys/amd64/pci/pci_cfgreg.c

svn commit: r243711 - head/sys/netpfil/ipfw

2012-11-30 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Nov 30 19:36:55 2012 New Revision: 243711 URL: http://svnweb.freebsd.org/changeset/base/243711 Log: Use common macros for working with rule/dynamic counters. This is done as preparation to introduce per-cpu ipfw counters. MFC after:3 weeks Modified: head/

svn commit: r243707 - head/sys/netpfil/ipfw

2012-11-30 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Nov 30 16:33:22 2012 New Revision: 243707 URL: http://svnweb.freebsd.org/changeset/base/243707 Log: Make ipfw dynamic states operations SMP-ready. * Global IPFW_DYN_LOCK() is changed to per-bucket mutex. * State expiration is done in ipfw_tick every second. *

Re: svn commit: r243670 - head/share/man/man5

2012-11-30 Thread Eitan Adler
On 30 November 2012 04:12, David Chisnall wrote: > On 30 Nov 2012, at 00:15, Eitan Adler wrote: > >> Every time I talk to the clang folk about flags they point me to gcc >> documentation. > > No we don't. We point you at the gcc documentation and at the clang manual. > Clang aims to support all

Re: svn commit: r243665 - head/sbin/dump

2012-11-30 Thread Erik Cederstrand
Den 29/11/2012 kl. 13.01 skrev Konstantin Belousov : > On Thu, Nov 29, 2012 at 05:16:50AM +, Eitan Adler wrote: >> Author: eadler >> Date: Thu Nov 29 05:16:50 2012 >> New Revision: 243665 >> URL: http://svnweb.freebsd.org/changeset/base/243665 >> >> Log: >> Mark non-returning function as suc

Re: svn commit: r243670 - head/share/man/man5

2012-11-30 Thread David Chisnall
On 30 Nov 2012, at 00:15, Eitan Adler wrote: > Every time I talk to the clang folk about flags they point me to gcc > documentation. No we don't. We point you at the gcc documentation and at the clang manual. Clang aims to support all of the gcc flags, and provides some extra ones as document