Author: andre
Date: Wed Sep 15 09:38:01 2010
New Revision: 212644
URL: http://svn.freebsd.org/changeset/base/212644
Log:
MFC r211874:
Use timestamp modulo comparison macro for automatic receive buffer
scaling to correctly handle wrapping of ticks value.
Modified:
stable/8/sys/netin
Author: andre
Date: Wed Sep 15 09:38:42 2010
New Revision: 212645
URL: http://svn.freebsd.org/changeset/base/212645
Log:
MFC r211874:
Use timestamp modulo comparison macro for automatic receive buffer
scaling to correctly handle wrapping of ticks value.
Modified:
stable/7/sys/netin
Author: andre
Date: Wed Sep 15 10:39:30 2010
New Revision: 212653
URL: http://svn.freebsd.org/changeset/base/212653
Log:
Change the default MSS for IPv4 and IPv6 TCP connections from an
artificial power-of-2 rounded number to their real values specified
in RFC879 and RFC2460.
From the h
On 15.09.2010 13:51, Lawrence Stewart wrote:
On 09/15/10 20:39, Andre Oppermann wrote:
Author: andre
Date: Wed Sep 15 10:39:30 2010
New Revision: 212653
URL: http://svn.freebsd.org/changeset/base/212653
Log:
Change the default MSS for IPv4 and IPv6 TCP connections from an
artificial
On 15.09.2010 18:12, John Baldwin wrote:
On Wednesday, September 15, 2010 10:04:45 am Andre Oppermann wrote:
Below is the wording proposed by Lawrence:
/*
* The default Maximum Segment Size (MSS) to use when we do not have specific
* knowledge (e.g. via path MTU discovery) that the
Author: andre
Date: Thu Sep 16 12:13:06 2010
New Revision: 212731
URL: http://svn.freebsd.org/changeset/base/212731
Log:
Improve comment to TCP_MINMSS by taking the wording from lstewart (with
a small difference in the last paragraph though) as suggested by jhb.
Clarify that the 'reviewed
Author: andre
Date: Thu Sep 16 21:06:45 2010
New Revision: 212765
URL: http://svn.freebsd.org/changeset/base/212765
Log:
Remove the TCP inflight bandwidth limiter as announced in r211315
to give way for the pluggable congestion control framework. It is
the task of the congestion control alg
Author: andre
Date: Thu Sep 16 22:11:55 2010
New Revision: 212769
URL: http://svn.freebsd.org/changeset/base/212769
Log:
The inflight bandwidth limiter was removed in r212765.
Modified:
head/share/man/man4/tcp.4
Modified: head/share/man/man4/tcp.4
Author: andre
Date: Fri Sep 17 22:05:27 2010
New Revision: 212803
URL: http://svn.freebsd.org/changeset/base/212803
Log:
Rearrange the TSO code to make it more readable and to clearly
separate the decision logic, of whether we can do TSO, and the
calculation of the burst length into two dist
On 18.09.2010 13:34, Bjoern A. Zeeb wrote:
On Fri, 17 Sep 2010, Andre Oppermann wrote:
@@ -487,22 +482,15 @@ after_sack_rexmit:
*/
ipsec_optlen = ipsec_hdrsiz_tcp(tp);
#endif
- if (len > tp->t_maxseg) {
- if ((tp->t_flags & TF_TSO) && V_tcp_do_tso &&
- ((tp-
On 23.10.2010 15:10, Bjoern A. Zeeb wrote:
On Fri, 17 Sep 2010, Andre Oppermann wrote:
Author: andre
Date: Fri Sep 17 22:05:27 2010
New Revision: 212803
URL: http://svn.freebsd.org/changeset/base/212803
Log:
Rearrange the TSO code to make it more readable and to clearly
separate the decision
Author: andre
Date: Tue Sep 15 22:23:45 2009
New Revision: 197236
URL: http://svn.freebsd.org/changeset/base/197236
Log:
-Put the optimized soreceive_stream() under a compile time option called
TCP_SORECEIVE_STREAM for the time being.
Requested by: brooks
Once compiled in make it eas
Andre Oppermann wrote:
Author: andre
Date: Tue Sep 15 22:23:45 2009
New Revision: 197236
URL: http://svn.freebsd.org/changeset/base/197236
Log:
-Put the optimized soreceive_stream() under a compile time option called
TCP_SORECEIVE_STREAM for the time being.
Requested by: brooks
Author: andre
Date: Fri Oct 7 13:43:01 2011
New Revision: 226105
URL: http://svn.freebsd.org/changeset/base/226105
Log:
Add back the IP header length to the total packet length field on
raw IP sockets. It was deducted in ip_input() in preparation for
protocols interested only in the payloa
Author: andre
Date: Fri Oct 7 16:39:03 2011
New Revision: 226113
URL: http://svn.freebsd.org/changeset/base/226113
Log:
Prevent TCP sessions from stalling indefinitely in reassembly
when reaching the zone limit of reassembly queue entries.
When the zone limit was reached not even the mis
ed and awaiting
approval, so you weren't to
know.
Anyhoo, I guess I'll leave it up to you and re@ to sort out how you want to
proceed, but wanted to
make sure everyone was on the same page as RE would have gotten confused when
you requested your
patch be MFCed.
Cheers,
Lawrence
On 10/08/
Author: andre
Date: Mon Oct 10 18:26:23 2011
New Revision: 226228
URL: http://svn.freebsd.org/changeset/base/226228
Log:
MFC r226113:
Prevent TCP sessions from stalling indefinitely in reassembly
when reaching the zone limit of reassembly queue entries.
Approved by: re (kib)
Modif
Author: andre
Date: Wed Oct 12 11:34:14 2011
New Revision: 226299
URL: http://svn.freebsd.org/changeset/base/226299
Log:
MFC r226105:
Add back the IP header length to the total packet length field on
raw IP sockets. It was deducted in ip_input() in preparation for
protocols interest
Author: andre
Date: Sun Oct 16 13:54:46 2011
New Revision: 226433
URL: http://svn.freebsd.org/changeset/base/226433
Log:
Update the comment and description of tcp_sendspace and tcp_recvspace
to better reflect their purpose.
MFC after:1 week
Modified:
head/sys/netinet/tcp_usrreq.c
Mod
Author: andre
Date: Sun Oct 16 15:08:43 2011
New Revision: 226437
URL: http://svn.freebsd.org/changeset/base/226437
Log:
VNET virtualize tcp_sendspace/tcp_recvspace and change the
type to INT. A long is not necessary as the TCP window is
limited to 2**30. A larger initial window isn't usef
Author: andre
Date: Sun Oct 16 20:06:44 2011
New Revision: 226447
URL: http://svn.freebsd.org/changeset/base/226447
Log:
Remove the ss_fltsz and ss_fltsz_local sysctl's which have
long been superseded by the RFC3390 initial CWND sizing.
Also remove the remnants of TCP_METRICS_CWND which u
Author: andre
Date: Sun Oct 16 20:18:39 2011
New Revision: 226448
URL: http://svn.freebsd.org/changeset/base/226448
Log:
Move the tcp_sendspace and tcp_recvspace sysctl's from
the middle of tcp_usrreq.c to the top of tcp_output.c
and tcp_input.c respectively next to the socket buffer
autos
On 17.10.2011 02:16, Bjoern A. Zeeb wrote:
On 17. Oct 2011, at 00:05 , Bjoern A. Zeeb wrote:
Author: bz
Date: Mon Oct 17 00:05:31 2011
New Revision: 226454
URL: http://svn.freebsd.org/changeset/base/226454
Log:
Add syntactic sugar missed in r226437 and then not added either when moving
th
On 02.11.2011 22:01, Sergey Kandaurov wrote:
On 2 November 2011 21:40, Sergey Kandaurov wrote:
On 2 November 2011 20:34, Anton Yuzhaninov wrote:
On 10/16/11 19:08, Andre Oppermann wrote:
Author: andre
Date: Sun Oct 16 15:08:43 2011
New Revision: 226437
URL: http://svn.freebsd.org/changeset
Author: andre
Date: Thu Nov 10 19:10:53 2011
New Revision: 227423
URL: http://svn.freebsd.org/changeset/base/227423
Log:
Back out r226299 (MFC of r226105) which caused a number of ports
that depend on the incorrect IP length field. The fix stays in
HEAD and ports should test for it.
Re
Author: andre
Date: Mon Nov 14 15:10:42 2011
New Revision: 227499
URL: http://svn.freebsd.org/changeset/base/227499
Log:
Note the ip_len bug fixed in r226105 in the BUGS section.
Modified:
head/share/man/man4/ip.4
Modified: head/share/man/man4/ip.4
===
Author: andre
Date: Mon Nov 14 15:14:42 2011
New Revision: 227500
URL: http://svn.freebsd.org/changeset/base/227500
Log:
Remove mention of ss_fltsz and ss_fltsz_local which were retired in r226447.
Modified:
head/share/man/man4/tcp.4
Modified: head/share/man/man4/tcp.4
==
On 14.11.2011 16:38, Garrett Cooper wrote:
On Mon, Nov 14, 2011 at 7:10 AM, Andre Oppermann wrote:
Author: andre
Date: Mon Nov 14 15:10:42 2011
New Revision: 227499
URL: http://svn.freebsd.org/changeset/base/227499
Log:
Note the ip_len bug fixed in r226105 in the BUGS section.
Modified
Author: andre
Date: Mon Nov 14 15:57:03 2011
New Revision: 227501
URL: http://svn.freebsd.org/changeset/base/227501
Log:
mdoc fix for r227499.
Reported by: brueffer
Modified:
head/share/man/man4/ip.4
Modified: head/share/man/man4/ip.4
===
Author: andre
Date: Thu Jul 7 10:37:14 2011
New Revision: 223839
URL: http://svn.freebsd.org/changeset/base/223839
Log:
Remove the TCP_SORECEIVE_STREAM compile time option. The use of
soreceive_stream() for TCP still has to be enabled with the loader
tuneable net.inet.tcp.soreceive_stream.
On 08.07.2011 11:38, Marko Zec wrote:
Author: zec
Date: Fri Jul 8 09:38:33 2011
New Revision: 223862
URL: http://svn.freebsd.org/changeset/base/223862
Log:
Permit ARP to proceed for IPv4 host routes for which the gateway is the
same as the host address. This already works fine for INET6
Author: andre
Date: Fri Jul 8 10:50:13 2011
New Revision: 223863
URL: http://svn.freebsd.org/changeset/base/223863
Log:
In the experimental soreceive_stream():
o Move the non-blocking socket test below the SBS_CANTRCVMORE so that EOF
is correctly returned on a remote connection close
Robert Watson wrote:
On Sun, 19 Apr 2009, Kip Macy wrote:
Author: kmacy
Date: Sun Apr 19 04:44:05 2009
New Revision: 191259
URL: http://svn.freebsd.org/changeset/base/191259
Log:
- Allocate a small flowtable in ip_input.c (changeable by tuneable)
- Use for accelerating ip_output
If you ant
On 18.06.2013 06:50, Jeff Roberson wrote:
Author: jeff
Date: Tue Jun 18 04:50:20 2013
New Revision: 251894
URL: http://svnweb.freebsd.org/changeset/base/251894
Log:
Refine UMA bucket allocation to reduce space consumption and improve
performance.
- Always free to the alloc bucket if t
On 18.06.2013 18:40, Tijl Coosemans wrote:
On 2013-06-18 04:53, Peter Wemm wrote:
Author: peter
Date: Tue Jun 18 02:53:45 2013
New Revision: 251886
URL: http://svnweb.freebsd.org/changeset/base/251886
Log:
Introduce svnlite so that we can check out our source code again.
This is actually
On 18.06.2013 19:04, Alexey Dokuchaev wrote:
Being able to checkout the sources is very desirable, but not at the
cost of importing another heavy 3rd-party tool, which Subversion is.
Just wanted to note that applaud Peter for actually doing something (tm)
even though it came as a surprise to m
On 25.06.2013 20:44, John Baldwin wrote:
Author: jhb
Date: Tue Jun 25 18:44:15 2013
New Revision: 252209
URL: http://svnweb.freebsd.org/changeset/base/252209
Log:
Several improvements to rmlock(9). Many of these are based on patches
provided by Isilon.
- Add an rm_assert() supporting v
Author: andre
Date: Fri Jul 5 13:48:32 2013
New Revision: 252781
URL: http://svnweb.freebsd.org/changeset/base/252781
Log:
MFC r291296, r291297, r291393:
Allow drivers to specify a maximum TSP length in bytes if they
are limited in the amount of data they can handle at once.
Appl
Author: andre
Date: Fri Jul 5 14:08:36 2013
New Revision: 252782
URL: http://svnweb.freebsd.org/changeset/base/252782
Log:
MFC r242306, r250365:
Add logging for socket attach failures in sonewconn() during accept(2).
Include the pointer to the PCB so it can be attributed to a particula
Author: andre
Date: Fri Jul 5 14:12:26 2013
New Revision: 252783
URL: http://svnweb.freebsd.org/changeset/base/252783
Log:
MFC r243627, r243638:
Fix a race on listen socket teardown where while draining the
accept queues a new socket/connection may be added to the queue
due to a rac
Author: andre
Date: Fri Jul 5 14:18:09 2013
New Revision: 252785
URL: http://svnweb.freebsd.org/changeset/base/252785
Log:
MFC r242309:
Fix a couple of soreceive_stream() issues.
Submitted by:trociny
Modified:
stable/9/sys/kern/uipc_socket.c
Directory Properties:
stable
Author: andre
Date: Fri Jul 5 14:24:37 2013
New Revision: 252786
URL: http://svnweb.freebsd.org/changeset/base/252786
Log:
MFC r249809:
When doing RFC3042 limited transmit on the first on second
duplicate ACK make sure we actually have new data to send.
This prevents us from sending
Author: andre
Date: Fri Jul 5 14:30:54 2013
New Revision: 252787
URL: http://svnweb.freebsd.org/changeset/base/252787
Log:
MFC r249317:
Fix a race condition on tcp listen socket teardown with pending
connections in the accept queue and contiguous new incoming SYNs.
Compared to th
Author: andre
Date: Fri Jul 5 14:50:06 2013
New Revision: 252788
URL: http://svnweb.freebsd.org/changeset/base/252788
Log:
MFC r226447:
Remove the ss_fltsz and ss_fltsz_local sysctl's which have
long been superseded by the RFC3390 initial CWND sizing.
Also remove the remnants of
Author: andre
Date: Fri Jul 5 14:58:24 2013
New Revision: 252789
URL: http://svnweb.freebsd.org/changeset/base/252789
Log:
MFC r242266:
Increase the initial CWND to 10 segments as defined in IETF TCPM
draft-ietf-tcpm-initcwnd-05. It explains why the increased initial
window improves
Author: andre
Date: Fri Jul 5 15:18:54 2013
New Revision: 252790
URL: http://svnweb.freebsd.org/changeset/base/252790
Log:
MFC r242253:
Simplify implementation of net.inet.tcp.reass.maxsegments and
net.inet.tcp.reass.cursegments.
MFC r242254:
Change the syncache count report
Author: andre
Date: Fri Jul 5 15:26:12 2013
New Revision: 252791
URL: http://svnweb.freebsd.org/changeset/base/252791
Log:
MFC r243147:
Change fetch(1) to:
o Report the instantaneous bandwidth instead of an average since the
beginning of the download.
o At the finish of the dow
Author: andre
Date: Fri Jul 5 15:30:02 2013
New Revision: 252792
URL: http://svnweb.freebsd.org/changeset/base/252792
Log:
MFC r244039:
Remove outdated reference to tcp inflight tuning.
Modified:
stable/9/share/man/man7/tuning.7
Directory Properties:
stable/9/ (props changed)
sta
Author: andre
Date: Fri Jul 5 15:47:59 2013
New Revision: 252793
URL: http://svnweb.freebsd.org/changeset/base/252793
Log:
MFC r242251, r242311:
Defer sending an independent window update if a delayed ACK is pending
saving a packet. The window update then gets piggy-backed on the next
Author: andre
Date: Fri Jul 5 15:57:36 2013
New Revision: 252794
URL: http://svnweb.freebsd.org/changeset/base/252794
Log:
MFC r242257:
Remove bogus 'else' in #ifdef that prevented the rttvar from being reset
tcp_timer_rexmt() on retransmit for IPv6 sessions.
MFC r242260:
Wh
Author: andre
Date: Fri Jul 5 16:03:19 2013
New Revision: 252796
URL: http://svnweb.freebsd.org/changeset/base/252796
Log:
MFC r242256:
Improve m_cat() by being able to also merge contents from M_EXT
mbuf's by doing proper testing with M_WRITABLE().
In m_collapse() replace an inc
Author: andre
Date: Fri Jul 5 18:51:21 2013
New Revision: 252823
URL: http://svnweb.freebsd.org/changeset/base/252823
Log:
MFC r243628:
Update comment to prefer M_NOWAIT over M_DONTWAIT and
M_WAITOK over M_WAIT.
Modified:
stable/9/sys/sys/mbuf.h
Directory Properties:
stable/9/sy
Author: andre
Date: Fri Jul 5 18:56:04 2013
New Revision: 252824
URL: http://svnweb.freebsd.org/changeset/base/252824
Log:
MFC r242998:
Remove description of deprecated IP fragment checksum support.
Since SMPng it wasn't really supported anymore and if it worked
then only by chan
Author: andre
Date: Fri Jul 5 19:11:12 2013
New Revision: 252825
URL: http://svnweb.freebsd.org/changeset/base/252825
Log:
MFC r242308:
Define the delayed ACK timeout value directly as hz/10 instead of
obfuscating it by going through PR_FASTHZ. No functional change.
Modified:
sta
Author: andre
Date: Fri Jul 5 19:36:34 2013
New Revision: 252828
URL: http://svnweb.freebsd.org/changeset/base/252828
Log:
MFC r243624:
Remove unused and unnecessary CSUM_IP_FRAGS checksumming capability.
Checksumming the IP header of fragments is no different from doing
normal I
Author: andre
Date: Fri Jul 5 19:43:33 2013
New Revision: 252831
URL: http://svnweb.freebsd.org/changeset/base/252831
Log:
MFC r241724:
Remove splimp() comment from sysinit table and attribute SI_SUB_PROTO_BEGIN
and SI_SUB_PROTO_END to VNET related initializations.
Modified:
stabl
Author: andre
Date: Fri Jul 5 20:11:27 2013
New Revision: 252835
URL: http://svnweb.freebsd.org/changeset/base/252835
Log:
MFC r226433:
Update the comment and description of tcp_sendspace and tcp_recvspace
to better reflect their purpose.
MFC r226437:
VNET virtualize tcp_sen
Author: andre
Date: Fri Jul 5 21:33:32 2013
New Revision: 252843
URL: http://svnweb.freebsd.org/changeset/base/252843
Log:
MFC r241703:
Remove double-wrapping of #ifdef ZERO_COPY_SOCKETS within
zero copy specialized sosend_copyin() helper function.
MFC r241704:
Remove unn
Author: andre
Date: Mon Jul 8 13:24:18 2013
New Revision: 253035
URL: http://svnweb.freebsd.org/changeset/base/253035
Log:
MFC r241726:
Move UMA socket zone initialization from uipc_domain.c to uipc_socket.c
into one place next to its other related functions to avoid confusion.
MF
On 09.07.2013 11:32, Andrey V. Elsukov wrote:
Author: ae
Date: Tue Jul 9 09:32:06 2013
New Revision: 253081
URL: http://svnweb.freebsd.org/changeset/base/253081
Log:
Prepare network statistics structures for migration to PCPU counters.
Use uint64_t as type for all fields of structures.
Author: andre
Date: Wed Jul 10 12:06:01 2013
New Revision: 253150
URL: http://svnweb.freebsd.org/changeset/base/253150
Log:
Extend debug logging of TCP timestamp related specification
violations.
Update related comments and style.
Modified:
head/sys/netinet/tcp_input.c
head/sys/netin
Author: andre
Date: Thu Jul 11 12:46:35 2013
New Revision: 253204
URL: http://svnweb.freebsd.org/changeset/base/253204
Log:
Fix style issues, a typo in "kern.ipc.nmbufs" and correctly plave and
expose the value of the tunable maxmbufmem as "kern.ipc.maxmbufmem"
through sysctl.
Reported
Author: andre
Date: Thu Jul 11 12:53:13 2013
New Revision: 253207
URL: http://svnweb.freebsd.org/changeset/base/253207
Log:
Make use of the fact that uma_zone_set_max(9) already returns the
rounded limit making a call to uma_zone_get_max(9) unnecessary.
MFC after:1 day
Modified:
he
=
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/crypto/siphash/siphash.c Thu Jul 11 14:18:38 2013
(r253208)
@@ -0,0 +1,241 @@
+/*-
+ * Copyright (c) 2013 Andre Oppermann
+ * All rights reserved.
+ *
+ * Red
* Copyright (c) 2006 Andre Oppermann, Internet Business Solutions AG
+ * Copyright (c) 2006,2013 Andre Oppermann, Internet Business Solutions AG
* All rights reserved.
*
* This software was developed for the FreeBSD Project by Jonathan Lemon
* and McAfee Research, the Security Research Div
On 11.07.2013 16:18, Andre Oppermann wrote:
Author: andre
Date: Thu Jul 11 14:18:38 2013
New Revision: 253208
URL: http://svnweb.freebsd.org/changeset/base/253208
Log:
SipHash is a cryptographically strong pseudo-random function (a.k.a. keyed
hash function) optimized for speed on short
Author: andre
Date: Thu Jul 11 16:27:11 2013
New Revision: 253214
URL: http://svnweb.freebsd.org/changeset/base/253214
Log:
Fix const propagation issues to make GCC happy.
Submitted by: Michael Butler
Modified:
head/sys/crypto/siphash/siphash.c
Modified: head/sys/crypto/siphash/siphash
Author: andre
Date: Fri Jul 12 07:43:56 2013
New Revision: 253254
URL: http://svnweb.freebsd.org/changeset/base/253254
Log:
Unbreak VIMAGE by correctly naming the vnet pointer in struct tcp_syncache.
Reported by: trociny, rodrigc
Modified:
head/sys/netinet/tcp_syncache.h
Modified: head
On 12.07.2013 09:43, Andre Oppermann wrote:
Author: andre
Date: Fri Jul 12 07:43:56 2013
New Revision: 253254
URL: http://svnweb.freebsd.org/changeset/base/253254
Log:
Unbreak VIMAGE by correctly naming the vnet pointer in struct tcp_syncache.
Reported by: trociny, rodrigc
Sorry for
On 15.07.2013 20:38, Mikolaj Golub wrote:
On Mon, Jul 15, 2013 at 11:36:16AM +0200, Ulrich Spörlein wrote:
Hey Andre,
I don't see why this commit triggers it, but Coverity Scan found a new
resource leak in this file. syncache_expand() will leak *s when line
1071 is reached. The "failed:" case b
Author: andre
Date: Tue Jul 16 16:37:08 2013
New Revision: 253395
URL: http://svnweb.freebsd.org/changeset/base/253395
Log:
Free the non-fatal "timestamp missing" debug string manually as it is
not covered by the catch-all free for the error cases.
Found by: Coverity
Modified:
head
Author: andre
Date: Fri Mar 8 10:14:58 2013
New Revision: 248031
URL: http://svnweb.freebsd.org/changeset/base/248031
Log:
Move the auto-sizing of the callout array from init_param2() to
kern_timeout_callwheel_alloc() where it is actually used.
This is a mechanical move and no tuning par
Author: andre
Date: Fri Mar 8 10:37:17 2013
New Revision: 248032
URL: http://svnweb.freebsd.org/changeset/base/248032
Log:
Move the callout subsystem initialization to its own SYSINIT()
from being indirectly called via cpu_startup()+vm_ksubmap_init().
The boot order position remains the sam
On 09.03.2013 21:03, Davide Italiano wrote:
Author: davide
Date: Sat Mar 9 20:03:10 2013
New Revision: 248113
URL: http://svnweb.freebsd.org/changeset/base/248113
Log:
Fixup r248032:
Change size requested to malloc(9) now that callwheel buckets are
callout_list and not callout_tailq an
Author: andre
Date: Sun Mar 10 22:55:35 2013
New Revision: 248141
URL: http://svnweb.freebsd.org/changeset/base/248141
Log:
Bring back the comment on the sizing of the callout array that got
lost in r248031.
Requested by: alc, alfred
Modified:
head/sys/kern/kern_timeout.c
Modified: he
On 08.03.2013 19:17, Alan Cox wrote:
On 03/08/2013 04:14, Andre Oppermann wrote:
Author: andre
Date: Fri Mar 8 10:14:58 2013
New Revision: 248031
URL: http://svnweb.freebsd.org/changeset/base/248031
Log:
Move the auto-sizing of the callout array from init_param2() to
On 12.03.2013 13:19, Gleb Smirnoff wrote:
Author: glebius
Date: Tue Mar 12 12:19:23 2013
New Revision: 248196
URL: http://svnweb.freebsd.org/changeset/base/248196
Log:
Use m_get2() to get mbuf of appropriate size.
The problem with m_get2() is that it will attempt to use jumbo mbufs
larger t
On 12.03.2013 16:00, Gleb Smirnoff wrote:
Andre,
On Tue, Mar 12, 2013 at 03:23:16PM +0100, Andre Oppermann wrote:
A> On 12.03.2013 13:19, Gleb Smirnoff wrote:
A> > Author: glebius
A> > Date: Tue Mar 12 12:19:23 2013
A> > New Revision: 248196
A> > URL: http://svnweb
On 12.03.2013 16:50, Gleb Smirnoff wrote:
On Tue, Mar 12, 2013 at 04:31:05PM +0100, Andre Oppermann wrote:
A> > If you are concerned about using jumbos that are > PAGE_SIZE, then I can
A> > extend API in my patch. ... done.
A> >
A> > Patch attached.
A> >
A> &
On 12.03.2013 20:49, Gleb Smirnoff wrote:
Andre,
On Tue, Mar 12, 2013 at 05:33:04PM +0100, Andre Oppermann wrote:
A> > We have very common case when we allocate either mbuf or mbuf + cluster,
A> > depending on size. Everywhere this is made by hand, but can be substituted
A> &g
On 13.03.2013 16:18, Gleb Smirnoff wrote:
Okay,
I will redo my patch to make default not to allow > PAGE_SIZE
clusters.
Thanks.
On Tue, Mar 12, 2013 at 10:19:05PM +0100, Andre Oppermann wrote:
A> Jumbos always were physically contiguous. That was the very reason for
A&
On 15.03.2013 13:53, Gleb Smirnoff wrote:
Author: glebius
Date: Fri Mar 15 12:53:53 2013
New Revision: 248323
URL: http://svnweb.freebsd.org/changeset/base/248323
Log:
- Use m_getcl() instead of hand allocating.
Sponsored by:Nginx, Inc.
Modified:
head/sys/netinet/tcp_output.c
On 15.03.2013 14:46, Gleb Smirnoff wrote:
On Fri, Mar 15, 2013 at 02:00:57PM +0100, Andre Oppermann wrote:
A> On 15.03.2013 13:53, Gleb Smirnoff wrote:
A> > Author: glebius
A> > Date: Fri Mar 15 12:53:53 2013
A> > New Revision: 248323
A> > URL: http://svnweb.freebsd.
On 17.03.2013 08:39, Gleb Smirnoff wrote:
Author: glebius
Date: Sun Mar 17 07:39:45 2013
New Revision: 248417
URL: http://svnweb.freebsd.org/changeset/base/248417
Log:
Add MEXT_ALIGN() macro, similar to M_ALIGN() and MH_ALIGN(), but for
mbufs with external buffer.
While you are cleaning
On 17.03.2013 10:33, Gleb Smirnoff wrote:
On Sun, Mar 17, 2013 at 10:02:09AM +0100, Andre Oppermann wrote:
A> On 17.03.2013 08:39, Gleb Smirnoff wrote:
A> > Author: glebius
A> > Date: Sun Mar 17 07:39:45 2013
A> > New Revision: 248417
A> > URL: http://svnweb.freebsd.
Author: andre
Date: Tue Apr 9 20:52:26 2013
New Revision: 249317
URL: http://svnweb.freebsd.org/changeset/base/249317
Log:
Fix a race condition on tcp listen socket teardown with pending
connections in the accept queue and contiguous new incoming SYNs.
Compared to the original submitters
Author: andre
Date: Tue Apr 9 21:02:20 2013
New Revision: 249318
URL: http://svnweb.freebsd.org/changeset/base/249318
Log:
Change certain heavily used network related mutexes and rwlocks to
reside on their own cache line to prevent false sharing with other
nearby structures, especially for
On 10.04.2013 02:35, Jim Harris wrote:
Author: jimharris
Date: Wed Apr 10 00:35:08 2013
New Revision: 249320
URL: http://svnweb.freebsd.org/changeset/base/249320
Log:
Fix the build.
Modified:
head/sys/kern/uipc_socket.c
Modified: head/sys/kern/uipc_socket.c
==
Author: andre
Date: Tue Apr 23 14:06:32 2013
New Revision: 249809
URL: http://svnweb.freebsd.org/changeset/base/249809
Log:
When doing RFC3042 limited transmit on the first on second
duplicate ACK make sure we actually have new data to send.
This prevents us from sending unneccessary pure AC
Author: andre
Date: Tue Apr 23 19:39:03 2013
New Revision: 249819
URL: http://svnweb.freebsd.org/changeset/base/249819
Log:
Activate src commit bit for cy (Cy Schubert), mentored by andre and glebius.
He's going to be the maintainer of the ipfilter firewall among other things.
Approved
Author: andre
Date: Tue Apr 23 19:40:20 2013
New Revision: 249820
URL: http://svnweb.freebsd.org/changeset/base/249820
Log:
Document the mentee/mentor relationship:
cy/andre+glebius
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
=
Author: andre
Date: Wed Apr 24 13:54:55 2013
New Revision: 249843
URL: http://svnweb.freebsd.org/changeset/base/249843
Log:
Base the calculation of maxmbufmem in part on kmem_map size
instead of kernel_map size to prevent kernel memory exhaustion
by mbufs and a subsequent panic on physical p
Author: andre
Date: Mon Aug 19 09:49:51 2013
New Revision: 254515
URL: http://svnweb.freebsd.org/changeset/base/254515
Log:
MFC a bundle of commits that bring autotuning to mbufs, maxfiles/sockets
and maxusers to the 9-stable branch. It is committed as bundle because
these patches build on
Author: andre
Date: Mon Aug 19 10:20:20 2013
New Revision: 254516
URL: http://svnweb.freebsd.org/changeset/base/254516
Log:
Remove unused and incomplete support for delayed fragment checksums
from bce(4), bxe(4), mge(4) and ti(4) drivers.
Modified:
head/sys/dev/bce/if_bce.c
head/sys/dev/b
Author: andre
Date: Mon Aug 19 10:30:15 2013
New Revision: 254517
URL: http://svnweb.freebsd.org/changeset/base/254517
Log:
Remove unused M_FRAG, M_FIRSTFRAG and M_LASTFRAG tagging from ip_fragment().
There wasn't any real driver (and hardware) support for it. Modern hardware
does full frag
Author: andre
Date: Mon Aug 19 10:34:10 2013
New Revision: 254518
URL: http://svnweb.freebsd.org/changeset/base/254518
Log:
Move ip_reassemble()'s use of the global M_FRAG mbuf flag to a protocol layer
specific flag instead. The flag is only relevant while the packet stays in
the IP reassem
Author: andre
Date: Mon Aug 19 11:08:36 2013
New Revision: 254519
URL: http://svnweb.freebsd.org/changeset/base/254519
Log:
Move the global M_SKIP_FIREWALL mbuf flags to a protocol layer specific
flag instead. The flag is only used within the IP and IPv6 layer 3
protocols.
Because some
Author: andre
Date: Mon Aug 19 11:16:53 2013
New Revision: 254520
URL: http://svnweb.freebsd.org/changeset/base/254520
Log:
Remove the unused M_NOFREE mbuf flag. It didn't have any in-tree users
for a very long time, if ever.
Should such a functionality ever be needed again the appropria
On 19.08.2013 13:23, Davide Italiano wrote:
On Mon, Aug 19, 2013 at 1:16 PM, Andre Oppermann wrote:
Modified: head/sys/sys/mbuf.h
==
--- head/sys/sys/mbuf.h Mon Aug 19 11:08:36 2013(r254519)
+++ head/sys/sys
Author: andre
Date: Mon Aug 19 12:30:18 2013
New Revision: 254521
URL: http://svnweb.freebsd.org/changeset/base/254521
Log:
Move the SCTP specific definition of M_NOTIFICATION onto a protocol
specific mbuf flag from sys/mbuf.h to netinet/sctp_os_bsd.h. It is
only relevant within SCTP.
1 - 100 of 346 matches
Mail list logo