| 58d69f4e | 25-May-2021 |
John Baldwin <[email protected]> |
crypto: Add a new type of crypto buffer for a single mbuf.
This is intended for use in KTLS transmit where each TLS record is described by a single mbuf that is itself queued in the socket buffer. U
crypto: Add a new type of crypto buffer for a single mbuf.
This is intended for use in KTLS transmit where each TLS record is described by a single mbuf that is itself queued in the socket buffer. Using the existing CRYPTO_BUF_MBUF would result in bus_dmamap_load_crp() walking additional mbufs in the socket buffer that are not relevant, but generating a S/G list that potentially exceeds the limit of the tag (while also wasting CPU cycles).
Reviewed by: markj Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30136
(cherry picked from commit 883a0196b629a07e52562b4103cc0f6391083080)
show more ...
|