HomeFreeBSD

cxgbe: De-duplicate some of the code for managing TLS key contexts.

Description

cxgbe: De-duplicate some of the code for managing TLS key contexts.

The NIC TLS and TOE TLS modes in cxgbe(4) both work with TLS key
contexts. Previously, TOE TLS supported TLS key contexts created by
two different methods, and NIC TLS had a separate bit of code copied
from NIC TLS but specific to KTLS. Now that TOE TLS only supports
KTLS, pull common code for creating TLS key contexts and programming
them into on-card memory into t4_keyctx.c.

Sponsored by: Chelsio Communications

(cherry picked from commit 18c69734e9ac74651ca794d3315ffc4b305ffc6e)

Details

Provenance
jhbAuthored on Jun 8 2021, 6:11 PM
Parents
rG93cec8fde7ab: cxgbe tom: Remove orphaned function max_imm_tls_space().
Branches
Unknown
Tags
Unknown