Thread (16 messages) flat view 16 messages, 4 authors, 2024-08-08

Re: [PATCH v3 iwl-next 4/4] ice: combine cross timestamp functions for E82x and E830

From: Jacob Keller <jacob.e.keller@intel.com>
Date: 2024-07-25 16:31:45
Also in: intel-wired-lan


On 7/25/2024 2:34 AM, Karol Kolacinski wrote:
From: Jacob Keller <jacob.e.keller@intel.com>

The E830 and E82x devices use essentially the same logic for performing
a crosstimestamp. The only difference is that E830 hardware has
different offsets. Instead of having two implementations, combine them
into a single ice_capture_crosststamp() function.

Also combine the wrapper functions which call
get_device_system_crosststamp() into a single ice_ptp_getcrosststamp()
function.
The commit message could probably be updated since I think this is
referring to E830 code which is only in our internal branch. I guess you
must have squashed this together with the original E830 implementation
rather than sending that up and then this refactor/cleanup?

Not a huge deal, but it is somewhat confusing when reading the actual
patch code.

Thanks,
Jake
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help