Skip to content

convert net drivers to ndo_hwtstamp API part 2

Vadim Fedorenko linux-renesas-soc netdev 5 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. v5 Latest6 patches 0 repliesApplied 6/6
  2. v46 patches 0 repliesSuperseded
  3. v36 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches4 repliesSuperseded
v16 patches10 repliesSuperseded

Changes in v5 from the cover letter

fix ionic dirver build with CONFIG_PTP_1588_CLOCK=n

Patches in v5 All 6 applied

#Subject and filesSizeRepliesApplied
1/6octeontx2: convert to ndo_hwtstamp APIdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c+33 -350 repliesApplied
2/6mlx4: convert to ndo_hwtstamp APIdrivers/net/ethernet/mellanox/mlx4/en_netdev.c drivers/net/ethernet/mellanox/mlx4/mlx4_en.h+29 -390 repliesApplied
3/6ionic: convert to ndo_hwtstamp APIdrivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_lif.h drivers/net/ethernet/pensando/ionic/ionic_phc.c+52 -440 repliesApplied
4/6net: ravb: convert to ndo_hwtstamp APIdrivers/net/ethernet/renesas/ravb_main.c+19 -420 repliesApplied
5/6net: renesas: rswitch: convert to ndo_hwtstamp APIdrivers/net/ethernet/renesas/rswitch_main.c+19 -340 repliesApplied
6/6net: hns3: add hwtstamp_get/hwtstamp_set opsdrivers/net/ethernet/hisilicon/hns3/hnae3.h drivers/net/ethernet/hisilicon/hns3/hns3_enet.c drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +2 more+64 -260 repliesApplied

Reviews trailers per patch

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

PatchJacob KellerTariq ToukanBrett CreeleyNiklas SöderlundJijie Shao
1/6R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b
6/6R-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 5 reviewers.

Read the v5 thread

Cover letter [PATCH net-next v5 0/6] convert net drivers to ndo_hwtstamp API part 2

This is part 2 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.

v4 -> v5:
fix ionic dirver build with CONFIG_PTP_1588_CLOCK=n
v3 -> v4:
fix commit message in patch 6
v2 -> v3:
use NL_SET_ERR_MSG_MOD() variant to report errors back to user-space
v1 -> v2:
hns3: actually set up new ndo callbacks
ionic: remove _lif_ portion from name to align with other ndo callbacks

Vadim Fedorenko (6):
octeontx2: convert to ndo_hwtstamp API
mlx4: convert to ndo_hwtstamp API
ionic: convert to ndo_hwtstamp API
net: ravb: convert to ndo_hwtstamp API
net: renesas: rswitch: convert to ndo_hwtstamp API
net: hns3: add hwtstamp_get/hwtstamp_set ops

 drivers/net/ethernet/hisilicon/hns3/hnae3.h   |  5 ++
 .../net/ethernet/hisilicon/hns3/hns3_enet.c   | 31 ++++++++++
 .../hisilicon/hns3/hns3pf/hclge_main.c        | 13 ++--
 .../hisilicon/hns3/hns3pf/hclge_ptp.c         | 32 +++++-----
 .../hisilicon/hns3/hns3pf/hclge_ptp.h         |  9 ++-
 .../marvell/octeontx2/nic/otx2_common.h       |  9 ++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  | 56 ++++++++---------
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |  3 +-
 .../net/ethernet/mellanox/mlx4/en_netdev.c    | 62 ++++++++-----------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h  |  6 +-
 .../net/ethernet/pensando/ionic/ionic_lif.c   | 17 +----
 .../net/ethernet/pensando/ionic/ionic_lif.h   | 18 ++++--
 .../net/ethernet/pensando/ionic/ionic_phc.c   | 61 +++++++++++-------
 drivers/net/ethernet/renesas/ravb_main.c      | 61 ++++++------------
 drivers/net/ethernet/renesas/rswitch_main.c   | 53 ++++++----------
 15 files changed, 216 insertions(+), 220 deletions(-)
Signature · 1 line
2.47.3