[Intel-wired-lan] [PATCH v2 05/10] igc: Refactor rx timestamp handling

Andre Guedes andre.guedes at intel.com
Thu Oct 29 23:59:54 UTC 2020


Quoting Maciej Fijalkowski (2020-10-29 07:07:44)
> On Wed, Oct 28, 2020 at 01:19:38PM -0700, Andre Guedes wrote:
> > This patch refactors the rx timestamp handling in preparation to land
> > XDP support.
> > 
> > RX timestamps are put in the rx buffer by hardware, before the packet
> > data. When creating the xdp buffer, we will need to check the rx
> > descriptor to determine if the buffer contains timestamp information
> > and consider the offset when setting xdp.data.
> 
> Out of curiosity, is the timestamping somehow configurable on this device
> or does it always take place? Could it be toggled?

It is configurable in the sense that we can enable/disable timestamps.
How timestamps are reported to host, however, is not configurable. The only
method is via rx buffers.

Thanks,
Andre


More information about the Intel-wired-lan mailing list