* Can i use dev_queue_xmit
2004-03-23 13:31 Splitter syedk
@ 2004-04-06 14:20 ` K.Anantha Kiran
2004-04-06 16:55 ` Armen Kaleshian
0 siblings, 1 reply; 3+ messages in thread
From: K.Anantha Kiran @ 2004-04-06 14:20 UTC (permalink / raw)
To: linux-c-programming
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can i use dev_queue_xmit
2004-04-06 14:20 ` Can i use dev_queue_xmit K.Anantha Kiran
@ 2004-04-06 16:55 ` Armen Kaleshian
0 siblings, 0 replies; 3+ messages in thread
From: Armen Kaleshian @ 2004-04-06 16:55 UTC (permalink / raw)
To: K.Anantha Kiran; +Cc: linux-c-programming
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can i use dev_queue_xmit
[not found] <Pine.LNX.4.44.0404070954110.12893-100000@csews106.cse.iitk.ac.in>
@ 2004-04-07 11:14 ` K.Anantha Kiran
0 siblings, 0 replies; 3+ messages in thread
From: K.Anantha Kiran @ 2004-04-07 11:14 UTC (permalink / raw)
To: Armen Kaleshian; +Cc: linux-c-programming
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
> >
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-07 11:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.44.0404070954110.12893-100000@csews106.cse.iitk.ac.in>
2004-04-07 11:14 ` Can i use dev_queue_xmit K.Anantha Kiran
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
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).