This patch is for your convinience. iproute2-next normally directly pulls the uapi changes but I think it will be more convinient for people who want to test to just be able to directly apply this series and have things working. Signed-off-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx> --- Do not pull. This patch is against the head of iproute2-next which have not yet pulled the recent IFLA_CAN_TDC uapi changes. So, even if irrelevant, this entry was also added here to work with the kernel net-next branch. --- include/uapi/linux/can/netlink.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/uapi/linux/can/netlink.h b/include/uapi/linux/can/netlink.h index 00c763df..c059bbe8 100644 --- a/include/uapi/linux/can/netlink.h +++ b/include/uapi/linux/can/netlink.h @@ -134,11 +134,22 @@ enum { IFLA_CAN_BITRATE_CONST, IFLA_CAN_DATA_BITRATE_CONST, IFLA_CAN_BITRATE_MAX, + IFLA_CAN_TDC, + IFLA_CAN_CTRLMODE_EXT, __IFLA_CAN_MAX }; #define IFLA_CAN_MAX (__IFLA_CAN_MAX - 1) +enum { + IFLA_CAN_CTRLMODE_UNSPEC, + IFLA_CAN_CTRLMODE_SUPPORTED, /* u32 */ + + /* add new constants above here */ + __IFLA_CAN_CTRLMODE, + IFLA_CAN_CTRLMODE_MAX = __IFLA_CAN_CTRLMODE - 1 +}; + /* u16 termination range: 1..65535 Ohms */ #define CAN_TERMINATION_DISABLED 0 -- 2.32.0