Page MenuHomeFreeBSD

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

Authored by jhb on Wed, Oct 13, 9:11 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.