Module Name: src Committed By: ozaki-r Date: Tue Jan 24 09:05:28 UTC 2017
Modified Files: src/sys/dev/ic: hd64570.c midway.c src/sys/dev/pci: if_lmc.c if_lmc.h src/sys/net: bpf.c bpf.h bpfdesc.h src/sys/netisdn: i4b_ipr.c Added Files: src/doc: TODO.smpnet Log Message: Defer bpf_mtap in Rx interrupt context to softint bpf_mtap of some drivers is still called in hardware interrupt context. We want to run them in softint as well as bpf_mtap of most drivers (see if_percpuq_softint and if_input). To this end, bpf_mtap_softint mechanism is implemented; it defers bpf_mtap processing to a dedicated softint for a target driver. By using the machanism, we can move bpf_mtap processing to softint without changing target drivers much while it adds some overhead on CPU and memory. Once target drivers are changed to softint-based, we should return to normal bpf_mtap. Proposed on tech-kern and tech-net To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/doc/TODO.smpnet cvs rdiff -u -r1.51 -r1.52 src/sys/dev/ic/hd64570.c cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/midway.c cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/if_lmc.c cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/if_lmc.h cvs rdiff -u -r1.204 -r1.205 src/sys/net/bpf.c cvs rdiff -u -r1.67 -r1.68 src/sys/net/bpf.h cvs rdiff -u -r1.39 -r1.40 src/sys/net/bpfdesc.h cvs rdiff -u -r1.40 -r1.41 src/sys/netisdn/i4b_ipr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.