diff options
| author | Oliver Hartkopp <[email protected]> | 2017-04-11 15:43:43 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-05-27 09:42:21 +0200 |
| commit | 02546884221279da2725e87e35348290470363d7 (patch) | |
| tree | 51c10f14227c19228ad727b55840392669a2b8ae /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 7e97d274db920df479e222fed10e7b242f90ffb0 (diff) | |
can: uapi: introduce CANFD_FDF flag for mixed content in struct canfd_frame
The struct can_frame and struct canfd_frame intentionally share the
same layout to be able to write CAN frame content into a CAN FD frame
structure. When this is done the former differentiation via CAN_MTU /
CANFD_MTU is lost. CANFD_FDF allows programmers to mark CAN FD frames
in the case of using struct canfd_frame for mixed CAN/CAN FD
content (dual use).
N.B. the Kernel APIs do NOT provide mixed CAN / CAN FD content inside
of struct canfd_frame therefore the CANFD_FDF flag is disregarded by
Linux.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions