[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3218086.lGaqSPkdTl@cwmtaff>
Date: Wed, 05 Apr 2023 01:26:17 -0400
From: Matthew Dawson <matthew@...systems.ca>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] r8152: Advertise support for software timestamping
Since this drivers initial merge, the necessary support for software
based timestamping has been available. Advertise support for this
feature enables the linuxptp project to work with it.
Signed-off-by: Matthew Dawson <matthew@...systems.ca>
Tested-by: Mostafa Ayesh <mostafaayesh@...look.com>
---
drivers/net/usb/r8152.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index decb5ba56a259..44f64fd765a7d 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -9132,6 +9132,7 @@ static const struct ethtool_ops ops = {
.set_ringparam = rtl8152_set_ringparam,
.get_pauseparam = rtl8152_get_pauseparam,
.set_pauseparam = rtl8152_set_pauseparam,
+ .get_ts_info = ethtool_op_get_ts_info,
};
static int rtl8152_ioctl(struct net_device *netdev, struct ifreq *rq, int
cmd)
--
2.39.2
Powered by blists - more mailing lists