Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH 0/6] igc: PTP timestamping fixes
@ 2020-06-04  0:00 Andre Guedes
  2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 1/6] igc: Clean up rx timestamping logic Andre Guedes
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Andre Guedes @ 2020-06-04  0:00 UTC (permalink / raw)
  To: intel-wired-lan

Hi all,

This patch series provides some fixes and improvements to ptp timestamp
handling in IGC driver.

IGC ptp implementation was based on IGB, but there are a few differences on how
I225 handles rx timestamps that need to be considered. For example, I225 doesn't
report rx timestamps via the TS bit rx descriptor + RXSTMPL/RXSTMPH registers
mechanism. They are reported via the packet buffer only.

Apart from that, this patch series also fixes other issues like code
duplication, dummy UDP filter configuration, and missing SRRCTL register clean
up.

Regards,

Andre

Andre Guedes (6):
  igc: Clean up rx timestamping logic
  igc: Remove duplicate code in tx timestamp handling
  igc: Check __IGC_PTP_TX_IN_PROGRESS instead of ptp_tx_skb
  igc: Remove UDP filter setup in PTP code
  igc: Refactor igc_ptp_set_timestamp_mode()
  igc: Fix rx timestamp disabling

 drivers/net/ethernet/intel/igc/igc.h         |   3 -
 drivers/net/ethernet/intel/igc/igc_defines.h |   2 -
 drivers/net/ethernet/intel/igc/igc_main.c    |  12 +-
 drivers/net/ethernet/intel/igc/igc_ptp.c     | 256 +++++--------------
 drivers/net/ethernet/intel/igc/igc_regs.h    |   2 -
 5 files changed, 75 insertions(+), 200 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-06-18 17:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04  0:00 [Intel-wired-lan] [PATCH 0/6] igc: PTP timestamping fixes Andre Guedes
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 1/6] igc: Clean up rx timestamping logic Andre Guedes
2020-06-18 17:18   ` Brown, Aaron F
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 2/6] igc: Remove duplicate code in tx timestamp handling Andre Guedes
2020-06-18 17:18   ` Brown, Aaron F
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 3/6] igc: Check __IGC_PTP_TX_IN_PROGRESS instead of ptp_tx_skb Andre Guedes
2020-06-18 17:18   ` Brown, Aaron F
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 4/6] igc: Remove UDP filter setup in PTP code Andre Guedes
2020-06-18 17:19   ` Brown, Aaron F
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 5/6] igc: Refactor igc_ptp_set_timestamp_mode() Andre Guedes
2020-06-18 17:19   ` Brown, Aaron F
2020-06-04  0:01 ` [Intel-wired-lan] [PATCH 6/6] igc: Fix rx timestamp disabling Andre Guedes
2020-06-18 17:19   ` Brown, Aaron F

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox