Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/can/
Ddev.h105 if (unlikely(skb->len != CANFD_MTU || in can_dropped_invalid_skb()
122 return skb->len == CANFD_MTU; in can_is_canfd_skb()
137 dev->mtu = CANFD_MTU; in can_set_static_ctrlmode()
/Linux-v4.19/drivers/net/can/
Dvcan.c140 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU) in vcan_change_mtu()
155 dev->mtu = CANFD_MTU; in vcan_setup()
Dvxcan.c135 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU) in vxcan_change_mtu()
153 dev->mtu = CANFD_MTU; in vxcan_setup()
Ddev.c769 case CANFD_MTU: in can_change_mtu()
987 dev->mtu = CANFD_MTU; in can_changelink()
/Linux-v4.19/include/uapi/linux/
Dcan.h151 #define CANFD_MTU (sizeof(struct canfd_frame)) macro
/Linux-v4.19/net/can/
Daf_can.c227 } else if (skb->len == CANFD_MTU) { in can_send()
741 if (unlikely(dev->type != ARPHRD_CAN || skb->len != CANFD_MTU || in canfd_rcv()
Draw.c749 if (unlikely(size != CANFD_MTU && size != CAN_MTU)) in raw_sendmsg()
Dbcm.c143 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)
/Linux-v4.19/Documentation/networking/
Dcan.rst411 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame
595 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed
602 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ]
606 nbytes = read(s, &cfd, CANFD_MTU);
608 if (nbytes == CANFD_MTU) {
625 When reading with size CANFD_MTU only returns CAN_MTU bytes that have
629 CANFD_MTU sized CAN FD frames.
640 CAN FD frames by checking if the device maximum transfer unit is CANFD_MTU.
1076 dev->mtu = CANFD_MTU; /* sizeof(struct canfd_frame) -> CAN FD interface */
1341 MTU = 72 (CANFD_MTU) => sizeof(struct canfd_frame) => CAN FD capable device
[all …]