diff options
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2022-07-27 19:16:30 +0900 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-07-28 09:30:36 +0200 |
commit | 6153a7ea650ff1249d703d09a3351c3f77f1fbfa (patch) | |
tree | 8f97554bff4f6dca44d44b981816438f4e60244c /drivers/net/can/c_can | |
parent | 221d14bd3d2e9acc3a33cfcf8f66485d592e5038 (diff) | |
download | linux-6153a7ea650ff1249d703d09a3351c3f77f1fbfa.tar.gz linux-6153a7ea650ff1249d703d09a3351c3f77f1fbfa.tar.bz2 linux-6153a7ea650ff1249d703d09a3351c3f77f1fbfa.zip |
can: slcan: add software tx timestamps
TX timestamps were added to the can_put_echo_skb() function of can_dev
modules in [1]. However, slcan does not rely on that function and as
such does not offer TX timestamping.
Add a call to skb_tx_timestamp() in the slc_xmit() function so that
the module now supports TX software timestamps.
[1] commit 741b91f1b0ea ("can: dev: can_put_echo_skb(): add software
tx timestamps")
Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=741b91f1b0ea34f00f6a7d4539b767c409291fcf
CC: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20220727101641.198847-4-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/c_can')
0 files changed, 0 insertions, 0 deletions