Home
last modified time | relevance | path

Searched refs:CANFD_MTU (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/drivers/net/can/
Dvcan.c139 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vcan_change_mtu()
159 dev->mtu = CANFD_MTU; in vcan_setup()
Dvxcan.c134 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vxcan_change_mtu()
159 dev->mtu = CANFD_MTU; in vxcan_setup()
/Linux-v6.6/include/uapi/linux/
Dcan.h217 #define CANFD_MTU (sizeof(struct canfd_frame)) macro
/Linux-v6.6/include/linux/can/
Dskb.h117 return (skb->len == CANFD_MTU && cfd->len <= CANFD_MAX_DLEN); in can_is_canfd_skb()
Ddev.h140 dev->mtu = CANFD_MTU; in can_set_static_ctrlmode()
/Linux-v6.6/Documentation/networking/
Dcan.rst444 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame
630 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed
637 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ]
641 nbytes = read(s, &cfd, CANFD_MTU);
643 if (nbytes == CANFD_MTU) {
660 When reading with size CANFD_MTU only returns CAN_MTU bytes that have
664 CANFD_MTU sized CAN FD frames.
675 CAN FD frames by checking if the device maximum transfer unit is CANFD_MTU.
1113 dev->mtu = CANFD_MTU; /* sizeof(struct canfd_frame) -> CAN FD interface */
1412 MTU = 72 (CANFD_MTU) => sizeof(struct canfd_frame) => CAN FD capable device
[all …]
/Linux-v6.6/drivers/net/can/dev/
Ddev.c307 case CANFD_MTU: in can_change_mtu()
Dnetlink.c270 dev->mtu = CANFD_MTU; in can_changelink()
/Linux-v6.6/net/can/
Draw.c815 (mtu == CANFD_MTU || can_is_canxl_dev_mtu(mtu))) in raw_bad_txframe()
Dbcm.c167 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)
Disotp.c1446 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()