mlx4_en: Add PTP support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 6 repliesIn review
- v12 patches 18 repliesSuperseded
Changes in v4 from the cover letter
* Initialize clock_lock
* Use reader/writer spinlock for clock_lock to improve performance when timetamping is enabled.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mlx4_en: Add PTP hardware clockdrivers/ drivers/ drivers/ +1 more | +198 | 3 replies | |
| 2/2 | mlx4_en: Only cycle port if HW timestamp config changesdrivers/ | +4 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Hadar Hen Zion | Richard Cochran |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v4 0/2] mlx4_en: Add PTP support
From: Shawn Bohrer <[email protected]>
This adds support to the mlx4_en driver to support running a PTP client with hardware timestamp support. It also allows synchronization of the hardware timestamped packets with the system clock.
v2:
* Implemented mlx4_en_phc_adjfreq() in software.
* Protected timecounter with a spinlock
* Set the phc_index in mlx4_en_get_ts_info()
* Use a hard-coded ptp_clock_info.name
v3: is code identical to v2. I simply finished testing it with linuxptp, cleaned up the commit description a little and sent to davem.
v4:
* Initialize clock_lock
* Use reader/writer spinlock for clock_lock to improve performance when timetamping is enabled.
Shawn Bohrer (2):
mlx4_en: Add PTP hardware clock
mlx4_en: Only cycle port if HW timestamp config changes
drivers/net/ethernet/mellanox/mlx4/en_clock.c | 198 ++++++++++++++++++++++- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 3 + drivers/net/ethernet/mellanox/mlx4/en_main.c | 3 + drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 6 + 4 files changed, 202 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.7.6