public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] r8152: Advertise support for software timestamping
@ 2023-04-05  5:26 Matthew Dawson
  2023-04-06 11:15 ` Paolo Abeni
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Dawson @ 2023-04-05  5:26 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	linux-usb, netdev, linux-kernel

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@mjdsystems.ca>
Tested-by: Mostafa Ayesh <mostafaayesh@outlook.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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] r8152: Advertise support for software timestamping
  2023-04-05  5:26 [PATCH] r8152: Advertise support for software timestamping Matthew Dawson
@ 2023-04-06 11:15 ` Paolo Abeni
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Abeni @ 2023-04-06 11:15 UTC (permalink / raw)
  To: Matthew Dawson, David S. Miller, Eric Dumazet, Jakub Kicinski,
	linux-usb, netdev, linux-kernel

Hi,

On Wed, 2023-04-05 at 01:26 -0400, Matthew Dawson wrote:
> 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@mjdsystems.ca>
> Tested-by: Mostafa Ayesh <mostafaayesh@outlook.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)

Does not apply cleanly to net-next due to last line being wrapped.

Please re-spin and specify the target tree into the subj.

Thanks!

Paolo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-06 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05  5:26 [PATCH] r8152: Advertise support for software timestamping Matthew Dawson
2023-04-06 11:15 ` Paolo Abeni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox