opnsense-src/sys
Marko Zec d055313f8c fib_algo: shift / mask by constants in dxr_lookup()
Since trie configuration remains invariant during each DXR instance
lifetime, instead of shifting and masking lookup keys by values
computed at runtime, compile upfront several dxr_lookup()
configurations with hardcoded shift / mask constants, and choose the
apropriate lookup function version after each DXR instance rebuild.

In synthetic tests this yields small but measurable (5-10%) lookup
throughput improvement, depending on FIB size and  prefix patterns.

MFC after:	3 days

(cherry picked from commit e7abe200c2)
2022-02-06 08:33:17 +01:00
..
amd64 exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
arm sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
arm64 sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Optimize write protection MODE SENSE in da(4). 2022-01-27 19:25:45 -05:00
cddl dtrace: add a knob to control maximum size of principal buffers 2022-02-01 10:12:03 +02:00
compat exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
conf Use ${MACHINE} for the kernel modeule ldscript 2022-01-31 10:05:54 +00:00
contrib zlib: Fix bootstrap build on macOS 2022-01-24 23:59:16 +00:00
crypto Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-12-29 14:45:29 +01:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev atkbd: Reduce polling rate from 10Hz to ~1Hz. 2022-02-03 19:55:44 -05:00
dts add rk3328 overlay for enabling analog sound 2021-11-21 12:04:42 +02:00
fs msdosfs_denode.c: some style 2022-02-04 12:19:36 +02:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-02-04 20:58:34 -05:00
geom geom: Handle partial I/O in g_{read,write,delete}_data() 2022-02-03 09:34:27 -05:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern Reduce bufdaemon/bufspacedaemon shutdown time. 2022-02-01 19:53:10 -05:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips mips: Implement suword16 2022-01-07 14:30:18 +01:00
modules iwlwifi: import correct firmware versions for select Intel iwlwifi/mvm 2022-01-09 02:37:01 +00:00
net pf: protect the rpool from races 2022-02-04 11:37:14 +01:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-20 14:06:15 +00:00
netgraph Add ETHER_ALIGN support to ng_device(4). 2022-01-14 14:28:43 +01:00
netinet fib_algo: shift / mask by constants in dxr_lookup() 2022-02-06 08:33:17 +01:00
netinet6 netinet6: Fix a typo in a sysctl description 2021-12-03 16:53:41 +01:00
netipsec ipsec: fix a logic error in key_do_getnewspi 2021-12-19 14:44:52 +00:00
netpfil pf: ensure we don't destroy an uninitialised lock 2022-02-04 11:38:09 +01:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2022-01-02 20:09:15 -07:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-23 15:11:54 -08:00
powerpc sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
riscv sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-31 09:48:11 -05:00
rpc rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-29 17:23:30 -08:00
security Thread creation privilege for realtime group 2021-12-19 04:42:52 +02:00
sys exec: Remove the stack gap implementation 2022-01-31 09:48:57 -05:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools arm64: Don't rely on host readelf for u-boot booti image generation 2022-01-24 23:59:51 +00:00
ufs Avoid unnecessary setting of UFS flag requesting fsck(8) be run. 2022-02-04 14:45:49 -08:00
vm vm_pageout_scans: correct detection of active object 2022-01-29 03:10:44 +02:00
x86 Fix variable name: freq_khz -> freq 2022-01-15 21:33:48 -08:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile