[Intel-wired-lan] [next-queue PATCH v3 2/5] igc: Add support for RX timestamping

Brown, Aaron F aaron.f.brown at intel.com
Sat Dec 14 01:25:52 UTC 2019


> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Vinicius Costa Gomes
> Sent: Monday, December 2, 2019 3:20 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next-queue PATCH v3 2/5] igc: Add support for RX
> timestamping
> 
> This adds support for timestamping received packets.
> 
> It is based on the i210, as many features of i225 work the same way.
> The main difference from i210 is that i225 has support for choosing
> the timer register to use when timestamping packets. Right now, we
> only support using timer 0. The other difference is that i225 stores
> two timestamps in the receive descriptor, right now, we only retrieve
> one.
> 
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes at intel.com>
> ---
>  drivers/net/ethernet/intel/igc/igc.h         |  17 ++
>  drivers/net/ethernet/intel/igc/igc_defines.h |  38 +++
>  drivers/net/ethernet/intel/igc/igc_main.c    |  10 +
>  drivers/net/ethernet/intel/igc/igc_ptp.c     | 272 +++++++++++++++++++
>  drivers/net/ethernet/intel/igc/igc_regs.h    |   3 +
>  5 files changed, 340 insertions(+)

Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list