freebsd-dev/sys/dev/cxgbe/crypto
John Baldwin 94578db218 Reduce contention on per-adapter lock.
- Move temporary sglists into the session structure and protect them
  with a per-session lock instead of a per-adapter lock.

- Retire an unused session field, and move a debugging field under
  INVARIANTS to avoid using the session lock for completion handling
  when INVARIANTS isn't enabled.

- Use counter_u64 for per-adapter statistics.

Note that this helps for cases where multiple sessions are used
(e.g. multiple IPsec SAs or multiple KTLS connections).  It does not
help for workloads that use a single session (e.g. a single GELI
volume).

Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D25457
2020-06-26 00:01:31 +00:00
..
t4_crypto.c Reduce contention on per-adapter lock. 2020-06-26 00:01:31 +00:00
t4_crypto.h Add support for AES-CCM to ccr(4). 2019-04-24 23:31:46 +00:00
t4_kern_tls.c Use zfree() instead of explicit_bzero() and free(). 2020-06-25 20:17:34 +00:00
t4_keyctx.c Explicitly zero AES key schedules on the stack. 2020-06-03 22:18:21 +00:00