Page MenuHomeFreeBSD

src.opts.mk: enable OPENSSL_KTLS by default on riscv64
ClosedPublic

Authored by siva on May 28 2026, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 11:38 AM
Unknown Object (File)
Mon, Aug 10, 7:21 AM
Unknown Object (File)
Sun, Aug 9, 10:11 AM
Unknown Object (File)
Sun, Aug 9, 10:11 AM
Unknown Object (File)
Sat, Aug 8, 5:56 AM
Unknown Object (File)
Sat, Aug 8, 5:18 AM
Unknown Object (File)
Fri, Aug 7, 2:27 PM
Unknown Object (File)
Fri, Aug 7, 2:27 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

siva requested review of this revision.May 28 2026, 10:03 PM
This revision is now accepted and ready to land.May 29 2026, 1:40 PM

This "fixes" the issue, but the tests should also be intelligent enough to understand when the OPENSSL_KTLS feature isn't present and skip the tests if the feature isn't present in the kernel (see ATF_REQUIRE_FEATURE, etc).

This "fixes" the issue, but the tests should also be intelligent enough to understand when the OPENSSL_KTLS feature isn't present and skip the tests if the feature isn't present in the kernel (see ATF_REQUIRE_FEATURE, etc).

ATF_REQUIRE_FEATURE is awfully unidiomatic, we should implement a require.features property instead.

In D57316#1314576, @des wrote:

This "fixes" the issue, but the tests should also be intelligent enough to understand when the OPENSSL_KTLS feature isn't present and skip the tests if the feature isn't present in the kernel (see ATF_REQUIRE_FEATURE, etc).

ATF_REQUIRE_FEATURE is awfully unidiomatic, we should implement a require.features property instead.

I agree.. just not sure how to handle it yet with other platforms where this feature might not be available. Probably should just push forward with the OS-specific handler behavior in kyua for FreeBSD started by @igoro .

In D57316#1314576, @des wrote:

This "fixes" the issue, but the tests should also be intelligent enough to understand when the OPENSSL_KTLS feature isn't present and skip the tests if the feature isn't present in the kernel (see ATF_REQUIRE_FEATURE, etc).

ATF_REQUIRE_FEATURE is awfully unidiomatic, we should implement a require.features property instead.

I agree.. just not sure how to handle it yet with other platforms where this feature might not be available. Probably should just push forward with the OS-specific handler behavior in kyua for FreeBSD started by @igoro .

Yes, it could be implemented that way. The patch is designed in a way that allows new handlers to be introduced later: https://reviews.freebsd.org/D48087. By the way, it has been ready for landing for quite some time. @ngie , it just waits for your formal approval. All the comments have been addressed there.

share/man/man5/src.conf.5
1517

why does it say i386 twice?

share/man/man5/src.conf.5
1517

because this is MACHINE/MACINE_ARCH notation, just like everywhere else.