Page MenuHomeFreeBSD

cxgbe: fix module loading
ClosedPublic

Authored by jkim on Feb 10 2023, 3:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 11:02 AM
Unknown Object (File)
Oct 9 2023, 9:22 PM
Unknown Object (File)
Oct 9 2023, 9:22 PM
Unknown Object (File)
Sep 17 2023, 3:51 AM
Unknown Object (File)
Sep 4 2023, 5:07 AM
Unknown Object (File)
Sep 4 2023, 5:06 AM
Unknown Object (File)
Aug 29 2023, 10:05 AM
Unknown Object (File)
Aug 29 2023, 9:39 AM
Subscribers

Details

Summary

After c03414326909, kldload if_cxgbe fails if crypto is not compiled in kernel, e.g., MINIMAL.

# kldload if_cxgbe
link_elf_obj: symbol hmac_init_ipad undefined
linker_load_file: /boot/kernel/if_cxgbe.ko - unsupported file type
kldload: an error occurred while loading module if_cxgbe. Please check dmesg(8) for more details.
Test Plan

Run kldload if_cxgbe and check whether the module is loaded properly.

Diff Detail

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

Event Timeline

jkim requested review of this revision.Feb 10 2023, 3:20 AM
This revision is now accepted and ready to land.Feb 10 2023, 6:01 PM
This revision was automatically updated to reflect the committed changes.