opnsense-src/sys
John-Mark Gurney ff6c7bf5ca Use the fact that the AES-NI instructions can be pipelined to improve
performance... Use SSE2 instructions for calculating the XTS tweek
factor...  Let the compiler do more work and handle register allocation
by using intrinsics, now only the key schedule is in assembly...

Replace .byte hard coded instructions w/ the proper instructions now
that both clang and gcc support them...

On my machine, pulling the code to userland I saw performance go from
~150MB/sec to 2GB/sec in XTS mode.  GELI on GNOP saw a more modest
increase of about 3x due to other system overhead (geom and
opencrypto)...

These changes allow almost full disk io rate w/ geli...

Reviewed by:	-current, -security
Thanks to:	Mike Hamburg for the XTS tweek algorithm
2013-09-03 18:31:23 +00:00
..
amd64 Fix two build failures for non-tb configurations, UP [2] and when using gas [1]. 2013-08-31 19:13:21 +00:00
arm Revert accidental commit. 2013-09-02 17:07:46 +00:00
boot Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Add debug trace points for freeze/release device queue. 2013-09-01 17:37:19 +00:00
cddl Whitespace cleanup. 2013-09-02 23:22:05 +00:00
compat Add the ability to display the default FIB number for a process to the 2013-08-26 23:48:21 +00:00
conf Use the fact that the AES-NI instructions can be pipelined to improve 2013-09-03 18:31:23 +00:00
contrib Add firmware for Centrino 2200-N wireless devices. 2013-08-28 15:12:51 +00:00
crypto Use the fact that the AES-NI instructions can be pipelined to improve 2013-09-03 18:31:23 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev sys/dev/xen/blkback/blkback.c: 2013-09-03 13:49:00 +00:00
fs Forced dismounts of NFS mounts can fail when thread(s) are stuck 2013-09-01 23:02:59 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom Make ELI destruction (including orphanization) less aggressive, making it 2013-09-02 10:44:54 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Better conformance to style(9) and organizational cleanup. 2013-09-02 22:22:56 +00:00
ia64 Significantly reduce the cost, i.e., run time, of calls to madvise(..., 2013-08-29 15:49:05 +00:00
isa
kern Fix socket buffer timeouts precision using the new sbintime_t KPI instead 2013-09-01 23:34:53 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
mips pmap_protect() on MIPS does not need to acquire the pvh global lock. 2013-09-01 17:06:14 +00:00
modules Use the fact that the AES-NI instructions can be pipelined to improve 2013-09-03 18:31:23 +00:00
net Convert the if_lagg rwlock to an rmlock. 2013-08-29 19:35:14 +00:00
net80211 Create a new function to complete 802.11 mbuf transmission. 2013-08-27 14:37:13 +00:00
netatalk Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Add support for the BCM20702A0 chipset, ASUS USB-BT400. 2013-09-01 19:27:32 +00:00
netinet Use uint16_t instead of in_port_t for consistency with the SCTP code. 2013-09-02 23:27:53 +00:00
netinet6 Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
netipsec Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Merge 1.12 of pf_lb.c from OpenBSD, with some changes. Original commit: 2013-09-02 10:14:25 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem 2013-07-31 19:14:00 +00:00
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Change m->pkthdr.header to m->pkthdr.PH_loc.ptr after r254804 2013-08-25 09:45:26 +00:00
opencrypto Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
pc98 MFi386: r254619 2013-08-22 16:39:59 +00:00
pci Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
powerpc Enable PMC interrupt handling, and fix a DTrace trap handling bug. 2013-09-03 00:42:15 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
sparc64 Significantly reduce the cost, i.e., run time, of calls to madvise(..., 2013-08-29 15:49:05 +00:00
sys Connect libexecinfo to the build 2013-09-03 15:22:04 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs In looking at block layouts as part of fixing filesystem block 2013-08-28 17:46:32 +00:00
vm Fix bug introduced in rewrite of keg_free_slab in -r251894. 2013-08-31 15:40:15 +00:00
x86 Conform to style(9). No functional changes. 2013-09-01 23:49:36 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00