[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-can
Subject: Re: flexcan: use hardware timestamp
From: wg <wg () grandegger ! com>
Date: 2013-04-29 18:42:35
Message-ID: 05b3a72eaa4694232ba34598c325a345 () grandegger ! com
[Download RAW message or body]
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,
--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic