diff options
author | Vivek Yadav <[email protected]> | 2022-10-18 10:03:33 +0530 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2022-10-20 11:56:38 +0200 |
commit | f5071d9e729dd3e563097949ba828ffa38629947 (patch) | |
tree | b0c276479aae72a19f6c5618c9b9b747de8bfd65 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6a8836e3c24a9f854d502b41584cf3f9765e950c (diff) |
can: m_can: m_can_handle_bus_errors(): add support for handling DLEC error on CAN-FD frames
When a frame in CAN FD format has reached the data phase, the next CAN
event (error or valid frame) will be shown in DLEC.
Utilize the dedicated flag (Data Phase Last Error Code: DLEC flag) to
determine the type of last error that occurred in the data phase of a
CAN-FD frame and handle the bus errors.
Signed-off-by: Vivek Yadav <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Reviewed-by: Chandrasekar Ramakrishnan <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions