svn commit: r297662 - head/sys/netinet

2016-04-07 Thread Randall Stewart
Author: rrs Date: Thu Apr 7 09:10:34 2016 New Revision: 297662 URL: https://svnweb.freebsd.org/changeset/base/297662 Log: This is work done by Michael Tuexen and myself at the IETF. This adds the new I-Data (Interleaved Data) message. This allows a user to be able to have complete freedom

svn commit: r296476 - head/sys/netinet/tcp_stacks

2016-03-07 Thread Randall Stewart
Author: rrs Date: Tue Mar 8 00:16:34 2016 New Revision: 296476 URL: https://svnweb.freebsd.org/changeset/base/296476 Log: Fix a sneaky bug where we were missing an extern to get the rxt threshold.. and thus created our own defaulted to 0 :-( Sponsored by: Netflix Inc Modified:

svn commit: r295927 - in head/sys/netinet: . tcp_stacks

2016-02-23 Thread Randall Stewart
Author: rrs Date: Tue Feb 23 17:53:39 2016 New Revision: 295927 URL: https://svnweb.freebsd.org/changeset/base/295927 Log: This fixes the fastpath code to have a better module initialization sequence when included in loader.conf. It also fixes it so that no matter if some one incorrectly

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-16 Thread Randall Stewart via svn-src-all
December 2015 at 00:56, Randall Stewart <r...@freebsd.org> wrote: >> Author: rrs >> Date: Wed Dec 16 00:56:45 2015 >> New Revision: 292309 >> URL: https://svnweb.freebsd.org/changeset/base/292309 >> >> Log: >> First cut of the modularization of our TCP

svn commit: r292336 - head/sys/netinet/tcp_stacks

2015-12-16 Thread Randall Stewart
Author: rrs Date: Wed Dec 16 15:16:44 2015 New Revision: 292336 URL: https://svnweb.freebsd.org/changeset/base/292336 Log: Remove redundant extern's that make the ppc compile fail. Thanks Ed Maste for the heads up. Modified: head/sys/netinet/tcp_stacks/fastpath.c Modified:

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-16 Thread Randall Stewart via svn-src-all
r292336 should take care of that let me know if it does not.. I am getting on a plane to head back from CA. to S.C. shortly but I will be online for a couple more hours :-) R On Dec 16, 2015, at 6:00 AM, Ed Maste <ema...@freebsd.org> wrote: > On 16 December 2015 at 00:56, Randall S

svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-15 Thread Randall Stewart
Author: rrs Date: Wed Dec 16 00:56:45 2015 New Revision: 292309 URL: https://svnweb.freebsd.org/changeset/base/292309 Log: First cut of the modularization of our TCP stack. Still to do is to clean up the timer handling using the async-drain. Other optimizations may be coming to go with

svn commit: r292070 - head/sys/dev/hwpmc

2015-12-10 Thread Randall Stewart
Author: rrs Date: Fri Dec 11 01:21:32 2015 New Revision: 292070 URL: https://svnweb.freebsd.org/changeset/base/292070 Log: More fixes in the various intel processors, fixing missing IAP_F_FM's as well as incorrect umask specifications for some of the new Broadwell/Skylake PMC's. Also

svn commit: r292027 - head/usr.sbin/pmcstudy

2015-12-09 Thread Randall Stewart
Author: rrs Date: Wed Dec 9 21:49:31 2015 New Revision: 292027 URL: https://svnweb.freebsd.org/changeset/base/292027 Log: Proper support of Broadwell tool by the pmc_study based on the Intel Itune guide for 5th generation processors. There is at least one formula missing in that guide,

svn commit: r292028 - head/usr.sbin/pmcstudy

2015-12-09 Thread Randall Stewart
Author: rrs Date: Wed Dec 9 21:50:06 2015 New Revision: 292028 URL: https://svnweb.freebsd.org/changeset/base/292028 Log: White space changes. Modified: head/usr.sbin/pmcstudy/pmcstudy.c Modified: head/usr.sbin/pmcstudy/pmcstudy.c

svn commit: r292029 - head/usr.sbin/pmcstudy

2015-12-09 Thread Randall Stewart
Author: rrs Date: Wed Dec 9 21:54:33 2015 New Revision: 292029 URL: https://svnweb.freebsd.org/changeset/base/292029 Log: Update the manual page to include Broadwell. Modified: head/usr.sbin/pmcstudy/pmcstudy.8 Modified: head/usr.sbin/pmcstudy/pmcstudy.8

svn commit: r292033 - head/sys/dev/hwpmc

2015-12-09 Thread Randall Stewart
Author: rrs Date: Wed Dec 9 22:46:40 2015 New Revision: 292033 URL: https://svnweb.freebsd.org/changeset/base/292033 Log: Fix the tunable in logging so that if its pre-11 we have the proper line so the tunable is present. Sponsored by: Netflix Inc. Modified:

svn commit: r292043 - head/usr.sbin/pmcstudy

2015-12-09 Thread Randall Stewart
Author: rrs Date: Thu Dec 10 01:52:29 2015 New Revision: 292043 URL: https://svnweb.freebsd.org/changeset/base/292043 Log: Fix several typos and bugs within pmcstudy. Also highlight the one SB test that is failing (and is likely a problem in the actual PMC defintions). Add to this also the

svn commit: r292035 - head

2015-12-09 Thread Randall Stewart
Author: rrs Date: Wed Dec 9 23:02:20 2015 New Revision: 292035 URL: https://svnweb.freebsd.org/changeset/base/292035 Log: Add a couple of spots I tend to look at and Michael for SCTP as well :-) Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r291494 - in head: lib/libpmc sys/dev/hwpmc sys/sys

2015-11-30 Thread Randall Stewart
Author: rrs Date: Mon Nov 30 17:35:49 2015 New Revision: 291494 URL: https://svnweb.freebsd.org/changeset/base/291494 Log: Add support for Intel Skylake and Intel Broadwell PMC's. The Broadwell PMC's have been tested on the Broadwell-Xeon with a hacked up version of pmcstudy -T. I still

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

2015-11-13 Thread Randall Stewart via svn-src-all
On Nov 13, 2015, at 4:43 PM, Bryan Drewery <bdrew...@freebsd.org> wrote: > On 11/13/2015 1:24 PM, Randall Stewart wrote: >> Looking at the patch, we need a define of your >> >> _callout_stop_safe >> >> and we need to switch >> >> callou

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

2015-11-13 Thread Randall Stewart via svn-src-all
>> pending = !!callout_stop() >> >> I changed it to >> >> pending = !! (callout_stop > 0) >> >> But I wonder about the double !! that seems rather convoluted.. >> >> Unless someone objects I will commit this shortly >> R >> >

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

2015-11-13 Thread Randall Stewart via svn-src-all
ted.. Unless someone objects I will commit this shortly R On Nov 13, 2015, at 6:16 AM, Alexander V. Chernikov <melif...@freebsd.org> wrote: > 10.11.2015, 17:49, "Randall Stewart" <r...@freebsd.org>: >> Author: rrs >> Date: Tue Nov 10 14:49:32 20

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

2015-11-13 Thread Randall Stewart via svn-src-all
wrote: > 10.11.2015, 17:49, "Randall Stewart" <r...@freebsd.org>: >> Author: rrs >> Date: Tue Nov 10 14:49:32 2015 >> New Revision: 290664 >> URL: https://svnweb.freebsd.org/changeset/base/290664 >> >> Log: >> Add new async_drain to the cal

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

2015-11-13 Thread Randall Stewart via svn-src-all
<bdrew...@freebsd.org> wrote: > On 11/13/2015 12:39 PM, Bryan Drewery wrote: >> On 11/13/2015 3:16 AM, Alexander V. Chernikov wrote: >>> 10.11.2015, 17:49, "Randall Stewart" <r...@freebsd.org>: >>>> Author: rrs >>>> Date: Tu

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

2015-11-13 Thread Randall Stewart via svn-src-all
My patch address the following: On Nov 13, 2015, at 4:13 PM, Alexander V. Chernikov <melif...@freebsd.org> wrote: > > > 13.11.2015, 23:59, "Randall Stewart" <r...@netflix.com>: >> Strange >> >> I went looking through all calls to

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

2015-11-13 Thread Randall Stewart via svn-src-all
let me fix that R On Nov 13, 2015, at 4:51 PM, Alexander V. Chernikov <melif...@ipfw.ru> wrote: > 14.11.2015, 00:41, "Randall Stewart" <r...@netflix.com>: >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other v

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

2015-11-13 Thread Randall Stewart via svn-src-all
Looking at the patch, we need a define of your _callout_stop_safe and we need to switch callout_stop()’s define to use the new _callout_stop_safe() R On Nov 13, 2015, at 4:20 PM, Randall Stewart <r...@netflix.com> wrote: > No alexander’s panic’s are because the > LLR

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

2015-11-13 Thread Randall Stewart via svn-src-all
No alexander’s panic’s are because the LLREF is done if (callout_stop()) But now if it was not running -1 is returned.. Try the patch I just sent.. R On Nov 13, 2015, at 4:02 PM, Bryan Drewery <bdrew...@freebsd.org> wrote: > On 11/13/2015 1:00 PM, Randall Stewart wrote:

svn commit: r290805 - in head: share/man/man9 sys/kern sys/net sys/netinet sys/netinet6 sys/netpfil/pf

2015-11-13 Thread Randall Stewart
Author: rrs Date: Fri Nov 13 22:51:35 2015 New Revision: 290805 URL: https://svnweb.freebsd.org/changeset/base/290805 Log: This fixes several places where callout_stops return is examined. The new return codes of -1 were mistakenly being considered "true". Callout_stop now returns -1 to

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

2015-11-13 Thread Randall Stewart via svn-src-all
Done in 290805 R On Nov 13, 2015, at 4:51 PM, Alexander V. Chernikov <melif...@ipfw.ru> wrote: > 14.11.2015, 00:41, "Randall Stewart" <r...@netflix.com>: >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other v

Re: svn commit: r290714 - in head/sys/tests: callout_test framework

2015-11-12 Thread Randall Stewart via svn-src-all
I thought Kib fixed that.. I was looking at it this AM and found he had beat me too it.. R On Nov 12, 2015, at 12:01 PM, Bjoern A. Zeeb <b...@freebsd.org> wrote: > >> On 12 Nov 2015, at 10:31 , Randall Stewart <r...@freebsd.org> wrote: >> >> Author: rrs

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

2015-11-12 Thread Randall Stewart
ut in use. +.Pp +More than one thread can be used with this test, though in the +example case its probably not necessary. +.Pp +You should not need to change the framework +just add tests and register them after loading. +.Sh AUTHORS +The kernel test framework was written by Randall Stewart r...@

svn commit: r290715 - head/sys/sys

2015-11-12 Thread Randall Stewart
Author: rrs Date: Thu Nov 12 10:48:31 2015 New Revision: 290715 URL: https://svnweb.freebsd.org/changeset/base/290715 Log: Bump version number since callout_stop() macro now has new NULL arg. Thanks Hans for spotting this! Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r290714 - in head/sys/tests: callout_test framework

2015-11-12 Thread Randall Stewart
Author: rrs Date: Thu Nov 12 10:31:14 2015 New Revision: 290714 URL: https://svnweb.freebsd.org/changeset/base/290714 Log: Style 9 changes. MFC after:1 Month Modified: head/sys/tests/callout_test/callout_test.c head/sys/tests/framework/kern_testfrwk.c Modified:

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

2015-11-11 Thread Randall Stewart
Author: rrs Date: Wed Nov 11 23:10:09 2015 New Revision: 290690 URL: https://svnweb.freebsd.org/changeset/base/290690 Log: Add the MLINK for async_drain Thanks Edward for the pointer. MFC after:1 month Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

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

2015-11-10 Thread Randall Stewart
Author: rrs Date: Tue Nov 10 14:49:32 2015 New Revision: 290664 URL: https://svnweb.freebsd.org/changeset/base/290664 Log: Add new async_drain to the callout system. This is so-far not used but should be used by TCP for sure in its cleanup of the IN-PCB (will be coming shortly).

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

2015-11-10 Thread Randall Stewart via svn-src-all
And I disagree here Hans You don’t need that and it just adds more into the callout system that is not needed. R On Nov 10, 2015, at 9:59 AM, Hans Petter Selasky <h...@selasky.org> wrote: > On 11/10/15 15:49, Randall Stewart wrote: >> +#define callout_a

svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework

2015-11-10 Thread Randall Stewart
Author: rrs Date: Tue Nov 10 14:14:41 2015 New Revision: 290663 URL: https://svnweb.freebsd.org/changeset/base/290663 Log: Add a kernel test framework. The callout_test is a demonstration and will only work with the upcoming async-drain functionality. Tests can be added to the tests

svn commit: r290276 - head/sys/net

2015-11-02 Thread Randall Stewart
Author: rrs Date: Mon Nov 2 21:21:00 2015 New Revision: 290276 URL: https://svnweb.freebsd.org/changeset/base/290276 Log: Fix three flowtable bugs, a) one lookup issue, b) a two cleaner issue. MFC after:3 days Sponsored by: Netflix Inc. Differential Revision:

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

2015-09-16 Thread Randall Stewart via svn-src-all
.h > == > --- head/sys/sys/callout.hMon Sep 14 10:28:47 2015(r287779) > +++ head/sys/sys/callout.hMon Sep 14 10:52:26 2015(r287780) > @@ -82,6 +82,7 @@ struct callout_handle { > #define

svn commit: r285837 - head/sys/netinet

2015-07-24 Thread Randall Stewart
Author: rrs Date: Fri Jul 24 14:09:03 2015 New Revision: 285837 URL: https://svnweb.freebsd.org/changeset/base/285837 Log: Fix an issue with MAC OS locking and also optimize the case where we are sending back a stream-reset and a sack timer is running, in that case we should just send the

svn commit: r285838 - head/sys/netinet

2015-07-24 Thread Randall Stewart
Author: rrs Date: Fri Jul 24 14:13:43 2015 New Revision: 285838 URL: https://svnweb.freebsd.org/changeset/base/285838 Log: Fix silly syntax error emacs chugged in for me.. gesh. MFC after:3 weeks Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c

svn commit: r285788 - head/sys/netinet6

2015-07-22 Thread Randall Stewart
Author: rrs Date: Wed Jul 22 09:29:50 2015 New Revision: 285788 URL: https://svnweb.freebsd.org/changeset/base/285788 Log: Fix inverted logic bug that David Wolfskill found (thanks David!) MFC after:3 Weeks Modified: head/sys/netinet6/udp6_usrreq.c Modified:

svn commit: r285792 - head/sys/netinet

2015-07-22 Thread Randall Stewart
Author: rrs Date: Wed Jul 22 11:30:37 2015 New Revision: 285792 URL: https://svnweb.freebsd.org/changeset/base/285792 Log: Fix several problems with Stream Reset. 1) We were not handling (or sending) the IN_PROGRESS case if the other side (or our side) was not able to reset (awaiting

svn commit: r285740 - in head/sys: netinet netinet6

2015-07-21 Thread Randall Stewart
Author: rrs Date: Tue Jul 21 09:54:31 2015 New Revision: 285740 URL: https://svnweb.freebsd.org/changeset/base/285740 Log: When a tunneling protocol is being used with UDP we must release the lock on the INP before calling the tunnel protocol, else a LOR may occur (it does with SCTP for

svn commit: r281657 - in stable/10/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-04-17 Thread Randall Stewart
Author: rrs Date: Fri Apr 17 15:39:42 2015 New Revision: 281657 URL: https://svnweb.freebsd.org/changeset/base/281657 Log: MFC of r280785, r280871, r280872, r281510, r218511 - callout fixes. Sponsored by: Netflix Inc. Modified: stable/10/sys/kern/kern_timeout.c

svn commit: r281511 - head/sys/kern

2015-04-13 Thread Randall Stewart
Author: rrs Date: Tue Apr 14 00:02:39 2015 New Revision: 281511 URL: https://svnweb.freebsd.org/changeset/base/281511 Log: Fix my stupid restoral of old code.. must be c_iflags now. Thanks jhb for catching my stupidity... MFC after:3 days Modified: head/sys/kern/kern_timeout.c

svn commit: r281510 - head/sys/kern

2015-04-13 Thread Randall Stewart
Author: rrs Date: Mon Apr 13 23:06:13 2015 New Revision: 281510 URL: https://svnweb.freebsd.org/changeset/base/281510 Log: Restore the two lines accidentally deleted that allow CALLOUT_DIRECT to be specifed in the flags. Thanks Mark Johnston for noticing this ;-o MFC after:3

Re: svn commit: r281510 - head/sys/kern

2015-04-13 Thread Randall Stewart via svn-src-all
Crud Your right.. On Apr 13, 2015, at 7:23 PM, John Baldwin j...@freebsd.org wrote: On Monday, April 13, 2015 11:06:14 PM Randall Stewart wrote: Author: rrs Date: Mon Apr 13 23:06:13 2015 New Revision: 281510 URL: https://svnweb.freebsd.org/changeset/base/281510 Log: Restore the two

svn commit: r281235 - stable/10/usr.sbin/pmcstudy

2015-04-07 Thread Randall Stewart
Author: rrs Date: Tue Apr 7 21:05:52 2015 New Revision: 281235 URL: https://svnweb.freebsd.org/changeset/base/281235 Log: MFC of r280697 and r280698 Sponsored by: Netflix Inc. Added: stable/10/usr.sbin/pmcstudy/pmcstudy.8 - copied, changed from r280697,

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-30 Thread Randall Stewart via svn-src-all
John: Comments below.. On Mar 30, 2015, at 9:16 AM, John Baldwin j...@freebsd.org wrote: On Saturday, March 28, 2015 12:50:24 PM Randall Stewart wrote: Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-30 Thread Randall Stewart via svn-src-all
...@freebsd.org wrote: On Saturday, March 28, 2015 01:48:49 PM Davide Italiano wrote: On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart r...@netflix.com wrote: Hmm does the KPI include the size of the callout structure (which is private)? It's KBI, not KPI. If so I suppose we could change

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-30 Thread Randall Stewart via svn-src-all
now… :-) R On Mar 28, 2015, at 2:48 PM, Davide Italiano dav...@freebsd.org wrote: On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart r...@netflix.com wrote: Hmm does the KPI include the size of the callout structure (which is private)? It's KBI, not KPI. If so I suppose we could change

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-30 Thread Randall Stewart via svn-src-all
, 2015 11:16:20 AM John Baldwin wrote: The second sentence quite seem to be English (have a lock touches s/sentence quite/sentence doesn't quite/ *sigh* -- John Baldwin Randall Stewart r...@netflix.com 803-317-4952 ___ svn-src-all

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

2015-03-30 Thread Randall Stewart
Author: rrs Date: Tue Mar 31 00:18:00 2015 New Revision: 280872 URL: https://svnweb.freebsd.org/changeset/base/280872 Log: Adopt jhb's suggested changes, updated comments and callout_migration() moving to kern/kern_timeout.c This does *not* address his -1 - NOCPU comment. Sponsored

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-30 Thread Randall Stewart via svn-src-all
On Mar 30, 2015, at 9:16 AM, John Baldwin j...@freebsd.org wrote: On Saturday, March 28, 2015 12:50:24 PM Randall Stewart wrote: Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to supply -1

svn commit: r280871 - head/sys/sys

2015-03-30 Thread Randall Stewart
Author: rrs Date: Tue Mar 31 00:15:27 2015 New Revision: 280871 URL: https://svnweb.freebsd.org/changeset/base/280871 Log: Change the c_iflags and c_flags fields to short rather then int. This allows us to keep the KPI the same. Discussed and brain-stormed with imp (thanks for the help

svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Randall Stewart
Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to supply -1 to indicate we are not changing CPU, also add protection against invalid CPU's as well as split c_flags and c_iflags so that if a user

svn commit: r280710 - head

2015-03-26 Thread Randall Stewart
Author: rrs Date: Thu Mar 26 20:08:25 2015 New Revision: 280710 URL: https://svnweb.freebsd.org/changeset/base/280710 Log: Per Gleb, add the pmcstudy.1.gz which was moved to pmcstudy.8.gz Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r280698 - head/usr.sbin/pmcstudy

2015-03-26 Thread Randall Stewart
Author: rrs Date: Thu Mar 26 15:43:57 2015 New Revision: 280698 URL: https://svnweb.freebsd.org/changeset/base/280698 Log: Opps its section 8 not 1 silly. MFC after:3 days Sponsored by: Netflix Modified: head/usr.sbin/pmcstudy/pmcstudy.8 Modified: head/usr.sbin/pmcstudy/pmcstudy.8

svn commit: r280697 - head/usr.sbin/pmcstudy

2015-03-26 Thread Randall Stewart
3 , +.Xr pmclog 3 , +.Xr hwpmc 4 , +.Xr pmcstat 8 , +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 11.0. +.Sh AUTHORS +.An Randall Stewart Aq Mt r...@freebsd.org Modified: head/usr.sbin/pmcstudy/pmcstudy.c

svn commit: r280455 - in stable/10: lib/libpmc sys/amd64/conf sys/dev/hwpmc sys/sys usr.sbin usr.sbin/pmcstudy

2015-03-24 Thread Randall Stewart
Author: rrs Date: Tue Mar 24 20:00:11 2015 New Revision: 280455 URL: https://svnweb.freebsd.org/changeset/base/280455 Log: MFC of r277177 and r279894 with the fixes for the PMC for Haswell. Sponsored by: Netflix Inc. Added: stable/10/usr.sbin/pmcstudy/ - copied from r277177,

svn commit: r279894 - head/sys/dev/hwpmc

2015-03-11 Thread Randall Stewart
Author: rrs Date: Wed Mar 11 20:15:49 2015 New Revision: 279894 URL: https://svnweb.freebsd.org/changeset/base/279894 Log: You need to have the capabilities and not skip it if you are not on head.. otherwise the file pointer will be NULL and when you try to do something with it you will

svn commit: r278801 - in stable/10/sys: netinet netinet6

2015-02-15 Thread Randall Stewart
Author: rrs Date: Sun Feb 15 13:57:44 2015 New Revision: 278801 URL: https://svnweb.freebsd.org/changeset/base/278801 Log: MFC of r278472 This fixes a bug in the way that the LLE timers for nd6 and arp were being used. They basically would pass in the mutex to the callout_init. Because

svn commit: r278800 - in stable/10/sys: kern sys

2015-02-15 Thread Randall Stewart
Author: rrs Date: Sun Feb 15 13:24:32 2015 New Revision: 278800 URL: https://svnweb.freebsd.org/changeset/base/278800 Log: MFC of r278469, r278623 278469: This fixes two conditions that can incur when migration is being done in the callout code and harmonizes the macro use.: 1) The

Re: svn commit: r278472 - in head/sys: netinet netinet6

2015-02-13 Thread Randall Stewart via svn-src-all
13, 2015, at 4:21 PM, Gleb Smirnoff gleb...@freebsd.org wrote: 165863 Randall Stewart r...@netflix.com 803-317-4952 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail

Re: svn commit: r278472 - in head/sys: netinet netinet6

2015-02-13 Thread Randall Stewart via svn-src-all
On Feb 13, 2015, at 4:21 PM, Gleb Smirnoff gleb...@freebsd.org wrote: On Mon, Feb 09, 2015 at 03:11:21PM -0500, John Baldwin wrote: J On Monday, February 09, 2015 07:28:12 PM Randall Stewart wrote: J Author: rrs J Date: Mon Feb 9 19:28:11 2015 J New Revision: 278472 J URL: https

svn commit: r278623 - head/sys/kern

2015-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 13:31:08 2015 New Revision: 278623 URL: https://svnweb.freebsd.org/changeset/base/278623 Log: This fixes a bug I in-advertantly inserted when I updated the callout code in my last commit. The cc_exec_next is used to track the next when a direct call is being

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

2015-02-09 Thread Randall Stewart
Author: rrs Date: Mon Feb 9 19:19:44 2015 New Revision: 278469 URL: https://svnweb.freebsd.org/changeset/base/278469 Log: This fixes two conditions that can incur when migration is being done in the callout code and harmonizes the macro use.: 1) The callout_active() will lie. Basically

svn commit: r278472 - in head/sys: netinet netinet6

2015-02-09 Thread Randall Stewart
Author: rrs Date: Mon Feb 9 19:28:11 2015 New Revision: 278472 URL: https://svnweb.freebsd.org/changeset/base/278472 Log: This fixes a bug in the way that the LLE timers for nd6 and arp were being used. They basically would pass in the mutex to the callout_init. Because they used this

svn commit: r277800 - head/usr.sbin/pmcstudy

2015-01-27 Thread Randall Stewart
Author: rrs Date: Tue Jan 27 18:56:22 2015 New Revision: 277800 URL: https://svnweb.freebsd.org/changeset/base/277800 Log: Fix yet another coverty warning (missing io is NULL check) and in examining that warning I see yet another issue where we should be pclosing the io in the event of

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-22 Thread Randall Stewart
be appreciated by many of us. To avoid the bystander effect we can permit explicit timeouts for review-to-commit (72 hours?) so that we don't collectively end up sandbagging him. I'm +1 for this. -a -- Randall Stewart 803-317-4952 (cell

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-22 Thread Randall Stewart
synchronization mechanism is better than what I would call a temporary and hopefully short TCP stack performance loss? I don't understand? How frequently do you reboot your boxes? Maybe one every day? And you don't care? --HPS -- Randall Stewart 803-317-4952 (cell

svn commit: r277485 - head/usr.sbin/pmcstudy

2015-01-21 Thread Randall Stewart
Author: rrs Date: Wed Jan 21 13:03:18 2015 New Revision: 277485 URL: https://svnweb.freebsd.org/changeset/base/277485 Log: Fix minor errors found by coverity. Thanks Gleb for the pointers to the email! Modified: head/usr.sbin/pmcstudy/pmcstudy.c Modified: head/usr.sbin/pmcstudy/pmcstudy.c

svn commit: r277177 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin usr.sbin/pmcstudy

2015-01-14 Thread Randall Stewart
Author: rrs Date: Wed Jan 14 12:46:58 2015 New Revision: 277177 URL: https://svnweb.freebsd.org/changeset/base/277177 Log: Update the hwpmc driver to have the new type HASWELL_XEON. Also go back through HASWELL, IVY_BRIDGE, IVY_BRIDGE_XEON and SANDY_BRIDGE to straighten out all the missing

svn commit: r257326 - head/sys/dev/cesa

2013-10-29 Thread Randall Stewart
Author: rrs Date: Tue Oct 29 11:28:11 2013 New Revision: 257326 URL: http://svnweb.freebsd.org/changeset/base/257326 Log: Opps, my kirkwood fix for the dreamplug missed this. Modified: head/sys/dev/cesa/cesa.c Modified: head/sys/dev/cesa/cesa.c

svn commit: r256760 - head/sys/arm/mv

2013-10-19 Thread Randall Stewart
Author: rrs Date: Sat Oct 19 06:47:02 2013 New Revision: 256760 URL: http://svnweb.freebsd.org/changeset/base/256760 Log: Corrects the Kirkwood dreamplug to use the right register for power managment. It was incorrectly using the clock register which also caused the status to be the

Re: svn commit: r249848 - head/sys/netinet

2013-04-25 Thread Randall Stewart
I like the idea Gleb.. I myself had been thinking that it was rather strange that we used dst for both the gateway and destination.. this is a much cleaner (and safer) solution. R On Apr 25, 2013, at 4:24 AM, Gleb Smirnoff wrote: ip_output.c.diff -- Randall

svn commit: r249891 - stable/8/sys/netinet

2013-04-25 Thread Randall Stewart
Author: rrs Date: Thu Apr 25 11:24:40 2013 New Revision: 249891 URL: http://svnweb.freebsd.org/changeset/base/249891 Log: MFC of PR r249848. PR: 174749, 157796 Modified: stable/8/sys/netinet/ip_output.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r249892 - stable/9/sys/netinet

2013-04-25 Thread Randall Stewart
Author: rrs Date: Thu Apr 25 11:25:24 2013 New Revision: 249892 URL: http://svnweb.freebsd.org/changeset/base/249892 Log: MFC of r249848 PR: 174749, 157796 Modified: stable/9/sys/netinet/ip_output.c Directory Properties: stable/9/sys/ (props changed) Modified:

svn commit: r249907 - releng/8.4/sys/netinet

2013-04-25 Thread Randall Stewart
Author: rrs Date: Thu Apr 25 21:55:29 2013 New Revision: 249907 URL: http://svnweb.freebsd.org/changeset/base/249907 Log: MFC of r249848: This fixes the issue with the randomly changing default route. What it was is there are two places in ip_output.c where we do a goto again. One place

svn commit: r249848 - head/sys/netinet

2013-04-24 Thread Randall Stewart
Author: rrs Date: Wed Apr 24 18:30:32 2013 New Revision: 249848 URL: http://svnweb.freebsd.org/changeset/base/249848 Log: This fixes the issue with the randomly changing default route. What it was is there are two places in ip_output.c where we do a goto again. One place was fine, it

svn commit: r246482 - in head/sys: dev/bxe dev/e1000 dev/ixgbe dev/oce net ofed/drivers/net/mlx4 sys

2013-02-07 Thread Randall Stewart
Author: rrs Date: Thu Feb 7 15:20:54 2013 New Revision: 246482 URL: http://svnweb.freebsd.org/changeset/base/246482 Log: This fixes a out-of-order problem with several of the newer drivers. The basic problem was that the driver was pulling the mbuf off the drbr ring and then when sending

svn commit: r239672 - head/sys/netinet

2012-08-25 Thread Randall Stewart
Author: rrs Date: Sat Aug 25 09:26:37 2012 New Revision: 239672 URL: http://svn.freebsd.org/changeset/base/239672 Log: This small change takes care of a race condition that can occur when both sides close at the same time. If that occurs, without this fix the connection enters FIN1 on

svn commit: r239395 - head/sys/netinet

2012-08-19 Thread Randall Stewart
Author: rrs Date: Sun Aug 19 11:54:02 2012 New Revision: 239395 URL: http://svn.freebsd.org/changeset/base/239395 Log: Though I disagree, I conceed to jhb Rui. Note that we still have a problem with this whole structure of locks and in_input.c [it does not lock which it should not, but

Re: svn commit: r239353 - head/sys/netinet

2012-08-18 Thread Randall Stewart
On Aug 17, 2012, at 8:26 AM, John Baldwin wrote: On Friday, August 17, 2012 1:51:46 am Randall Stewart wrote: Author: rrs Date: Fri Aug 17 05:51:46 2012 New Revision: 239353 URL: http://svn.freebsd.org/changeset/base/239353 Log: Ok jhb, lets move the ifa_free() down to the bottom

svn commit: r239334 - head/sys/netinet

2012-08-16 Thread Randall Stewart
Author: rrs Date: Thu Aug 16 17:55:16 2012 New Revision: 239334 URL: http://svn.freebsd.org/changeset/base/239334 Log: Its never a good idea to double free the same address. MFC after:1 week (after the other commits ahead of this gets MFC'd) Modified: head/sys/netinet/in.c

svn commit: r239353 - head/sys/netinet

2012-08-16 Thread Randall Stewart
Author: rrs Date: Fri Aug 17 05:51:46 2012 New Revision: 239353 URL: http://svn.freebsd.org/changeset/base/239353 Log: Ok jhb, lets move the ifa_free() down to the bottom to assure that *all* tables and such are removed before we start to free. This won't protect the Hash in ip_input.c

svn commit: r236951 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 10:44:09 2012 New Revision: 236951 URL: http://svn.freebsd.org/changeset/base/236951 Log: Allow a gif tunnel to be used with ALTq. Reviewed by: gnn Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c

svn commit: r236954 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 12:40:15 2012 New Revision: 236954 URL: http://svn.freebsd.org/changeset/base/236954 Log: Opps forgot to commit the flag. Modified: head/sys/net/if.h Modified: head/sys/net/if.h == ---

svn commit: r236955 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 12:44:17 2012 New Revision: 236955 URL: http://svn.freebsd.org/changeset/base/236955 Log: Note to self. Have morning coffee *before* committing things. There is no mac_addr in the mbuf for BSD.. cheat like we are supposed to and use the csum field since our

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

2012-06-12 Thread Randall Stewart
That actually will not effect things. Since the packet is on the way out. If the csum_data field gets set on the way in (not out)… so reusing it here I think is safe. R On Jun 12, 2012, at 8:53 AM, Bjoern A. Zeeb wrote: On 12. Jun 2012, at 12:44 , Randall Stewart wrote: Author: rrs Date

svn commit: r236957 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 13:31:32 2012 New Revision: 236957 URL: http://svn.freebsd.org/changeset/base/236957 Log: Fix comment to better reflect how we are cheating and using the csum_data. Also fix style issues with the comments. Modified: head/sys/net/if_gif.c Modified:

svn commit: r233660 - head/sys/netinet

2012-03-29 Thread Randall Stewart
Author: rrs Date: Thu Mar 29 13:36:53 2012 New Revision: 233660 URL: http://svn.freebsd.org/changeset/base/233660 Log: Make stream our stream reset implementation compliant to RFC6525. MFC after:1 month Modified: head/sys/netinet/sctp.h head/sys/netinet/sctp_constants.h

svn commit: r232866 - head/sys/netinet

2012-03-12 Thread Randall Stewart
Author: rrs Date: Mon Mar 12 15:05:17 2012 New Revision: 232866 URL: http://svn.freebsd.org/changeset/base/232866 Log: This fixes PR 165210. Basically we just add in the netgraph interface to the list of acceptable interfaces. A todo at the next IETF code blitz, though is we need to

Re: svn commit: r217592 - head/sys/netinet

2011-03-31 Thread Randall Stewart
is correct. R On Mar 29, 2011, at 2:01 PM, John Baldwin wrote: On Wednesday, January 19, 2011 2:07:16 pm Randall Stewart wrote: Author: rrs Date: Wed Jan 19 19:07:16 2011 New Revision: 217592 URL: http://svn.freebsd.org/changeset/base/217592 Log: Fix a bug where Multicast packets sent

Re: svn commit: r217592 - head/sys/netinet

2011-03-30 Thread Randall Stewart
: On Wednesday, January 19, 2011 2:07:16 pm Randall Stewart wrote: Author: rrs Date: Wed Jan 19 19:07:16 2011 New Revision: 217592 URL: http://svn.freebsd.org/changeset/base/217592 Log: Fix a bug where Multicast packets sent from a udp endpoint may end up echoing back to the sender even with OUT

svn commit: r219397 - head/sys/netinet

2011-03-08 Thread Randall Stewart
Author: rrs Date: Tue Mar 8 11:58:25 2011 New Revision: 219397 URL: http://svn.freebsd.org/changeset/base/219397 Log: Tunes and fixes the new DC-CC to seem to hit the right mix. Still may need some tweaks but it appears to almost not give away too much to an RFC2581 flow, but can really

svn commit: r219120 - head/sys/netinet

2011-02-28 Thread Randall Stewart
Author: rrs Date: Tue Mar 1 00:37:46 2011 New Revision: 219120 URL: http://svn.freebsd.org/changeset/base/219120 Log: Adds a new Congestion Control that helps reduce the RTT that a flow will build up in buffers in transit. It is a slight modification to RFC2581 but is more friendly i.e.

svn commit: r219057 - head/sys/netinet

2011-02-26 Thread Randall Stewart
Author: rrs Date: Sat Feb 26 15:23:46 2011 New Revision: 219057 URL: http://svn.freebsd.org/changeset/base/219057 Log: Improvements to CC modules: 1) Add four new points that allow you to get more information to cc algo's 2) Fix the case where user changes module on a existing TCB, in

svn commit: r218641 - head/sys/netinet

2011-02-13 Thread Randall Stewart
Author: rrs Date: Sun Feb 13 14:48:11 2011 New Revision: 218641 URL: http://svn.freebsd.org/changeset/base/218641 Log: Fix a bug reported by Jonathan Leighton in his web-sctp testing at the Univ-of-Del. Basically when a 1-to-1 socket did a socket/bind/send(data)/close. If the timing was

svn commit: r218319 - in head/sys: netinet netinet6

2011-02-05 Thread Randall Stewart
@@ /*- * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved. + * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification

Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-04 Thread Randall Stewart
On Feb 4, 2011, at 1:40 AM, Robert Watson wrote: On Thu, 3 Feb 2011, Randall Stewart wrote: Author: rrs Date: Thu Feb 3 10:05:30 2011 New Revision: 218211 URL: http://svn.freebsd.org/changeset/base/218211 Log: Adds an experimental option to create a pool of threads. These serve

svn commit: r218269 - head/sys/netinet

2011-02-04 Thread Randall Stewart
) @@ -1,8 +1,7 @@ /*- * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. - * Copyright (c) 2008-2011, by Randall Stewart, r...@lakerest.net and - * Michael Tuexen, tue...@fh-muenster.de - * All rights reserved. + * Copyright (c

<    1   2   3   4   >