* flexcan: use hardware timestamp
@ 2013-04-29 17:33 Sven Schuchmann
2013-04-29 17:58 ` Marc Kleine-Budde
0 siblings, 1 reply; 4+ messages in thread
From: Sven Schuchmann @ 2013-04-29 17:33 UTC (permalink / raw)
To: linux-can
Hello,
I was wondering if the flexcan driver uses the hardware timestamp
and by looking at the code under drivers/net/can/flexcan.c and did
not find any access to those registers.
is there a special reason for this?
If not, I would try implementing to use skb_shared_hwtstamps...
Best Regards,
Sven
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: flexcan: use hardware timestamp
2013-04-29 17:33 flexcan: use hardware timestamp Sven Schuchmann
@ 2013-04-29 17:58 ` Marc Kleine-Budde
2013-04-29 18:00 ` Marc Kleine-Budde
0 siblings, 1 reply; 4+ messages in thread
From: Marc Kleine-Budde @ 2013-04-29 17:58 UTC (permalink / raw)
To: Sven Schuchmann; +Cc: linux-can
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
On 04/29/2013 07:33 PM, Sven Schuchmann wrote:
> Hello,
> I was wondering if the flexcan driver uses the hardware timestamp
> and by looking at the code under drivers/net/can/flexcan.c and did
> not find any access to those registers.
>
> is there a special reason for this?
Yes, no one has implemented it yet :)
> If not, I would try implementing to use skb_shared_hwtstamps...
Go ahead.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: flexcan: use hardware timestamp
2013-04-29 17:58 ` Marc Kleine-Budde
@ 2013-04-29 18:00 ` Marc Kleine-Budde
2013-04-29 18:42 ` wg
0 siblings, 1 reply; 4+ messages in thread
From: Marc Kleine-Budde @ 2013-04-29 18:00 UTC (permalink / raw)
To: Sven Schuchmann; +Cc: linux-can
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
On 04/29/2013 07:58 PM, Marc Kleine-Budde wrote:
> On 04/29/2013 07:33 PM, Sven Schuchmann wrote:
>> Hello,
>> I was wondering if the flexcan driver uses the hardware timestamp
>> and by looking at the code under drivers/net/can/flexcan.c and did
>> not find any access to those registers.
>>
>> is there a special reason for this?
>
> Yes, no one has implemented it yet :)
>
>> If not, I would try implementing to use skb_shared_hwtstamps...
I mean, go ahead implement hardware timestamps, but I haven't checked if
skb_shared_hwtstamps is the correct interface.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: flexcan: use hardware timestamp
2013-04-29 18:00 ` Marc Kleine-Budde
@ 2013-04-29 18:42 ` wg
0 siblings, 0 replies; 4+ messages in thread
From: wg @ 2013-04-29 18:42 UTC (permalink / raw)
To: Marc Kleine-Budde; +Cc: Sven Schuchmann, linux-can
On Mon, 29 Apr 2013 20:00:17 +0200, Marc Kleine-Budde <mkl@pengutronix.de>
wrote:
> On 04/29/2013 07:58 PM, Marc Kleine-Budde wrote:
>> On 04/29/2013 07:33 PM, Sven Schuchmann wrote:
>>> Hello,
>>> I was wondering if the flexcan driver uses the hardware timestamp
>>> and by looking at the code under drivers/net/can/flexcan.c and did
>>> not find any access to those registers.
>>>
>>> is there a special reason for this?
>>
>> Yes, no one has implemented it yet :)
>>
>>> If not, I would try implementing to use skb_shared_hwtstamps...
>
> I mean, go ahead implement hardware timestamps, but I haven't checked if
> skb_shared_hwtstamps is the correct interface.
Looks good according to:
http://lxr.linux.no/#linux+v3.9/Documentation/networking/timestamping.txt
http://lxr.linux.no/#linux+v3.9/Documentation/networking/timestamping/timestamping.c
Wolfgang,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-29 18:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29 17:33 flexcan: use hardware timestamp Sven Schuchmann
2013-04-29 17:58 ` Marc Kleine-Budde
2013-04-29 18:00 ` Marc Kleine-Budde
2013-04-29 18:42 ` wg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.