[Intel-wired-lan] [PATCH next-queue v1 3/3] igc: Use ptp->aux_worker to retrieve TX timestamps
Vinicius Costa Gomes
vinicius.gomes at intel.com
Mon Mar 13 22:13:12 UTC 2023
Hi,
Marc Kleine-Budde <mkl at pengutronix.de> writes:
> On 27.02.2023 21:45:34, Vinicius Costa Gomes wrote:
>> ptp->aux_worker is a kthread and allows the user to set it's priority,
>> which is useful for workloads that time synchronization is required.
>>
>> As an optimization, when the interrupt is handled try to retrieve the
>> timestamps "inline", if they are not, schedule the workload. This
>> should reduce the delay before the TX timestamp is available to
>> userspace.
>>
>> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes at intel.com>
>
> Can this optimization also be applied to the igb?
>
The idea behind this optimization applies, but I think that also
introducing something like patch 1/3 (the spinlock) would make the code
easier to reason about.
Cheers,
--
Vinicius
More information about the Intel-wired-lan
mailing list