summaryrefslogtreecommitdiff
path: root/sys/net/hfsc.c
AgeCommit message (Expand)Author
2018-04-13Remove compatibility with pfctl from 6.1 and plug a few leaksMike Belopuhov
2017-08-17Remove a class from parent's active list when queue is emptyMike Belopuhov
2017-08-17Resolve races with the hfsc_deferred timeoutMike Belopuhov
2017-07-24Don't attempt to deactivate a class that doesn't have any packets in itMike Belopuhov
2017-07-19Fix the test condition weakened a recent changeMike Belopuhov
2017-07-19Factor out internal FIFO queue managerMike Belopuhov
2017-06-28hfsc.c should depend on pf instead of inetMike Belopuhov
2017-06-12have the timeout call if qstart via the serialiser isntead of directlyDavid Gwynne
2017-05-08Add a compatibility shim for older pfctl binariesMike Belopuhov
2017-05-02Provide pluggable queueing interface for pfMike Belopuhov
2017-04-26Perform H-FSC root queue allocation in the kernelMike Belopuhov
2017-03-07deprecate ifq_enqueue_try, and let backends drop arbitrary mbufs.David Gwynne
2017-01-24add support for multiple transmit ifqueues per network interface.David Gwynne
2017-01-22white space fixes. no functional change.David Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-11-21simplify ifq_deq_rollback by only having it unlock.David Gwynne
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