linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH (net.git) 0/3] stmmac: fix PTP support
@ 2016-10-26  6:56 Giuseppe Cavallaro
  2016-10-26  6:56 ` [PATCH (net.git) 1/3] stmmac: update the PTP header file Giuseppe Cavallaro
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Giuseppe Cavallaro @ 2016-10-26  6:56 UTC (permalink / raw)
  To: netdev
  Cc: alexandre.torgue, rayagond, richardcochran, linux-kernel,
	seraphin.bonnaffe, Giuseppe Cavallaro

This subset of patches aim to fix the PTP support
for the stmmac and especially for 4.x chip series.
While setting PTP on an ST box with 4.00a Ethernet
core, the kernel panics due to a broken settings
of the descriptors. The patches review the
register configuration, the algo used for configuring
the protocol, the way to get the timestamp inside
the RX/TX descriptors and, in the end, the statistics
displayed by ethtool.

Giuseppe Cavallaro (3):
  stmmac: update the PTP header file
  stmmac: fix PTP support for GMAC4
  stmmac: fix PTP type ethtool stats

 drivers/net/ethernet/stmicro/stmmac/common.h       | 24 +++---
 drivers/net/ethernet/stmicro/stmmac/descs.h        | 20 +++--
 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c | 95 ++++++++++++++++-----
 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.h |  4 +
 drivers/net/ethernet/stmicro/stmmac/enh_desc.c     | 28 ++++---
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |  1 +
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   | 19 +++--
 .../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c  | 43 ++++++++--
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  | 97 +++++++++++-----------
 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c   |  9 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.h   | 72 ++++++++--------
 11 files changed, 260 insertions(+), 152 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-11-04 15:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-26  6:56 [PATCH (net.git) 0/3] stmmac: fix PTP support Giuseppe Cavallaro
2016-10-26  6:56 ` [PATCH (net.git) 1/3] stmmac: update the PTP header file Giuseppe Cavallaro
2016-10-26  6:56 ` [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4 Giuseppe Cavallaro
2016-10-27 10:25   ` Rayagond Kokatanur
2016-10-27 10:32     ` Giuseppe CAVALLARO
2016-10-27 10:51       ` Rayagond Kokatanur
2016-11-02  6:34         ` Giuseppe CAVALLARO
2016-11-02  7:04           ` Rayagond Kokatanur
2016-10-26  6:56 ` [PATCH (net.git) 3/3] stmmac: fix PTP type ethtool stats Giuseppe Cavallaro
2016-10-26  7:29 ` [PATCH (net.git) 0/3] stmmac: fix PTP support Alexandre Torgue
2016-10-26  8:58 ` Richard Cochran
2016-11-02  7:03   ` Rayagond Kokatanur
2016-11-04 13:53 ` Giuseppe CAVALLARO
2016-11-04 15:30   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).