All of lore.kernel.org
 help / color / mirror / Atom feed
* CAN documentation
@ 2014-07-25 13:47 Nikita Edward Baruzdin
  2014-07-25 14:03 ` Oliver Hartkopp
  0 siblings, 1 reply; 2+ messages in thread
From: Nikita Edward Baruzdin @ 2014-07-25 13:47 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can@vger.kernel.org

Hello, guys,

I'm looking at linux-can/can-modules tree:

2011-06-26 12:47 Oliver Hartkopp
  minor doc changes ... tbc

2011-06-10 19:08 Oliver Hartkopp
  documentation: rework chapter numbering & references

...

2010-11-22 19:41 Oliver Hartkopp
  Added new documentation layout contributed by Daniele Venzano.

Why are all these changes still not in the kernel? I'm not sure if this
is a good idea to split the documentation, but the patches introduce
some new helpful information.

Hence a little follow-up question:

> The timestamp on Linux has a resolution of one microsecond and it is
> set automatically at the reception of a CAN frame.

It seems to me this is not entirely true as the kernel has a support for
SO_TIMESTAMPNS socket option for quite a long time. Could you really use
that option with CAN? Does it make sense to use nanosecond timestamps?
I'm also a bit confused whether these are only the software timestamps
or you can somehow get them from a controller too.


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

* Re: CAN documentation
  2014-07-25 13:47 CAN documentation Nikita Edward Baruzdin
@ 2014-07-25 14:03 ` Oliver Hartkopp
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Hartkopp @ 2014-07-25 14:03 UTC (permalink / raw)
  To: Nikita Edward Baruzdin; +Cc: linux-can@vger.kernel.org

Hi Nikita,

indeed the BCM patches have been added to the tree as well as
CAN FD and filter documentation updates, see commit log at:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/Documentation/networking/can.txt

Don't know if it's really useful to split up the file.

Would you like to provide a patch for the timestamping stuff?

Regards,
Oliver


On 25.07.2014 15:47, Nikita Edward Baruzdin wrote:
> Hello, guys,
> 
> I'm looking at linux-can/can-modules tree:
> 
> 2011-06-26 12:47 Oliver Hartkopp
>   minor doc changes ... tbc
> 
> 2011-06-10 19:08 Oliver Hartkopp
>   documentation: rework chapter numbering & references
> 
> ...
> 
> 2010-11-22 19:41 Oliver Hartkopp
>   Added new documentation layout contributed by Daniele Venzano.
> 
> Why are all these changes still not in the kernel? I'm not sure if this
> is a good idea to split the documentation, but the patches introduce
> some new helpful information.
> 
> Hence a little follow-up question:
> 
>> The timestamp on Linux has a resolution of one microsecond and it is
>> set automatically at the reception of a CAN frame.
> 
> It seems to me this is not entirely true as the kernel has a support for
> SO_TIMESTAMPNS socket option for quite a long time. Could you really use
> that option with CAN? Does it make sense to use nanosecond timestamps?
> I'm also a bit confused whether these are only the software timestamps
> or you can somehow get them from a controller too.
> 

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

end of thread, other threads:[~2014-07-25 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25 13:47 CAN documentation Nikita Edward Baruzdin
2014-07-25 14:03 ` Oliver Hartkopp

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.