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, Sep 7, 9:24 PM
Unknown Object (File)
Sun, Sep 6, 2:28 PM
Unknown Object (File)
Sat, Sep 5, 9:30 PM
Unknown Object (File)
Fri, Sep 4, 7:08 PM
Unknown Object (File)
Fri, Sep 4, 1:45 AM
Unknown Object (File)
Thu, Sep 3, 7:50 PM
Unknown Object (File)
Wed, Sep 2, 4:33 PM
Unknown Object (File)
Wed, Sep 2, 10:45 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.