mbox series

[net-next,0/5,pull,request] 1GbE Intel Wired LAN Driver Updates 2020-01-06

Message ID 20200106231956.549255-1-jeffrey.t.kirsher@intel.com
Headers show
Series 1GbE Intel Wired LAN Driver Updates 2020-01-06 | expand

Message

Kirsher, Jeffrey T Jan. 6, 2020, 11:19 p.m. UTC
This series contains updates to igc to add basic support for
timestamping.

Vinicius adds basic support for timestamping and enables ptp4l/phc2sys
to work with i225 devices.  Initially, adds the ability to read and
adjust the PHC clock.  Patches 2 & 3 enable and retrieve hardware
timestamps.  Patch 4 implements the ethtool ioctl that ptp4l uses to
check what timestamping methods are supported.  Lastly, added support to
do timestamping using the "Start of Packet" signal from the PHY, which
is now supported in i225 devices.

While i225 does support multiple PTP domains, with multiple timestamping
registers, we currently only support one PTP domain and use only one of
the timestamping registers for implementation purposes.

The following are changes since commit df2c2ba831a04083ad7485684896eeb090ca3c7d:
  Merge branch 'Convert-Felix-DSA-switch-to-PHYLINK'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 1GbE

Vinicius Costa Gomes (5):
  igc: Add basic skeleton for PTP
  igc: Add support for RX timestamping
  igc: Add support for TX timestamping
  igc: Add support for ethtool GET_TS_INFO command
  igc: Use Start of Packet signal from PHY for timestamping

 drivers/net/ethernet/intel/igc/Makefile      |   2 +-
 drivers/net/ethernet/intel/igc/igc.h         |  45 ++
 drivers/net/ethernet/intel/igc/igc_defines.h |  66 ++
 drivers/net/ethernet/intel/igc/igc_ethtool.c |  34 +
 drivers/net/ethernet/intel/igc/igc_main.c    |  87 +++
 drivers/net/ethernet/intel/igc/igc_ptp.c     | 716 +++++++++++++++++++
 drivers/net/ethernet/intel/igc/igc_regs.h    |  27 +
 7 files changed, 976 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ethernet/intel/igc/igc_ptp.c

Comments

David Miller Jan. 7, 2020, 2:45 a.m. UTC | #1
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Mon,  6 Jan 2020 15:19:51 -0800

> This series contains updates to igc to add basic support for
> timestamping.
> 
> Vinicius adds basic support for timestamping and enables ptp4l/phc2sys
> to work with i225 devices.  Initially, adds the ability to read and
> adjust the PHC clock.  Patches 2 & 3 enable and retrieve hardware
> timestamps.  Patch 4 implements the ethtool ioctl that ptp4l uses to
> check what timestamping methods are supported.  Lastly, added support to
> do timestamping using the "Start of Packet" signal from the PHY, which
> is now supported in i225 devices.
> 
> While i225 does support multiple PTP domains, with multiple timestamping
> registers, we currently only support one PTP domain and use only one of
> the timestamping registers for implementation purposes.
> 
> The following are changes since commit df2c2ba831a04083ad7485684896eeb090ca3c7d:
>   Merge branch 'Convert-Felix-DSA-switch-to-PHYLINK'
> and are available in the git repository at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 1GbE

Pulled, thanks Jeff.