net: ethtool: ts: Update GET_TS to reply the current selected timestamp
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 14 Nov 2023 11:28:42 +0000 (12:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Nov 2023 14:52:58 +0000 (14:52 +0000)
commit091fab122869a39e1bac2cc34df9b737a6f6f36d
treef47dfd7af0d4abe58fe5fb6f4e1d9a07700e2ddc
parent0f7f463d4821a4f52fa5c0a961389e651d50c384
net: ethtool: ts: Update GET_TS to reply the current selected timestamp

As the default selected timestamp API change we have to change also the
timestamp return by ethtool. This patch return now the current selected
timestamp.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/ts.c