Re: [PATCH 1/4]: Spidernet stop queue when queue is full

2006-10-04 Thread Linas Vepstas
On Wed, Oct 04, 2006 at 12:19:42AM +0200, Arnd Bergmann wrote: > On Tuesday 03 October 2006 22:57, Linas Vepstas wrote: > > result = NETDEV_TX_LOCKED; > > Hmm, this looks a little strange to me. Right. This was left-over cruft from back when. I'll fix this and resend the whole s

Re: [PATCH 1/4]: Spidernet stop queue when queue is full

2006-10-03 Thread Arnd Bergmann
On Tuesday 03 October 2006 22:57, Linas Vepstas wrote: > +   if ((chain->head->next == chain->tail->prev) || > +      (spider_net_get_descr_status(descr) != > SPIDER_NET_DESCR_NOT_IN_USE)) { > result = NETDEV_TX_LOCKED; > goto out; > } ... >  out:

[PATCH 1/4]: Spidernet stop queue when queue is full

2006-10-03 Thread Linas Vepstas
Subject: [PATCH 1/4]: Spidernet stop queue when queue is full. This patch adds a call to netif_stop_queue() when there is no more room for more packets on the transmit queue. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: James K Lewis <[EMAIL PROTECTED]> Cc: Arnd Berg