diff options
author | Maxim Georgiev <glipus@gmail.com> | 2023-08-01 16:28:15 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-03 04:11:05 +0200 |
commit | 65c9fde15a651a673637075cc1e9e3aa6aaff203 (patch) | |
tree | c664dbad095a9bd14354a20aeb6c9e3937ab8a57 /mm | |
parent | net: add hwtstamping helpers for stackable net devices (diff) | |
download | linux-65c9fde15a651a673637075cc1e9e3aa6aaff203.tar.xz linux-65c9fde15a651a673637075cc1e9e3aa6aaff203.zip |
net: vlan: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set()
8021q is one of the stackable net devices which pass the hardware
timestamping ops to the real device through ndo_eth_ioctl(). This
prevents converting any device driver to the new hwtimestamping API
without regressions.
Remove that limitation in the vlan driver by using the newly introduced
helpers for timestamping through lower devices, that handle both the new
and the old driver API.
Signed-off-by: Maxim Georgiev <glipus@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20230801142824.1772134-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions