NetBSD/sys/dev/ofw
ozaki-r dd8638eea5 Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net
2016-12-15 09:28:02 +00:00
..
files.ofw fix FDT build without openfirm pseudo-device 2015-12-16 12:22:48 +00:00
Makefile
ofbus.c
ofcons.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
ofdisk.c Use C99-style initializers for struct dkdriver. 2015-04-26 15:15:19 +00:00
ofnet.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
ofrtc.c convert to device_t, cfdata_t and CFATTACH_DECL_NEW. 2011-07-26 08:56:26 +00:00
ofw_network_subr.c
ofw_pci.h
ofw_subr.c add of_getprop_bool and of_getprop_uint32 helpers 2015-12-16 19:33:39 +00:00
openfirm.h add of_getprop_bool and of_getprop_uint32 helpers 2015-12-16 19:33:39 +00:00
openfirmio.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
openfirmio.h More on PR 41200: headers that declare ioctls should include sys/ioccom.h. 2015-09-06 06:00:59 +00:00