Re: Missing ktls_ocf.ko

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Thu, 16 Feb 2023 08:37:14 UTC
On Thu, Feb 16, 2023 at 09:15:04AM +0100, Gordon Bergling wrote:
> Hi,
> 
> I recently tried to load ktls_ocf.ko as stated in ktls(4), but on a very
> recent -CURRENT there is no such kernel module present.
> 
> Has there anything changed in -CURRENT about this kernel module?
> 
> On 13-STABLE and 13.1-RELEASE I find the module in /boot/kernel.

commit 21e3c1fbe2460f144f6d4dfd61c3346b2de59667
Author: John Baldwin
Date:   Tue May 25 16:59:19 2021 -0700

    Assume OCF is the only KTLS software backend.

    This removes support for loadable software backends.  The KTLS OCF
    support is now always included in kernels with KERN_TLS and the
    ktls_ocf.ko module has been removed.  The software encryption routines
    now take an mbuf directly and use the TLS mbuf as the crypto buffer
    when possible.

    Bump __FreeBSD_version for software backends in ports.

    Reviewed by:    gallatin, markj
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D30138


Does this answer your question?

--
Herbert