]> Gentwo Git Trees - linux/.git/commit
can: netlink: add initial CAN XL support
authorVincent Mailhol <mailhol@kernel.org>
Wed, 26 Nov 2025 10:16:06 +0000 (11:16 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 26 Nov 2025 10:20:43 +0000 (11:20 +0100)
commite63281614747c73f25b708c75bc696c4e76f5588
treef7aa52403c2bd393a4c5f8763e18c15f0624cdd3
parent60f511f443e552ef5b5cd79ec2b881f4323e19c9
can: netlink: add initial CAN XL support

CAN XL uses bittiming parameters different from Classical CAN and CAN
FD. Thus, all the data bittiming parameters, including TDC, need to be
duplicated for CAN XL.

Add the CAN XL netlink interface for all the features which are common
with CAN FD. Any new CAN XL specific features are added later on.

The first time CAN XL is activated, the MTU is set by default to
CANXL_MAX_MTU. The user may then configure a custom MTU within the
CANXL_MIN_MTU to CANXL_MAX_MTU range, in which case, the custom MTU
value will be kept as long as CAN XL remains active.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20251126-canxl-v8-5-e7e3eb74f889@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/dev.c
drivers/net/can/dev/netlink.c
include/linux/can/bittiming.h
include/linux/can/dev.h
include/uapi/linux/can/netlink.h