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
F169743033: D57316.diff
Wed, Sep 2, 10:45 AM
F169711706: D57316.id179591.diff
Wed, Sep 2, 8:48 AM
F169586723: D57316.diff
Wed, Sep 2, 12:03 AM
F169528315: D57316.id178857.diff
Tue, Sep 1, 8:02 PM
Unknown Object (File)
Mon, Aug 31, 8:56 AM
Unknown Object (File)
Mon, Aug 31, 12:13 AM
Unknown Object (File)
Sun, Aug 30, 11:40 PM
Unknown Object (File)
Sun, Aug 30, 12:55 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.