commit | 2b1a4547c122dcb9999e1a876236b44408c7d01c | [log] [tgz] |
---|---|---|
author | Stephane Grosjean <s.grosjean@peak-system.com> | Mon Sep 16 16:15:44 2019 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Nov 11 21:58:09 2019 +0100 |
tree | 6be62423bd8afc17d6e66a4099d89e11c9d2bad9 | |
parent | 3cc9358fb51f160e78746fce4adb60b913fb5cc1 [diff] |
can: peak_canfd: provide hw timestamps in rx skbs PEAK-System's CAN FD interfaces based on an IP core provide a timestamp for each CAN and STATUS message received. This patch transfers these received timestamps (clocked in microseconds) to hardware timestamps (clocked in nanoseconds) in the corresponding skbs raised to the network layer. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>