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