NetBSD/sys/arch/mips/atheros
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
..
dev Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
include #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:50:50 +00:00
ar5312.c
ar5312_board.c #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:50:50 +00:00
ar5315.c
ar5315_board.c
ar7100.c #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:50:50 +00:00
ar9344.c
ar_conf.c #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:50:50 +00:00
ar_console.c
ar_intr.c Remove a dead branch. Could look like a memory leak, but ih cannot be 2015-06-29 16:36:17 +00:00
arbus.c
arbusle.c