Page MenuHomeFreeBSD

WITH_OFED build option: fix
ClosedPublic

Authored by kib on Feb 2 2021, 1:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 7:56 PM
Unknown Object (File)
Mon, Dec 9, 5:58 AM
Unknown Object (File)
Nov 4 2024, 1:59 PM
Unknown Object (File)
Oct 5 2024, 9:27 AM
Unknown Object (File)
Oct 4 2024, 8:04 PM
Unknown Object (File)
Oct 3 2024, 4:05 PM
Unknown Object (File)
Oct 3 2024, 3:06 PM
Unknown Object (File)
Oct 1 2024, 7:48 PM

Details

Summary

Userspace has OFED build enabled for quite some time, but kernel modules were not. This is useless config because any userspace IB code requires kernel support. So enable modules build by default.

Move WITH_OFED to WITHOUT_OFED since defaults are now enabled.

Diff Detail

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

Event Timeline

kib requested review of this revision.Feb 2 2021, 1:36 PM
kib created this revision.
This revision is now accepted and ready to land.Feb 2 2021, 2:37 PM

I think we're slightly inclined towards leaving WITH_OFED in-tree even if it's the default, but not a solid objection.

LGTM, one little nit on the option description

tools/build/options/WITHOUT_OFED
3

In our conventional WITH/WITHOUT style this would be "Set to disable the build of the"
IMO these descriptions are very redundant; the description of the option is clearly the action taken when the option is set, so I think just "Do not build the" is sufficient.

This revision was automatically updated to reflect the committed changes.