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 f

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: head/sy

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 s

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: head/sys/netinet

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 wrote: > On 16 December 2015 at 00:56, Randall Stewart wrote: >> Au

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
> [-Wredundant-decls] > /scratch/tmp/emaste/freebsd/sys/netinet/tcp_var.h:740: warning: > previous declaration of 'tcp_pulloutofband' was here > /scratch/tmp/emaste/freebsd/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:153: > warning: redundant redecl

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 this.

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 silverm

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: 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: head/sys/dev/hwpmc/hwpmc_l

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: 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: 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, whic

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 need

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 wrote: > 14.11.2015, 00:41, "Randall Stewart" : >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other values and did not change.. maybe ti should say posit

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 indi

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 wrote: > 14.11.2015, 00:41, "Randall Stewart" : >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other values and did not change.. maybe ti should say p

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 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 >> >> callout_stop()’s define to use the

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

2015-11-13 Thread Randall Stewart via svn-src-all
in nd6_llinfo_settimer_locked() assumes > that callout_reset() returns >0 for stopped callout. The man page still says > "non-zero value" for that case. > (And that was the reason of writing comment to D4076 on inconsistent > callout_reset() return value). > > > > 14.1

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 wrote: > > > 13.11.2015, 23:59, "Randall Stewart" : >> Strange >> >> I went looking through all calls to callout stop with cscope and saw >> no one paying atte

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 wrote: > No alexander’s panic’s are because the > LLREF > is done if (callout_stop())

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 wrote: > On 11/13/2015 1:00 PM, Randall Stewart wrote: >> Bryan: >> >> Thi

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 wrote: > 10.11.2015, 17:49, "Randall Stewart" : >> Author: rrs >> Date: Tue Nov 10 14:49:32 2015 >> New Revision: 290664 >> URL: https://svnweb.free

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

2015-11-13 Thread Randall Stewart via svn-src-all
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" : >>>> Author: rrs >>>> Date: Tue Nov 10 14:49:32 2015 >>>> New Revision: 2

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

2015-11-13 Thread Randall Stewart via svn-src-all
:49, "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 >>

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 wrote: > >> On 12 Nov 2015, at 10:31 , Randall Stewart wrote: >> >> Author: rrs >> Date: Thu Nov 12 10:31:14 2015 >> N

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

2015-11-12 Thread Randall Stewart
e number +of CPU's that were put 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 w

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: head/sys/tests/callout

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 ===

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 wrote: > On 11/10/15 15:49, Randall Stewart wrote: >> +#define callout_async_d

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). Sponsore

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 director

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:https://reviews.fr

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

2015-09-16 Thread Randall Stewart via svn-src-all
=== > --- 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 callout_ac

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: 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 SA

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 mo

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: head/sys/netinet6/udp6_u

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 sure

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 stable/10/sys/netgraph/at

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 Mo

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 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 >

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 days

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, head/usr.sbin/pmcstudy/pmcst

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 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:

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

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 Wa

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
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

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 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

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
ote: > On Saturday, March 28, 2015 01:48:49 PM Davide Italiano wrote: >> On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart wrote: >>> Hmm does the KPI include the size of the callout structure (which is >>> private)? >>> >> >> It's KBI, not

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 wrote: > On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart wrote: >> Hmm does the KPI include the size of the callout structure (which is >> private)? >> > > It's KBI, not KPI. > >> If so I suppos

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 pl

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
s as well. So for example you can do a standard efficency +test like +.FL E +"UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD_P)". + +.It Fl L +This option will list all known PMC's and there abbreviation (%NNN). +.Sh SEE ALSO +.Xr pmc

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, head/us

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 cras

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 the

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
ke a while to get right. Peter Holm (thank you so much) has been pounding on this, if you could find another test to add.. that would be great. I think this will work the way it is.. R On Feb 13, 2015, at 4:21 PM, Gleb Smirnoff wrote: > 165863 Randall Stewart r...@netflix.com

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 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> > Ne

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 made

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 metho

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 if

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 the

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

2015-01-22 Thread Randall Stewart
” some issues, but given the >>> performance regression, it sure seems like we may need a different >>> solution to be implemented and hashing that out in a branch might be >>> the best approach. >> >> Thank you. A more incremental approach would be appreciat

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

2015-01-22 Thread Randall Stewart
>> > > Hi, > > Are you saying that pieces of code that runs completely unlocked using > "volatile" as only synchronization mechanism is better than what I would call > a temporary and hopefully short TCP stack performance loss? > > I don't und

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 P

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-18 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 oppo

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: 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: stable/9/sys/netinet

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) stable/8/sys/neti

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: > -- Randall Stewart 803-317-4

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 cop

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 both

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 t

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: >&

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 but

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

2012-08-16 Thread Randall Stewart
On Aug 16, 2012, at 3:34 PM, John Baldwin wrote: > On Thursday, August 16, 2012 1:55:17 pm Randall Stewart wrote: >> Author: rrs >> Date: Thu Aug 16 17:55:16 2012 >> New Revision: 239334 >> URL: http://svn.freebsd.org/changeset/base/239334 >> >> Log: >&

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 Modifie

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: head/sys/ne

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: > >&

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 frien

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 == --- he

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: 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 head/sy

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 review

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 >> >

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 >

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. l

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 righ

svn commit: r218393 - head/sys/netinet

2011-02-07 Thread Randall Stewart
Author: rrs Date: Mon Feb 7 08:12:24 2011 New Revision: 218393 URL: http://svn.freebsd.org/changeset/base/218393 Log: If not set (due to some error Michael is working on fixing) set it for the net. MFC after:3 months Modified: head/sys/netinet/sctp_output.c Modified: head/sys/net

svn commit: r218392 - head/sys/netinet

2011-02-07 Thread Randall Stewart
Author: rrs Date: Mon Feb 7 08:10:29 2011 New Revision: 218392 URL: http://svn.freebsd.org/changeset/base/218392 Log: 1) Track when flowid does get set. MFC after:3 months Modified: head/sys/netinet/sctp_input.c head/sys/netinet/sctp_pcb.c head/sys/netinet/sctp_structs.h Modified:

<    1   2   3   4   5   >