<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/dummynet, branch upstream/10.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-06-10T00:00:25Z</updated>
<entry>
<title>MFC r300779, r300781, r300783, r300784, r300949, r301162, r301180</title>
<updated>2016-06-10T00:00:25Z</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2016-06-10T00:00:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b8a0c3d37e0356a2d12cae6e7b43bc367404a04'/>
<id>urn:sha1:2b8a0c3d37e0356a2d12cae6e7b43bc367404a04</id>
<content type='text'>
r300779 | truckman | 2016-05-26 14:40:13 -0700 (Thu, 26 May 2016) | 64 lines

Import Dummynet AQM version 0.2.1 (CoDel, FQ-CoDel, PIE and FQ-PIE).

Centre for Advanced Internet Architectures

Implementing AQM in FreeBSD

* Overview &lt;http://caia.swin.edu.au/freebsd/aqm/index.html&gt;

* Articles, Papers and Presentations
  &lt;http://caia.swin.edu.au/freebsd/aqm/papers.html&gt;

* Patches and Tools &lt;http://caia.swin.edu.au/freebsd/aqm/downloads.html&gt;

Overview

Recent years have seen a resurgence of interest in better managing
the depth of bottleneck queues in routers, switches and other places
that get congested. Solutions include transport protocol enhancements
at the end-hosts (such as delay-based or hybrid congestion control
schemes) and active queue management (AQM) schemes applied within
bottleneck queues.

The notion of AQM has been around since at least the late 1990s
(e.g. RFC 2309). In recent years the proliferation of oversized
buffers in all sorts of network devices (aka bufferbloat) has
stimulated keen community interest in four new AQM schemes -- CoDel,
FQ-CoDel, PIE and FQ-PIE.

The IETF AQM working group is looking to document these schemes,
and independent implementations are a corner-stone of the IETF's
process for confirming the clarity of publicly available protocol
descriptions. While significant development work on all three schemes
has occured in the Linux kernel, there is very little in FreeBSD.

Project Goals

This project began in late 2015, and aims to design and implement
functionally-correct versions of CoDel, FQ-CoDel, PIE and FQ_PIE
in FreeBSD (with code BSD-licensed as much as practical). We have
chosen to do this as extensions to FreeBSD's ipfw/dummynet firewall
and traffic shaper. Implementation of these AQM schemes in FreeBSD
will:
* Demonstrate whether the publicly available documentation is
  sufficient to enable independent, functionally equivalent implementations

* Provide a broader suite of AQM options for sections the networking
  community that rely on FreeBSD platforms

Program Members:

* Rasool Al Saadi (developer)

* Grenville Armitage (project lead)

Acknowledgements:

This project has been made possible in part by a gift from the
Comcast Innovation Fund.

Submitted by:	Rasool Al-Saadi &lt;ralsaadi@swin.edu.au&gt;
X-No objection:	core
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D6388

[Remove some code that was added to the mq_append() inline function in
HEAD by r258457, which was not merged to stable/10.  The AQM patch
moved mq_append() from ip_dn_io.c to the new file ip_dn_private.h, so
we need to remove that copy of the r258457 changes.]
------------------------------------------------------------------------
r300781 | truckman | 2016-05-26 14:44:52 -0700 (Thu, 26 May 2016) | 7 lines

Modify BOUND_VAR() macro to wrap all of its arguments in () and tweak
its expression to work on powerpc and sparc64 (gcc compatibility).

Correct a typo in a nearby comment.

MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300783 | truckman | 2016-05-26 15:03:28 -0700 (Thu, 26 May 2016) | 4 lines

Correct a typo in a comment.

MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300784 | truckman | 2016-05-26 15:07:09 -0700 (Thu, 26 May 2016) | 5 lines

Include the new AQM files when compiling a kernel with options DUMMYNET.

Reported by:	Nikolay Denev &lt;nike_d AT cytexbg DOT com&gt;
MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r300949 | truckman | 2016-05-29 00:23:56 -0700 (Sun, 29 May 2016) | 10 lines

Cast some expressions that multiply a long long constant by a
floating point constant to int64_t.  This avoids the runtime
conversion of the the other operand in a set of comparisons from
int64_t to floating point and doing the comparisions in floating
point.

Suggested by:	lidl
Submitted by:	Rasool Al-Saadi &lt;ralsaadi@swin.edu.au&gt;
MFC after:	2 weeks (with r300779)

------------------------------------------------------------------------
r301162 | truckman | 2016-06-01 13:04:24 -0700 (Wed, 01 Jun 2016) | 9 lines

Replace constant expressions that contain multiplications by
fractional floating point values with integer divides.  This will
eliminate any chance that the compiler will generate code to evaluate
the expression using floating point at runtime.

Suggested by:	bde
Submitted by:	Rasool Al-Saadi &lt;ralsaadi@swin.edu.au&gt;
MFC after:	8 days (with r300779 and r300949)

------------------------------------------------------------------------
r301180 | truckman | 2016-06-01 17:42:15 -0700 (Wed, 01 Jun 2016) | 2 lines

Belatedly bump .Dd date for Dummynet AQM import in r300779.

Relnotes:	yes
</content>
</entry>
<entry>
<title>o Create directory sys/netpfil, where all packet filters should</title>
<updated>2012-09-14T11:51:49Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-09-14T11:51:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b3a8eb937bf8045231e8364bfd1b94cd4a95979'/>
<id>urn:sha1:3b3a8eb937bf8045231e8364bfd1b94cd4a95979</id>
<content type='text'>
  reside, and move there ipfw(4) and pf(4).

o Move most modified parts of pf out of contrib.

Actual movements:

sys/contrib/pf/net/*.c		-&gt; sys/netpfil/pf/
sys/contrib/pf/net/*.h		-&gt; sys/net/
contrib/pf/pfctl/*.c		-&gt; sbin/pfctl
contrib/pf/pfctl/*.h		-&gt; sbin/pfctl
contrib/pf/pfctl/pfctl.8	-&gt; sbin/pfctl
contrib/pf/pfctl/*.4		-&gt; share/man/man4
contrib/pf/pfctl/*.5		-&gt; share/man/man5

sys/netinet/ipfw		-&gt; sys/netpfil/ipfw

The arguable movement is pf/net/*.h -&gt; sys/net. There are
future plans to refactor pf includes, so I decided not to
break things twice.

Not modified bits of pf left in contrib: authpf, ftp-proxy,
tftp-proxy, pflogd.

The ipfw(4) movement is planned to be merged to stable/9,
to make head and stable match.

Discussed with:		bz, luigi
</content>
</entry>
<entry>
<title>add priority scheduler to the module</title>
<updated>2010-04-07T13:02:20Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2010-04-07T13:02:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cfd7ab42cb1f89d8f0bfd439671b2ffa7aa080fd'/>
<id>urn:sha1:cfd7ab42cb1f89d8f0bfd439671b2ffa7aa080fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make the module loadable</title>
<updated>2010-03-24T18:35:31Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2010-03-24T18:35:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a9b8ae9a0ca587d2c9c848ecdb067be7173abac0'/>
<id>urn:sha1:a9b8ae9a0ca587d2c9c848ecdb067be7173abac0</id>
<content type='text'>
Submitted by:	Marcin Wisnicki
</content>
</entry>
<entry>
<title>move kernel ipfw-related sources to a separate directory,</title>
<updated>2009-06-05T19:22:47Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2009-06-05T19:22:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=908e960ea6343acd9515d89d5d5696f9d8bf090c'/>
<id>urn:sha1:908e960ea6343acd9515d89d5d5696f9d8bf090c</id>
<content type='text'>
adjust conf/files and modules' Makefiles accordingly.

No code or ABI changes so this and most of previous related
changes can be easily MFC'ed

MFC after:	5 days
</content>
</entry>
<entry>
<title>Reimplementation of world/kernel build options.  For details, see:</title>
<updated>2006-03-17T18:54:44Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-03-17T18:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1fe3dba5ce2826061f6489765be9b4a341736a9'/>
<id>urn:sha1:e1fe3dba5ce2826061f6489765be9b4a341736a9</id>
<content type='text'>
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
</content>
</entry>
<entry>
<title>Obey opt_inet6.h in kernel build directory.</title>
<updated>2006-02-20T12:30:32Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-02-20T12:30:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9bf40914d2f8283408b405ea8f52bcfb99e433e2'/>
<id>urn:sha1:9bf40914d2f8283408b405ea8f52bcfb99e433e2</id>
<content type='text'>
Reported by:	Peter Losher &lt;plosher-keyword-freebsd.a36e57__at__plosh.net&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove bridge(4) from the tree.  if_bridge(4) is a full functional</title>
<updated>2005-09-27T18:10:43Z</updated>
<author>
<name>Max Laier</name>
<email>mlaier@FreeBSD.org</email>
</author>
<published>2005-09-27T18:10:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6de9e91bd2c47efaeec72a08642f8fd99cc7b20'/>
<id>urn:sha1:b6de9e91bd2c47efaeec72a08642f8fd99cc7b20</id>
<content type='text'>
replacement and has additional features which make it superior.

Discussed on:	-arch
Reviewed by:	thompsa
X-MFC-after:	never (RELENG_6 as transition period)
</content>
</entry>
<entry>
<title>Drop &lt;bsd.man.mk&gt; support from &lt;bsd.kmod.mk&gt;.</title>
<updated>2002-01-11T15:49:02Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-01-11T15:49:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17d6c636720d00f77e5d098daf4c278f89d84f7b'/>
<id>urn:sha1:17d6c636720d00f77e5d098daf4c278f89d84f7b</id>
<content type='text'>
Not objected to by:	-current
</content>
</entry>
<entry>
<title>Remove KMODDEPS, this is not used on -current and should not be left</title>
<updated>2002-01-09T21:12:40Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2002-01-09T21:12:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72511ed13a980baa8f3bb8e1e9611ff2bb3c7256'/>
<id>urn:sha1:72511ed13a980baa8f3bb8e1e9611ff2bb3c7256</id>
<content type='text'>
around as a bad example.
</content>
</entry>
</feed>
