Skip to content

convert net drivers to ndo_hwtstamp API part 1

Vadim Fedorenko netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 4 repliesApplied 7/7
  2. v27 patches 21 repliesSuperseded
  3. v114 patches 5 repliesSuperseded

v1 -> v2 from the cover letter

- split series into 2 to avoid spamming a lot of maintainers v2 -> v3:
- patch 5 cxgb4: add explanation of the change in the logic of this driver as it's behaviour was inconsistent
- collect tags from Jacob and Simon

Patches in v3 All 7 applied

#Subject and filesSizeRepliesApplied
1/7net: ti: am65-cpsw: move hw timestamping to ndo callbackdrivers/net/ethernet/ti/am65-cpsw-nuss.c+20 -240 repliesApplied
2/7ti: icssg: convert to ndo_hwtstamp APIdrivers/net/ethernet/ti/icssg/icssg_common.c drivers/net/ethernet/ti/icssg/icssg_prueth.c drivers/net/ethernet/ti/icssg/icssg_prueth.h +1 more+26 -350 repliesApplied
3/7amd-xgbe: convert to ndo_hwtstamp callbacksdrivers/net/ethernet/amd/xgbe/xgbe-drv.c drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c drivers/net/ethernet/amd/xgbe/xgbe.h+21 -420 repliesApplied
4/7net: atlantic: convert to ndo_hwtstamp APIdrivers/net/ethernet/aquantia/atlantic/aq_main.c drivers/net/ethernet/aquantia/atlantic/aq_ptp.c drivers/net/ethernet/aquantia/atlantic/aq_ptp.h+22 -580 repliesApplied
5/7cxgb4: convert to ndo_hwtstamp APIdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c+79 -771 replyApplied
6/7tsnep: convert to ndo_hwtstatmp APIdrivers/net/ethernet/engleder/tsnep.h drivers/net/ethernet/engleder/tsnep_main.c drivers/net/ethernet/engleder/tsnep_ptp.c+51 -593 repliesApplied
7/7funeth: convert to ndo_hwtstamp APIdrivers/net/ethernet/fungible/funeth/funeth.h drivers/net/ethernet/fungible/funeth/funeth_main.c+16 -280 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSimon HormanJacob KellerGerhard Engleder
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b
6/7R-b R-b R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH net-next v3 0/7] convert net drivers to ndo_hwtstamp API part 1

This is part 1 of patchset to convert drivers which support HW timestamping to use .ndo_hwtstamp_get()/.ndo_hwtstamp_set() callbacks. The new API uses netlink to communicate with user-space and have some test coverage. Part 2 will contain another 6 patches from v1 of the series.
There are some drivers left with old ioctl interface after this series:
- mlx5 driver be shortly converted by nVidia folks
- TI netcp ethss driver which needs separate series which I'll post after this one.

v1 -> v2:
- split series into 2 to avoid spamming a lot of maintainers v2 -> v3:
- patch 5 cxgb4: add explanation of the change in the logic of this driver as it's behaviour was inconsistent
- collect tags from Jacob and Simon

Vadim Fedorenko (7):
net: ti: am65-cpsw: move hw timestamping to ndo callback
ti: icssg: convert to ndo_hwtstamp API
amd-xgbe: convert to ndo_hwtstamp callbacks
net: atlantic: convert to ndo_hwtstamp API
cxgb4: convert to ndo_hwtstamp API
tsnep: convert to ndo_hwtstatmp API
funeth: convert to ndo_hwtstamp API

 drivers/net/ethernet/amd/xgbe/xgbe-drv.c      |  24 +--
 drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c |  28 ++--
 drivers/net/ethernet/amd/xgbe/xgbe.h          |  11 +-
 .../net/ethernet/aquantia/atlantic/aq_main.c  |  66 ++------
 .../net/ethernet/aquantia/atlantic/aq_ptp.c   |   6 +-
 .../net/ethernet/aquantia/atlantic/aq_ptp.h   |   8 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h    |   2 +-
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   | 154 +++++++++---------
 drivers/net/ethernet/engleder/tsnep.h         |   8 +-
 drivers/net/ethernet/engleder/tsnep_main.c    |  14 +-
 drivers/net/ethernet/engleder/tsnep_ptp.c     |  88 +++++-----
 drivers/net/ethernet/fungible/funeth/funeth.h |   4 +-
 .../ethernet/fungible/funeth/funeth_main.c    |  40 ++---
 drivers/net/ethernet/ti/am65-cpsw-nuss.c      |  44 +++--
 drivers/net/ethernet/ti/icssg/icssg_common.c  |  47 ++----
 drivers/net/ethernet/ti/icssg/icssg_prueth.c  |   4 +-
 drivers/net/ethernet/ti/icssg/icssg_prueth.h  |   6 +-
 .../net/ethernet/ti/icssg/icssg_prueth_sr1.c  |   4 +-
 18 files changed, 235 insertions(+), 323 deletions(-)
Signature · 1 line
2.47.3