From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: "Jian Shen" <shenjian15@huawei.com>,
"Salil Mehta" <salil.mehta@huawei.com>,
"Jijie Shao" <shaojijie@huawei.com>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Sunil Goutham" <sgoutham@marvell.com>,
"Geetha sowjanya" <gakula@marvell.com>,
"Subbaraya Sundeep" <sbhatta@marvell.com>,
"Bharat Bhushan" <bbhushan2@marvell.com>,
"Tariq Toukan" <tariqt@nvidia.com>,
"Brett Creeley" <brett.creeley@amd.com>,
"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
"Paul Barker" <paul@pbarker.dev>,
"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>
Cc: linux-renesas-soc@vger.kernel.org,
Richard Cochran <richardcochran@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Simon Horman <horms@kernel.org>,
Jacob Keller <jacob.e.keller@intel.com>,
netdev@vger.kernel.org,
Vadim Fedorenko <vadim.fedorenko@linux.dev>
Subject: [PATCH net-next v5 0/6] convert net drivers to ndo_hwtstamp API part 2
Date: Thu, 23 Oct 2025 22:04:51 +0000 [thread overview]
Message-ID: <20251023220457.3201122-1-vadim.fedorenko@linux.dev> (raw)
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
next reply other threads:[~2025-10-23 22:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-23 22:04 Vadim Fedorenko [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251023220457.3201122-1-vadim.fedorenko@linux.dev \
--to=vadim.fedorenko@linux.dev \
--cc=andrew+netdev@lunn.ch \
--cc=bbhushan2@marvell.com \
--cc=brett.creeley@amd.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gakula@marvell.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
--cc=pabeni@redhat.com \
--cc=paul@pbarker.dev \
--cc=richardcochran@gmail.com \
--cc=salil.mehta@huawei.com \
--cc=sbhatta@marvell.com \
--cc=sgoutham@marvell.com \
--cc=shaojijie@huawei.com \
--cc=shenjian15@huawei.com \
--cc=tariqt@nvidia.com \
--cc=vladimir.oltean@nxp.com \
--cc=yoshihiro.shimoda.uh@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).