On 10/13/2010 12:12 PM, Kurt Van Dijck wrote:

>> On the flexcan, we use (currently) the hardware loopback. So a TX'ed CAN
>> frame generates a TX-complete interrupt, which we need for the
>> netif_wake_queue(). And it also generates a RX-interrupt due to the
>> hardware loopback.
>>
> Do I understand well that you didn't do can_put_echo_skb() etc?
> FYI, I'm just trying to understand what exactly is meant by
> 'hardware' & 'software' loopback.

Yes, software loopback means using can_{put,get}_echo_skb(). Lookback in
hardware means that each frame a can core send it will receive it. There
is (in genereal) no way to tell if it's a loopback frame or a frame from
a different can node.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to