[PATCH net-next v2, 0/4] ENETC: support hardware timestamping

From: Y.b. Lu
Date: Wed May 22 2019 - 22:36:16 EST


This patch-set is to support hardware timestamping for ENETC
and also to add ENETC 1588 timer device tree node for ls1028a.

Because the ENETC RX BD ring dynamic allocation has not been
supported and it is too expensive to use extended RX BDs
if timestamping is not used, a Kconfig option is used to
enable extended RX BDs in order to support hardware
timestamping. This option will be removed once RX BD
ring dynamic allocation is implemented.

Yangbo Lu (4):
enetc: add hardware timestamping support
enetc: add get_ts_info interface for ethtool
dt-binding: ptp_qoriq: support ENETC PTP compatible
arm64: dts: fsl: ls1028a: add ENETC 1588 timer node

.../devicetree/bindings/ptp/ptp-qoriq.txt | 1 +
.../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 +
drivers/net/ethernet/freescale/enetc/Kconfig | 10 ++
drivers/net/ethernet/freescale/enetc/enetc.c | 158 +++++++++++++++++-
drivers/net/ethernet/freescale/enetc/enetc.h | 15 +-
.../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 +
10 files changed, 235 insertions(+), 6 deletions(-)

--
2.17.1