]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink_can: add Classical CAN frame LEN8_DLC support
authorOliver Hartkopp <socketcan@hartkopp.net>
Mon, 25 Jan 2021 10:40:55 +0000 (11:40 +0100)
committerDavid Ahern <dsahern@kernel.org>
Fri, 29 Jan 2021 15:49:23 +0000 (15:49 +0000)
commit2ce313d1bb5b3fc8554b71e551b9f72ef7ac78d3
treea5af9058d92596835f38f508cd78b731b599d4c8
parent7887500008c6c75626b0c35f9c83f0eb510a5418
iplink_can: add Classical CAN frame LEN8_DLC support

The len8_dlc element is filled by the CAN interface driver and used for CAN
frame creation by the CAN driver when the CAN_CTRLMODE_CC_LEN8_DLC flag is
supported by the driver and enabled via netlink configuration interface.

Add the command line support for cc-len8-dlc for Linux 5.11+

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iplink_can.c