OpenBSD CVS

CVS log for src/sys/net/fq_codel.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 2 22:36:03 2022 UTC (2 years, 5 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

spelling
ok jmc@ reads ok tb@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 10 06:53:38 2020 UTC (3 years, 6 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

classify packets without a flowid into bucket 0, not a random bucket.

putting packets into random buckets means packets in a flow/connection
will be reorderd. pf assigns a flowid if it's enabled, and you need
pf to configure code, so it's reasonable to assume that most packets
will have a flowid. using bucket 0 like this is what we do in most
other places that bin packets with the flowid.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 18 23:29:59 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.12: +2 -0 lines
Diff to previous 1.12 (colored)

add $OpenBSD$ tags

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 17 06:45:22 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.

i've been wanting to do this for a while, and now that we've got
stoeplitz and it gives us 16 bits, it seems like the right time.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 27 16:53:04 2017 UTC (6 years, 6 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

lenght->length, mostly in comments

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 24 01:23:46 2017 UTC (6 years, 10 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.9: +6 -3 lines
Diff to previous 1.9 (colored)

Fixup free list handling in fqcodel_deq_begin

We're growing an mbuf free list while iterating over flow queues
and need to adjust our internal statistics on every iteration by
using a portion of the free list corresponding to the current
iteration.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 28 19:13:35 2017 UTC (6 years, 11 months ago) by mikeb
Branch: MAIN
Changes since 1.8: +112 -33 lines
Diff to previous 1.8 (colored)

Provide pf queue manager API

Discussed with and OK henning@ at d2k17 as a part of a larger diff.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 24 16:34:17 2017 UTC (7 years ago) by mikeb
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Fail with EINVAL when asked to create a non-root queue instead of panicking

Prompted by a bug report from semarie@, thanks!

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 15 11:59:30 2017 UTC (7 years ago) by jsg
Branch: MAIN
Changes since 1.6: +0 -3 lines
Diff to previous 1.6 (colored)

clang warns on unused static const variables.  Remove one such unused
variable so the kernel will build on arm64 again.

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 12 19:15:22 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
Changes since 1.5: +22 -22 lines
Diff to previous 1.5 (colored)

Export delay statistics instead of bucket information

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 11 16:28:16 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
Changes since 1.4: +0 -2 lines
Diff to previous 1.4 (colored)

Remove a leftover from the ifq_mfreeml conversion

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 11 12:22:26 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
Changes since 1.3: +141 -0 lines
Diff to previous 1.3 (colored)

Add pf queue configuration glue for FQ-CoDel

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 11 10:50:22 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
Changes since 1.2: +5 -0 lines
Diff to previous 1.2 (colored)

Increment drop counter on the enqueue failure

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 7 18:18:20 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Fix stage transition from the initial one to DROPPING

When the initial state is set to DROPPING, the code immediately
jumps to a CONTROL state bypassing DROPPING. To fix this we start
with an explicit INITIAL state so that we do an INITIAL->DROPPING
transition right off the bat in the beginning of the loop and
then perform a DROPPING->CONTROL and either CONTROL->DROPPING and
restart the loop or CONTROL->RECOVERY/ACCEPTING and terminate.

Revision 1.1 / (download) - annotate - [select for diffs], Thu May 4 17:57:56 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN

Implementation of the Flow Queue - Controlled Delay (FQ-CoDel)

The purpose of FQ-CoDel is to provide fair sharing of bandwidth
between simultaneous connections and reduce latency differences
among them.

OK mpi, sthen, visa

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.