freebsd-dev/sys/netipsec
Kristof Provost 0361f165f2 ipsec: replace SECASVAR mtx by rmlock
This mutex is a significant point of contention in the ipsec code, and
can be relatively trivially replaced by a read-mostly lock.
It does require a separate lock for the replay protection, which we do
here by adding a separate mutex.

This improves throughput (without replay protection) by 10-15%.

MFC after:	3 weeks
Sponsored by:	Orange Business Services
Differential Revision:	https://reviews.freebsd.org/D35763
2022-07-19 05:27:20 +02:00
..
ah_var.h
ah.h
esp_var.h
esp.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ipcomp_var.h
ipcomp.h
ipsec6.h ipsec: Add support for PMTUD for IPv6 tunnels 2021-09-24 10:27:21 +02:00
ipsec_input.c ipsec: enter epoch before calling into ipsec_run_hhooks 2021-09-21 17:02:41 +00:00
ipsec_mbuf.c Consistently include opt_ipsec.h for consumers of <netipsec/ipsec.h>. 2020-05-29 19:22:40 +00:00
ipsec_mod.c ipsec: Handle ICMP NEEDFRAG message. 2021-08-09 12:01:46 +02:00
ipsec_output.c ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
ipsec_pcb.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ipsec_support.h ipsec: Handle ICMP NEEDFRAG message. 2021-08-09 12:01:46 +02:00
ipsec.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
ipsec.h ipsec: Check PMTU before sending a frame. 2021-08-13 09:22:24 +02:00
key_debug.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
key_debug.h
key_var.h
key.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
key.h netipsec: use SYSINIT(9) instead of dom_init/dom_destroy 2022-01-03 10:15:21 -08:00
keydb.h ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
keysock.c netipsec: use SYSINIT(9) instead of dom_init/dom_destroy 2022-01-03 10:15:21 -08:00
keysock.h
subr_ipsec.c ipsec: Handle ICMP NEEDFRAG message. 2021-08-09 12:01:46 +02:00
udpencap.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
xform_ah.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
xform_esp.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
xform_ipcomp.c ipsec: replace SECASVAR mtx by rmlock 2022-07-19 05:27:20 +02:00
xform_tcp.c syncache: accept packet with no SA when TCP_MD5SIG is set 2022-01-08 16:32:14 -09:00
xform.h Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00