Canfd support on virtual can?
Closed this issue · 1 comments
swanandb2 commented
I want to learn can fd unfortunately I have pi can2 bord which does not support can fd. I am wondering if I can use virtual can for canfd?
hartkopp commented
Yes, you can use the virtual CAN for CAN FD and ISO-TP.
By default vcan devices are created as CAN FD devices which you can see from the MTU value (CAN = 16, CAN FD = 72):
`$ ip -det link show vcan0
4: vcan0: <NOARP,UP,LOWER_UP> mtu 72 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/can promiscuity 0 minmtu 0 maxmtu 0
vcan numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
`