public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Questions about using usbnet.c
@ 2002-04-18 14:08 yangrunhua
  0 siblings, 0 replies; only message in thread
From: yangrunhua @ 2002-04-18 14:08 UTC (permalink / raw)
  To: linux-kernel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-18 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18 14:08 Questions about using usbnet.c yangrunhua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox