OpenBSD CVS

CVS log for src/sys/altq/Attic/altq_red.c


[BACK] Up to [local] / src / sys / altq

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17, Sat Apr 19 16:08:14 2014 UTC (10 years, 1 month ago) by henning
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED

bye bye

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 8 15:22:02 2008 UTC (16 years ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

do not check malloc return value against NULL, as M_WAITOK is used

ok kjc@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 20 07:05:52 2008 UTC (16 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Do not use random(), which is supposed to be a scheduler-only API (we
should rename it one day).  Furthermore, do not do random() % value,
but instead solve both problems using arc4random_uniform()
Problem spotted by drahn, fix ok'd by djm

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 13 20:40:02 2007 UTC (16 years, 8 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.13: +5 -7 lines
Diff to previous 1.13 (colored)

MALLOC/FREE -> malloc/free and M_ZERO changes

ok henning@ krw@ canacar@ ray@

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 28 17:16:38 2007 UTC (17 years ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.12: +10 -17 lines
Diff to previous 1.12 (colored)

double pf performance.
boring details:
pf used to use an mbuf tag to keep track of route-to etc, altq, tags,
routing table IDs, packets redirected to localhost etc. so each and every
packet going through pf got an mbuf tag. mbuf tags use malloc'd memory,
and that is knda slow.
instead, stuff the information into the mbuf header directly.
bridging soekris with just "pass" as ruleset went from 29 MBit/s to
58 MBit/s with that (before ryan's randomness fix, now it is even betterer)
thanks to chris for the test setup!
ok ryan ryan ckuethe reyk

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 17 08:43:35 2005 UTC (18 years, 7 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.11: +9 -20 lines
Diff to previous 1.11 (colored)

make pf use one mbuf tag instead of 6 distinct ones. use a little struct
in the data part for the data from the previously distinct tags.
look up the tag early and carry a pointer to it around.
makes the code easier and saves some tag lookups and thus helps performance,
as proven by tests run by Schberle Dniel <Schoeberle.Daniel@aamtech.hu>
Initially hacked up somewhere over the atlantic ocean in an A330
early testing reyk and moritz, "put it in" theo

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon May 19 21:50:54 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.2.4.2: +43 -901 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue May 13 19:21:26 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.1.2.3: +21 -38 lines
Diff to previous 1.1.2.3 (colored) next main 1.2 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 12 00:50:12 2003 UTC (21 years ago) by henning
Branch: MAIN
CVS Tags: UBC_SYNC_A, SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.10: +21 -38 lines
Diff to previous 1.10 (colored)

ansi

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Mar 27 22:28:25 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.1.2.2: +79 -905 lines
Diff to previous 1.1.2.2 (colored)

Sync the SMP branch with 3.3

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 7 00:29:28 2003 UTC (21 years, 5 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Correct several typos in comments. No code changes.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 16 17:27:20 2002 UTC (21 years, 5 months ago) by henning
Branch: MAIN
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)

major KNF, Take 2

ok kjc@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 16 09:18:05 2002 UTC (21 years, 5 months ago) by kjc
Branch: MAIN
Changes since 1.7: +9 -850 lines
Diff to previous 1.7 (colored)

switchover to pf-based altq.
 - remove files which are no longer used, or we don't have plans to support
   in pf in the near future.
 - remove altq ioctl related stuff.
 - convert the PRIQ, HFSC and RIO modules to pf-based altq.
   (these are not enabled in GENERIC, CDNR is not converted yet.)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 26 01:03:34 2002 UTC (21 years, 6 months ago) by henning
Branch: MAIN
Changes since 1.6: +28 -28 lines
Diff to previous 1.6 (colored)

KNF

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:28:00 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.2.4.1: +34 -12 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

sync to -current

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 11 09:30:30 2002 UTC (21 years, 7 months ago) by kjc
Branch: MAIN
CVS Tags: UBC_SYNC_B
Changes since 1.5: +33 -11 lines
Diff to previous 1.5 (colored)

make CBQ aware of the pf API so that pf developers can play with CBQ.

for now, implemnet a tentative transition mechanism to allow the old API
and the new API to coexit.
the old API will go away when pfctl(8) becomes ready.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 14 21:34:58 2002 UTC (21 years, 11 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

spelling; from Brian Poole <raj@cerias.purdue.edu>

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:27:42 2002 UTC (21 years, 11 months ago) by art
Branch: UBC
Changes since 1.2: +58 -65 lines
Diff to previous 1.2 (colored)

Sync UBC branch to -current

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 17 07:16:26 2002 UTC (22 years ago) by kjc
Branch: MAIN
Changes since 1.3: +39 -46 lines
Diff to previous 1.3 (colored)

sync with KAME.
update ECN in ALTQ from RFC2481 to RFC3168.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Mar 28 11:26:45 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.1.2.1: +20 -20 lines
Diff to previous 1.1.2.1 (colored)

Merge in -current from about a week ago

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 14 01:26:26 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.2: +20 -20 lines
Diff to previous 1.2 (colored)

First round of __P removal in sys

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Oct 31 02:43:21 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.1: +1 -14 lines
Diff to previous 1.1 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 9 14:32:59 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.1: +1 -14 lines
Diff to previous 1.1 (colored)

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options.  and.. enable
it by default in GENERIC.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 27 05:28:36 2001 UTC (22 years, 11 months ago) by kjc
Branch: MAIN
Branch point for: SMP

import ALTQ, alternate queueing support, from KAME.
ALTQ allows to switch various queueing disciplines on output network
interfaces.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.