linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/6] convert net drivers to ndo_hwtstamp API part 2
@ 2025-10-23 22:04 Vadim Fedorenko
  2025-10-23 22:04 ` [PATCH net-next v5 1/6] octeontx2: convert to ndo_hwtstamp API Vadim Fedorenko
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Vadim Fedorenko @ 2025-10-23 22:04 UTC (permalink / raw)
  To: Jian Shen, Salil Mehta, Jijie Shao, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Sunil Goutham,
	Geetha sowjanya, Subbaraya Sundeep, Bharat Bhushan, Tariq Toukan,
	Brett Creeley, Niklas Söderlund, Paul Barker,
	Yoshihiro Shimoda
  Cc: linux-renesas-soc, Richard Cochran, Russell King, Vladimir Oltean,
	Simon Horman, Jacob Keller, netdev, Vadim Fedorenko

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

-- 
2.47.3

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

end of thread, other threads:[~2025-10-28  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23 22:04 [PATCH net-next v5 0/6] convert net drivers to ndo_hwtstamp API part 2 Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 1/6] octeontx2: convert to ndo_hwtstamp API Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 2/6] mlx4: " Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 3/6] ionic: " Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 4/6] net: ravb: " Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 5/6] net: renesas: rswitch: " Vadim Fedorenko
2025-10-23 22:04 ` [PATCH net-next v5 6/6] net: hns3: add hwtstamp_get/hwtstamp_set ops Vadim Fedorenko
2025-10-28  1:20 ` [PATCH net-next v5 0/6] convert net drivers to ndo_hwtstamp API part 2 patchwork-bot+netdevbpf

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