CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2020/04/27 02:21:35
Modified files: sys/dev/ic : ar5008.c ar5008reg.h athn.c sys/dev/usb : if_athn_usb.c if_athn_usb.h Log message: Offload CCMP (WPA2) encryption and decryption to athn(4) hardware. This reduces CPU load during traffic bursts, which is especially noticeable on boards with relatively slow CPUs such as Alix and APU. For reference, my rcc-ve boards (Intel Atom C2558) now forward ~2000pps between Ethernet and wifi with <= 1% CPU interrupt time according to systat. Beforehand, these boards became noticeably less responsive with fairly high interrupt and spin %. CCMP offload is used on both PCI and USB devices (thanks kevlo@ for catching my omission of USB devices in the first iteration of this change!) Tested by (at least) Kevin Chadwick, tracey@, kevlo@, kili@, Ted Patterson, David Dahlberg, and Scott Bennett. ok tracey@ kevlo@