aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOliver Hartkopp <[email protected]>2023-01-31 11:56:13 +0100
committerMarc Kleine-Budde <[email protected]>2023-02-02 10:33:26 +0100
commit3793301cbaa4a62d83e21f685307da7671f812ab (patch)
treeb0837a3a546533c1e6e5cd80812ae82f9e43a5ba /tools/perf/scripts/python/export-to-sqlite.py
parentd0553680f94c49bbe0e39eb50d033ba563b4212d (diff)
can: raw: fix CAN FD frame transmissions over CAN XL devices
A CAN XL device is always capable to process CAN FD frames. The former check when sending CAN FD frames relied on the existence of a CAN FD device and did not check for a CAN XL device that would be correct too. With this patch the CAN FD feature is enabled automatically when CAN XL is switched on - and CAN FD cannot be switch off while CAN XL is enabled. This precondition also leads to a clean up and reduction of checks in the hot path in raw_rcv() and raw_sendmsg(). Some conditions are reordered to handle simple checks first. changes since v1: https://lore.kernel.org/all/[email protected] - fixed typo: devive -> device changes since v2: https://lore.kernel.org/all/[email protected]/ - reorder checks in if statements to handle simple checks first Fixes: 626332696d75 ("can: raw: add CAN XL support") Signed-off-by: Oliver Hartkopp <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions