summaryrefslogtreecommitdiff
path: root/sys/altq/altq_priq.c
AgeCommit message (Collapse)Author
2004-01-14eliminate the predefined special qids so that qids become simpleKenjiro Cho
identifiers without embedded meanings. this also allows us to make the semantics of the qid assignment in line with the tag assignment in the next step. ok, henning@
2003-04-03until now, the queue ID and the priority were tied together with PRIQ. thisHenning Brauer
diff changes that. with PRIQ, the queues are in an array, with the priority as key. removing the tie means we cannot access the array with (queueID - 1) as key any more but need to traverse the array until the queue ID matches. As the array has a maximum of 16 entries, traversing linear is okay. a new queue ID allocation algorithm coming soon will require this. ok dhartmei@ kjc@
2003-04-02remove dead codeHenning Brauer
2003-03-31remove queue ID assigning code. it's dead since some time as we assign queueHenning Brauer
IDs in userland already.
2003-03-27idx is unsignedHenning Brauer
from Patrick Latifi
2003-03-13scale the red thresholds according to the queue limit.Kenjiro Cho
the min and max thresholds are set to 10% and 30% of the queue limit.
2003-03-11add protection against packets without pkthdr.Kenjiro Cho
this should not happen but just in case. printf() is intended to be annoying so that we'll get reports on it. original idea from dhartmei@ ok deraadt@, henning@
2003-03-02only assign a new queue id if a->qid is 0. otherwise, check a->qid forHenning Brauer
validity and take that. validity checks provided by kjc@ ok dhartmei@ kjc@
2003-02-08ansiHenning Brauer
2002-12-16major KNF, Take 2Henning Brauer
ok kjc@
2002-12-16switchover to pf-based altq.Kenjiro Cho
- 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.)
2002-11-29supress printf's.Kenjiro Cho
2002-11-26KNFHenning Brauer
2002-03-14First round of __P removal in sysTodd C. Miller
2001-10-26avoid divide-by-zero when the specified bandwidth is less than 8bps.Kenjiro Cho
PR kernel/2150
2001-08-09change a maze of altq options into just "altq" for the base+red+cbq, andTheo de Raadt
then altq_* for each of the other * experimental options. and.. enable it by default in GENERIC.
2001-06-27import ALTQ, alternate queueing support, from KAME.Kenjiro Cho
ALTQ allows to switch various queueing disciplines on output network interfaces.