netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Handling receive packets with limited buffer space
@ 2010-03-19  9:41 Amit Uttamchandani
  2010-03-20 15:01 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Uttamchandani @ 2010-03-19  9:41 UTC (permalink / raw)
  To: netdev


In my modified ethoc.c driver, I am using only one receive buffer
descriptor due to limited space. This works fairly well for small
packets (arp, pings, etc.).

However, doing a 'wget' and downloading a file causes lots of drops and
thus results in a terminated connection.

How do I go about dealing with this? I tried stopping the queue
(netif_stop_queue) while I'm processing the rx skb and then resuming it
once I'm done, but this did not seem to help.

Any ideas on this?

Thanks for any help.
Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-20 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19  9:41 Handling receive packets with limited buffer space Amit Uttamchandani
2010-03-20 15:01 ` Andi Kleen

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).