summaryrefslogtreecommitdiff
path: root/sys/net/ifq.c
AgeCommit message (Expand)Author
2023-11-10Make ifq and ifiq interface MP safe.Alexander Bluhm
2023-10-08Revert commitid: KtmyJEoS0WWxmlZ5Claudio Jeker
2023-10-05Protect interface queues with read once and mutex.Alexander Bluhm
2023-07-30count the number of times a ring was marked as oactive.David Gwynne
2023-01-09flesh out ifiq_enqueueDavid Gwynne
2023-01-09count the number times a packet was dropped by bpf as fdrops.David Gwynne
2022-11-22count how many times ifiqs enqueue and dequeue packets.David Gwynne
2022-04-30Run IP input and forwarding with shared netlock. Also distributeAlexander Bluhm
2022-01-18return EIO, not ENXIO, when the interface underneath ifq_deq_sleep dies.David Gwynne
2021-07-09ifq_hdatalen can return 0 if ifq_empty is true, which avoids locks.David Gwynne
2021-02-20default interfaces to bpf_mtap_ether for their if_bpf_mtap handler.David Gwynne
2021-02-20add a MONITOR flag to ifaces to say they're only used for watching packets.David Gwynne
2020-07-07add kstats for rx queues (ifiqs) and transmit queues (ifqs).David Gwynne
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2020-05-21back out 1.38. some bits of the stack aren't ready for it yet.David Gwynne
2020-05-20defer calling !IFXF_MPSAFE driver start routines to the systqDavid Gwynne
2020-03-10Make sure return value 'error' is initialized to '0'.tobhe
2020-01-25tweaks sleeping for an mbuf so it's more mpsafe.David Gwynne
2019-10-08back out the use of ifiq pressure, and go back to using a packet count.David Gwynne
2019-08-16ifq_hdatalen should keep the mbuf it's looking at, not leak it.David Gwynne
2019-07-03add the kernel side of net.link.ifrxq.pressure_return and pressure_dropDavid Gwynne
2019-07-01reintroduce ifiq_input counting backpressureDavid Gwynne
2019-04-16have another go at tx mitigationDavid Gwynne
2019-03-29while here, drop ifq_is_serialized and IFQ_ASSERT_SERIALIZEDDavid Gwynne
2019-03-29deprecate ifiq_barrier.David Gwynne
2019-03-04move back to ifiq_input counting packets instead of queue operations.David Gwynne
2019-03-04don't need to initialise qdrops twice when setting up ifqs and ifiqs.David Gwynne
2019-03-01rework how ifiq_input decides the stack is busy and whether it should dropDavid Gwynne
2018-12-16add task_pendingDavid Gwynne
2018-12-11provide ifq_is_priq, mostly so things can tell if hfsc is in effect or not.David Gwynne
2018-12-11add ifq_hdatalen for getting the size of the packet at the head of an ifqDavid Gwynne
2018-01-25Assert that ifiq_destroy() is not called with the NET_LOCK() held.Martin Pieuchot
2018-01-04Back out tx mitigation again because it breaks suspend and resume atTheo Buehler
2018-01-02reintroduce tx mitigationDavid Gwynne
2017-12-15ifq_barrier should be callable by any nic, not just MPSAFE ones.David Gwynne
2017-12-15add ifiqueues for mp safety and nics with multiple rx rings.David Gwynne
2017-12-14i forgot to convert ifq_barrier_task to cond_signal.David Gwynne
2017-12-14replace the bare sleep state handling in barriers with wait cond codeDavid Gwynne
2017-11-14anton@ reports that ifq tx mitigation breaks iwm somehow.David Gwynne
2017-11-14move the adding of an ifqs counters in if_getdata to ifq.cDavid Gwynne
2017-11-14reintroduce tx mitigation, like dfly does and like we used to do.David Gwynne
2017-06-02be less tricky about when ifq_free is handled.David Gwynne
2017-05-03Provide a function to dispose of a list of mbufs on dequeueMike Belopuhov
2017-05-03add ifq_mfreem() so ifq backends can free packets during dequeue.David Gwynne
2017-03-07Change priq enqueue policy to drop lower priority packetsMike Belopuhov
2017-03-07Convert priority queue lists to mbuf_listsMike 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-20keep output packet counters on the ifq structure.David Gwynne
2015-12-29store curcpu() in ifq_serializer so we can check it.David Gwynne