From: "yangrunhua" <yangrunhua@njupt.edu.cn>
To: <linux-kernel@vger.kernel.org>
Subject: Questions about using usbnet.c
Date: Thu, 18 Apr 2002 22:08:28 +0800 [thread overview]
Message-ID: <000601c1e6e2$83a28c70$d1010a0a@yu> (raw)
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
reply other threads:[~2002-04-18 14:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601c1e6e2$83a28c70$d1010a0a@yu' \
--to=yangrunhua@njupt.edu.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox