mbox series

[0/3] ENETC: support hardware timestamping

Message ID 20190516100028.48256-1-yangbo.lu@nxp.com (mailing list archive)
Headers show
Series ENETC: support hardware timestamping | expand

Message

Yangbo Lu May 16, 2019, 9:59 a.m. UTC
This patch-set is to support hardware timestamping for ENETC
and also to add 1588 timer device tree node for ls1028a.

Because ENETC RX BD ring dynamic allocation hasn't been
supported and it's too expensive to use extended RX BDs
if timestamping isn't used, we have to use a Kconfig
option to enable/disable timestamping for now. This
Kconfig option will be removed once RX BD ring dynamic
allocation is implemented.

Yangbo Lu (3):
  enetc: add hardware timestamping support
  enetc: add get_ts_info interface for ethtool
  arm64: dts: fsl: ls1028a: add ENETC 1588 timer node

 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |   5 +
 drivers/net/ethernet/freescale/enetc/Kconfig  |  11 ++
 drivers/net/ethernet/freescale/enetc/enetc.c  | 156 +++++++++++++++++-
 drivers/net/ethernet/freescale/enetc/enetc.h  |  14 +-
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  31 ++++
 .../net/ethernet/freescale/enetc/enetc_hw.h   |  13 ++
 .../net/ethernet/freescale/enetc/enetc_pf.c   |   1 +
 .../net/ethernet/freescale/enetc/enetc_ptp.c  |   5 +
 .../net/ethernet/freescale/enetc/enetc_vf.c   |   1 +
 9 files changed, 231 insertions(+), 6 deletions(-)