summaryrefslogtreecommitdiff
path: root/sys/net/hfsc.c
AgeCommit message (Expand)Author
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-11-09kenjiro cho points out that requeue is hard to support on queueDavid Gwynne
2015-10-23pass the right sizes to free.David Gwynne
2015-10-23inline the hfsc_active TAILQ.David Gwynne
2015-10-23inline the hif_eligible TAILQ.David Gwynne
2015-10-23counting packets in hif_packets in hfsc_if is redundant.David Gwynne
2015-10-23remove the pointer from hfsc_class structs back to hfsc_if.David Gwynne
2015-09-30rename the internal functions that do ml_foo ops on classes to hfsc_cl_foo.David Gwynne
2015-09-30provide a hfsc_requeue()David Gwynne
2015-09-27pull the m_freem calls out of hfsc_enqueue by having IFQ_ENQUEUE freeDavid Gwynne
2015-04-18replace the hand rolled lists of mbufs in hfsc_classq with anDavid Gwynne
2015-04-12hfsc_classq has a type member which is never set or read, except to reportDavid Gwynne
2015-04-12there's a 1:1 correlation between hfsc_class instances and hfsc_classqDavid Gwynne
2015-04-12pull structs and macros that are only used in hfsc.c out of the headerDavid Gwynne
2015-04-11the hfsc pools are only used in hfsc.c, so move the init of themDavid Gwynne
2015-03-03make sure hfsc_attach, hfsc_detach, hfsc_addqueue, hfsc_delqueue andHenning Brauer
2015-02-08remove the dead code inside #if(def) RED_NOTYETHenning Brauer
2015-02-06using IFQ_INC_LEN and IFQ_DEC_LEN for len++/len-- is a bit excessive,Henning Brauer
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-06-30Attach HFSC after it's been completely initialized.Martin Pelikan
2014-04-19now that if_snd is a proper ifqueue, this cast diesHenning Brauer
2014-01-27Make the amount of classes limited by 64k, with automatic table growing.pelikan
2014-01-03Purging a queue requires it to be non-empty, not empty.pelikan
2014-01-03Switch frequently allocated structs from malloc(M_DEVBUF) to separate pools.pelikan
2014-01-01Destroy the eligible list when detaching from an interface.pelikan
2013-11-01push the queues every 1/HZ using timeout(9)pelikan
2013-10-31revert previous, net/if.h exports bad things to userspace.pelikan
2013-10-31push the queues every 1/HZ using timeout(9)pelikan
2013-10-12standalone hfsc implementation with new interface to the consumers, forHenning Brauer