Home | History | Annotate | Download | only in net
History log of /src/sys/net/pktqueue.h
RevisionDateAuthorComments
 1.8  02-Sep-2022  thorpej Re-factor how pktq_barrier() is issued by if_detach().

Rather than excplicitly referencing ip_pktq and ip6_pktq in if_detach(),
instead add all pktqueues to a global list. This list is then used in
the new pktq_ifdetach() function to issue a barrier on all pktqueues.

Note that the performance of this list is not critical; it will seldom
be accessed (then pktqueues are created/destroyed and when network
interfaces are detached), and so a simple synchronization strategy using
a rwlock is sufficient.
 1.7  02-Sep-2022  thorpej pktqueue: Re-factor sysctl handling.

Provide a new pktq_sysctl_setup() function that attaches standard
pktq sysctl nodes below a specified parent node, with either a
fixed node ID or CTL_CREATE to dynamically assign node IDs. Make
all of the sysctl handlers private to pktqueue.c, and remove the
INET- and INET6-specific pktqueue sysctl code from net/if.c.
 1.6  01-Sep-2022  thorpej pktq_rps_hash(): Make the "funcp" argument const.
 1.5  11-Oct-2021  knakahara Make pktq_rps_hash() pluggable for each interface type. Reviewed by gdt@n.o, thorpej@n.o, and riastradh@n.o, thanks.
 1.4  16-Jun-2014  ozaki-r branches: 1.4.2; 1.4.6;
Move sysctl_pktq_{maxlen,count} to pktqueue.c and make them global

They will be used by bridge.

ok rmind@
 1.3  16-Jun-2014  ozaki-r Add 3rd argument to pktq_create to pass sc

It will be used to pass bridge sc for bridge_forward softint.

ok rmind@
 1.2  09-Jun-2014  rmind Implement pktq_set_maxlen() and let sysctl net.inet.{ip,ip6}.ifq.maxlen be
changed on the fly again.
 1.1  05-Jun-2014  rmind - Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.
 1.4.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.6.1  16-Jun-2014  tls file pktqueue.h was added on branch tls-maxphys on 2014-08-20 00:04:34 +0000
 1.4.2.2  10-Aug-2014  tls Rebase.
 1.4.2.1  16-Jun-2014  tls file pktqueue.h was added on branch tls-earlyentropy on 2014-08-10 06:56:16 +0000

RSS XML Feed