diff options
author | Richard Cochran <richardcochran@gmail.com> | 2023-11-14 12:28:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-18 14:52:57 +0000 |
commit | b8768dc4077712915f045ba1b198f521493c7914 (patch) | |
tree | 9bdc8989c24dae76c118696b6b838acdc86d8b34 /kernel/regset.c | |
parent | 430dc3256d5790361135c69af5de1aaa07248e8a (diff) | |
download | linux-stable-b8768dc4077712915f045ba1b198f521493c7914.tar.gz linux-stable-b8768dc4077712915f045ba1b198f521493c7914.tar.bz2 linux-stable-b8768dc4077712915f045ba1b198f521493c7914.zip |
net: ethtool: Refactor identical get_ts_info implementations.
The vlan, macvlan and the bonding drivers call their "real" device driver
in order to report the time stamping capabilities. Provide a core
ethtool helper function to avoid copy/paste in the stack.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/regset.c')
0 files changed, 0 insertions, 0 deletions