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
Unknown Object (File)
Tue, Apr 21, 3:40 AM
Unknown Object (File)
Sun, Apr 19, 6:38 AM
Unknown Object (File)
Fri, Apr 17, 7:13 AM
Unknown Object (File)
Thu, Apr 16, 7:17 AM
Unknown Object (File)
Wed, Apr 15, 9:03 PM
Unknown Object (File)
Sun, Apr 5, 2:18 AM
Unknown Object (File)
Thu, Apr 2, 11:18 PM
Unknown Object (File)
Thu, Apr 2, 2:05 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