From: "K.Anantha Kiran" <ananth@cse.iitk.ac.in>
To: Armen Kaleshian <akaleshian@kriation.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Can i use dev_queue_xmit
Date: Wed, 7 Apr 2004 16:44:59 +0530 (IST) [thread overview]
Message-ID: <Pine.LNX.4.44.0404071643130.9950-100000@csews110.cse.iitk.ac.in> (raw)
In-Reply-To: <Pine.LNX.4.44.0404070954110.12893-100000@csews106.cse.iitk.ac.in>
Anyway we have written a module,
If you know any idea about our problem,(dropping packets due to
NET_XMIT_DROP return value of dev_queue_xmit()) can u help us.Atleast
suggest a source where we can get answer for my problem.
We want to know the situation(or)Reason when NET_XMIT_DROP will be
returned.
Thanks,
K.AnanthaKiran
> On Tue, 6 Apr 2004, Armen Kaleshian wrote:
>
> > Date: Tue, 6 Apr 2004 12:55:29 -0400
> > From: Armen Kaleshian <akaleshian@kriation.com>
> > To: K.Anantha Kiran <ananth@cse.iitk.ac.in>
> > Cc: linux-c-programming@vger.kernel.org
> > Subject: Re: Can i use dev_queue_xmit
> >
> > Why don't you look at the source for iptables? Or use iptables instead of writing the kernel module from scratch?
> >
> > Good luck!
> >
> > On Tue, Apr 06, 2004 at 07:50:50PM +0530, K.Anantha Kiran wrote:
> > :
> > : We are supposed to build a kernel module which takes packets in the
> > : internet through one interface and forward them to another interface of
> > : my choice based on the IP,Port feilds in the packet.
> > :
> > : Our module is working fine for less rate(200Mbps) of traffic.If speed is
> > : increasing(>200Mbps), for some packets "dev_queue_xmit()" is returning NET_XMIT_DROP due to which packets are being dropped.
> > :
> > : Can u suggest any solution. Can u give the reason for that return value
> > : only for high traffic.Is there any speed restiction to dev_queue_xmit()
> > : We are using Gigbyte traffic ethrtnet cards.
> > :
> > : Thanks in advance,
> > : K.AnanthaKiran
> > :
> > :
> > :
> > : -
> > : To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> > : the body of a message to majordomo@vger.kernel.org
> > : More majordomo info at http://vger.kernel.org/majordomo-info.html
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
>
next parent reply other threads:[~2004-04-07 11:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0404070954110.12893-100000@csews106.cse.iitk.ac.in>
2004-04-07 11:14 ` K.Anantha Kiran [this message]
2004-03-23 13:31 Splitter syedk
2004-04-06 14:20 ` Can i use dev_queue_xmit K.Anantha Kiran
2004-04-06 16:55 ` Armen Kaleshian
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=Pine.LNX.4.44.0404071643130.9950-100000@csews110.cse.iitk.ac.in \
--to=ananth@cse.iitk.ac.in \
--cc=akaleshian@kriation.com \
--cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).