Page MenuHomeFreeBSD

cxgbe: Only run ktls_tick when NIC TLS is enabled.
ClosedPublic

Authored by jhb on Oct 13 2021, 9:11 PM.
Tags
None
Referenced Files
F131918672: D32491.id96875.diff
Sun, Oct 12, 5:19 AM
F131863410: D32491.id96843.diff
Sat, Oct 11, 7:16 PM
F131863404: D32491.id.diff
Sat, Oct 11, 7:16 PM
Unknown Object (File)
Sat, Oct 11, 10:22 AM
Unknown Object (File)
Mon, Oct 6, 7:21 PM
Unknown Object (File)
Fri, Oct 3, 12:14 AM
Unknown Object (File)
Sep 9 2025, 2:30 PM
Unknown Object (File)
Sep 1 2025, 11:49 AM
Subscribers

Details

Summary

Previously the body of ktls_tick was a nop when NIC TLS was disabled,
but the callout was still scheduled consuming power on otherwise-idle
systems with Chelsio T6 adapters. Now the callout only runs while NIC
TLS is enabled on at least one interface of an adapter.

Reported by: mav
Sponsored by: Chelsio Communications

Diff Detail

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