[Click] dev_queue_xmit vs. hard_start_xmit

Ricard Vilalta ricard.vilalta at cttc.es
Mon Jan 10 06:58:00 EST 2011


Hi all,
I am not a linux kernel guru and I would like your support. I have 
lately been working with Myricom NIC's (using linux kernel module 
myri10ge) and it was impossible to forward paquets from another ethernet 
interface to the myricom interface. This leaded to kernel panic. I have 
been trying several solutions and the only one which seems to be working 
is using dev_queue_xmit instead of hard_start_xmit on todevice. I am 
using patchless click with linux kernel 2.6.32-35.

I have fully tested the change and seems to work for me. What do you 
think of this change? May it lead to another type of errors or 
unexpected behaviors?

Thanks in advance.

Best regards,
Ricard

-- 
______________________________________________________________

Ricard Vilalta
Research Engineer
Optical Networking Area (ONA) http://wikiona.cttc.es/
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya
Parc Mediterrani de la Tecnologia (PMT)
Av. Carl Friedrich Gauss 7,
08860 Castelldefels (Barcelona), Spain
http://www.cttc.es/
Phone: +34 93 396 71 70 (ext. 2232). Fax: +34 93 645 29 01
E-mail: ricard.vilalta at cttc.es




More information about the click mailing list