Searched refs:CANFD_MTU (Results 1 – 9 of 9) sorted by relevance
105 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()
140 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU) in vcan_change_mtu()155 dev->mtu = CANFD_MTU; in vcan_setup()
135 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU) in vxcan_change_mtu()153 dev->mtu = CANFD_MTU; in vxcan_setup()
769 case CANFD_MTU: in can_change_mtu()987 dev->mtu = CANFD_MTU; in can_changelink()
151 #define CANFD_MTU (sizeof(struct canfd_frame)) macro
227 } else if (skb->len == CANFD_MTU) { in can_send()741 if (unlikely(dev->type != ARPHRD_CAN || skb->len != CANFD_MTU || in canfd_rcv()
749 if (unlikely(size != CANFD_MTU && size != CAN_MTU)) in raw_sendmsg()
143 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)
411 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame595 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed602 [ 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 have629 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 …]