Enabling AESNI by default

Warner Losh imp at bsdimp.com
Fri Jan 1 22:58:04 UTC 2021


On Fri, Jan 1, 2021, 1:40 PM Mina Galić <me+freebsd at igalic.co> wrote:

> On Thursday, December 31st, 2020 at 20:51, Allan Jude <
> allanjude at freebsd.org> wrote:
>
> > We've had the AESNI module for quite a few years now, and it has not
> caused any problems.
> >
> > I am wondering if there are any objections to including it in GENERIC,
> so that users get the benefit without having to have the "tribal knowledge"
> that 'to accelerate kernel crypto (GELI, ZFS, IPSEC, etc), you need to load
> aesni.ko'
>
> This tribal knowledge is encoded in bsdinstall when you setup encryption
> on zfs:
>
> https://cgit.freebsd.org/src/tree/usr.sbin/bsdinstall/scripts/zfsboot#n1207


Even so, adding to GENERIC is fine.

Warner


>
> Mina
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


More information about the freebsd-current mailing list