HomeFreeBSD

cxgbe: Use secq(9) to manage the timestamp generations.

Description

cxgbe: Use secq(9) to manage the timestamp generations.

This is mostly cosmetic, but it also doesn't leave a gap of time where
no structures are valid. Instead, we permit the ISR to continue to
use the previous structure if the write to update cal_current isn't
yet visible.

Reviewed by: gallatin
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D36669

(cherry picked from commit cee4fc7cada8244f375a6542f03d1f255c719bf1)

Details

Provenance
jhbAuthored on Sep 26 2022, 9:58 PM
Reviewer
gallatin
Differential Revision
D36669: cxgbe: Use secq(9) to manage the timestamp generations.
Parents
rG2800e3a8ae1d: cxgbe: Compute timestamps via sbintime_t.
Branches
Unknown
Tags
Unknown