diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2024-12-12 18:06:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-16 12:51:40 +0000 |
commit | 35f7cad1743e04bf2944a2aadb6b6a42adc57bca (patch) | |
tree | 63ae79d9fb92533e051e790d52083fb0190b08f1 /net/unix/af_unix.c | |
parent | b18fe47c0c093cc429f7e4d7694fdf0fc362aaf5 (diff) |
net: Add the possibility to support a selected hwtstamp in netdevice
Introduce the description of a hwtstamp provider, mainly defined with a
the hwtstamp source and the phydev pointer.
Add a hwtstamp provider description within the netdev structure to
allow saving the hwtstamp we want to use. This prepares for future
support of an ethtool netlink command to select the desired hwtstamp
provider. By default, the old API that does not support hwtstamp
selectability is used, meaning the hwtstamp provider pointer is unset.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions