Re: Missing ktls_ocf.ko

From: Gordon Bergling <gbe_at_freebsd.org>
Date: Thu, 16 Feb 2023 08:41:54 UTC
Hi Herbert,

On Thu, Feb 16, 2023 at 09:37:14AM +0100, Herbert J. Skuhra wrote:
> 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?

Thanks for pointing me to this commit. This answers my question and I will
update the manual page for 14-CURRENT so that the documentation is matching
the state for 14-CURRENT.

--Gordon