Home | History | Annotate | Download | only in altq
History log of /src/sys/altq/altq_cbq.h
RevisionDateAuthorComments
 1.11  21-Jul-2021  ozaki-r altq, cbq: change long to uint64_t for ILP32 archs

PR kern/56319
 1.10  21-Jul-2021  ozaki-r altq, cbq: treat time in nanoseconds

Time granularity in microseconds is sometimes not enough to provide
accurate bandwidth control; actual bandwidth on a capped class
can exceed its limit considerably in some cases.

Treating time in nanoseconds requires the following changes:
- Use timespec instead of timeval
- Use nanotime(9) instead of microtime(9)
- Change the type of some variables, especially *idle, to long
 1.9  21-Jul-2021  ozaki-r altq, cbq: convert ns_per_byte to ps_per_byte

Also the type of variables of it is changed to u_long from int.

This change provides fine-grain resolution of bandwidth. For example
750 Mbps was treated as 800 Mbps internally because bandwidth was
represented as nanoseconds per byte. Converting the representation
to picoseconds per byte enables to treat 750 Mbps as-is.

PR kern/56319
 1.8  12-Oct-2006  peter branches: 1.8.158;
Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.7  11-Dec-2005  christos branches: 1.7.12; 1.7.20; 1.7.22;
merge ktrace-lwp.
 1.6  26-Feb-2005  perry branches: 1.6.4;
nuke trailing whitespace
 1.5  20-Aug-2003  itojun branches: 1.5.8; 1.5.10;
expose CBQ_MAXPRI to userland
 1.4  18-Jul-2002  wiz branches: 1.4.6;
Spell 'should' correctly.
 1.3  05-Jun-2001  thorpej branches: 1.3.2; 1.3.14;
HZ -> hz
 1.2  14-Dec-2000  thorpej branches: 1.2.2; 1.2.4;
Add NetBSD RCS IDs.
 1.1  14-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1  14-Dec-2000  thorpej Import ALTQ from KAME.
 1.2.4.2  01-Aug-2002  nathanw Catch up to -current.
 1.2.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.2.2.1  14-Dec-2000  bouyer file altq_cbq.h was added on branch thorpej_scsipi on 2001-01-05 17:39:35 +0000
 1.3.14.1  20-Jul-2002  gehenna catch up with -current.
 1.3.2.1  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.6.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.4.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1  03-Aug-2004  skrll Sync with HEAD
 1.5.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.5.8.1  29-Apr-2005  kent sync with -current
 1.6.4.1  30-Dec-2006  yamt sync with head.
 1.7.22.1  22-Oct-2006  yamt sync with head
 1.7.20.1  18-Nov-2006  ad Sync with head.
 1.7.12.1  18-Mar-2006  peter Sync with KAME.
 1.8.158.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed