Questions about using usbnet.c

From: yangrunhua (yangrunhua@njupt.edu.cn)
Date: Thu Apr 18 2002 - 09:08:28 EST


Hi all!
When I use dev_queue_xmit( ) to send packets directly to the usb device
from a netfilter hook( in a ipt target function),
( I want to forward packet from eth0 directly into usb0, so I do it like
that)
the rate is so slow that dev_queue_xmit always returns 1 which means
droped ( 200kbits/s at most).
But when I used a user-space (TCP) program to send packet, and receive
on the other machine,
the rate grew up to 6Mbits/s.
Is there any limit on using dev_queue_xmit( ) directly ?
Regards,
yangrunhua

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:21 EST