diff options
| author | Oliver Hartkopp <socketcan@hartkopp.net> | 2019-08-10 22:18:10 +0300 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 18:32:21 +0300 |
| commit | 456a8a646b2563438c16a9b27decf9aa717f1ebb (patch) | |
| tree | 4af45d1dc678b1479a13915bfc9c306961b0d9e9 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | e9dc7c60507c822992e793bd3845f0556ae0ff98 (diff) | |
| download | linux-456a8a646b2563438c16a9b27decf9aa717f1ebb.tar.xz | |
can: gw: add support for CAN FD frames
Introduce CAN FD support which needs an extension of the netlink API to
pass CAN FD type content to the kernel which has a different size to
Classic CAN. Additionally the struct canfd_frame has a new 'flags' element
that can now be modified with can-gw.
The new CGW_FLAGS_CAN_FD option flag defines whether the routing job
handles Classic CAN or CAN FD frames. This setting is very strict at
reception time and enables the new possibilities, e.g. CGW_FDMOD_* and
modifying the flags element of struct canfd_frame, only when
CGW_FLAGS_CAN_FD is set.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
