linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/14] convert net drivers to ndo_hwtstamp API
@ 2025-10-13 16:34 Vadim Fedorenko
  2025-10-13 16:34 ` [PATCH net-next 01/14] net: ti: am65-cpsw: move hw timestamping to ndo callback Vadim Fedorenko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vadim Fedorenko @ 2025-10-13 16:34 UTC (permalink / raw)
  To: Shyam Sundar S K, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Igor Russkikh, Egor Pomozov,
	Potnuri Bharat Teja, Dimitris Michailidis, Jian Shen, Salil Mehta,
	Jijie Shao, Sunil Goutham, Geetha sowjanya, Subbaraya Sundeep,
	Bharat Bhushan, Tariq Toukan, Brett Creeley,
	Niklas Söderlund, Paul Barker, Yoshihiro Shimoda,
	MD Danish Anwar, Roger Quadros
  Cc: Richard Cochran, Russell King, Vladimir Oltean, netdev,
	linux-renesas-soc, Vadim Fedorenko

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.
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. 

Vadim Fedorenko (14):
  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
  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
  net: hns3: move hns3pf to use hwtstamp callbacks

 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/hisilicon/hns3/hnae3.h   |   5 +
 .../net/ethernet/hisilicon/hns3/hns3_enet.c   |  29 ++++
 .../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    |  61 +++----
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h  |   6 +-
 .../net/ethernet/pensando/ionic/ionic_lif.c   |  17 +-
 .../net/ethernet/pensando/ionic/ionic_lif.h   |  11 +-
 .../net/ethernet/pensando/ionic/ionic_phc.c   |  59 ++++---
 drivers/net/ethernet/renesas/ravb_main.c      |  61 +++----
 drivers/net/ethernet/renesas/rswitch_main.c   |  53 +++---
 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 +-
 33 files changed, 441 insertions(+), 541 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2025-10-13 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 16:34 [PATCH net-next 00/14] convert net drivers to ndo_hwtstamp API Vadim Fedorenko
2025-10-13 16:34 ` [PATCH net-next 01/14] net: ti: am65-cpsw: move hw timestamping to ndo callback Vadim Fedorenko
2025-10-13 16:34 ` [PATCH net-next 02/14] ti: icssg: convert to ndo_hwtstamp API Vadim Fedorenko
2025-10-13 16:34 ` [PATCH net-next 03/14] amd-xgbe: convert to ndo_hwtstamp callbacks Vadim Fedorenko
2025-10-13 16:34 ` [PATCH net-next 04/14] net: atlantic: convert to ndo_hwtstamp API Vadim Fedorenko
2025-10-13 16:34 ` [PATCH net-next 05/14] cxgb4: " Vadim Fedorenko

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).