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)
Sun, Jul 12, 3:45 AM
Unknown Object (File)
Tue, Jul 7, 2:12 PM
Unknown Object (File)
Sun, Jul 5, 6:21 AM
Unknown Object (File)
Fri, Jul 3, 10:52 PM
Unknown Object (File)
Fri, Jul 3, 5:34 AM
Unknown Object (File)
Thu, Jul 2, 2:27 PM
Unknown Object (File)
Wed, Jun 24, 3:05 AM
Unknown Object (File)
Wed, Jun 24, 2:34 AM

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.