diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2025-05-12 14:24:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-13 15:38:53 -0700 |
commit | 51672a6587a0238761e0f8556b67c8ddbd9dbd73 (patch) | |
tree | d161398ac9e88af47fd91b4e3ce6f21ca11297c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 904c6ad822b6dc115cbef2c1a119b89149fc5add (diff) |
net: enetc: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
New timestamping API was introduced in commit 66f7223039c0 ("net: add
NDOs for configuring hardware timestamping") from kernel v6.6. It is
time to convert the ENETC driver to the new API, so that the
ndo_eth_ioctl() path can be removed completely.
Move the enetc_hwtstamp_get() and enetc_hwtstamp_set() calls away from
enetc_ioctl() to dedicated net_device_ops for the LS1028A PF and VF
(NETC v4 does not yet implement enetc_ioctl()), adapt the prototypes and
export these symbols (enetc_ioctl() is also exported).
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20250512112402.4100618-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions