| To: | Bogdan.Costescu@xxxxxxxxxxxxxxxxxxxxx (Bogdan Costescu) |
|---|---|
| Subject: | Re: [patch] 3c59x.c for 2.2.17 |
| From: | Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sun, 25 Jun 2000 16:24:48 +0100 (BST) |
| Cc: | alan@xxxxxxxxxxxxxxxxxxx (Alan Cox), andrewm@xxxxxxxxxx (Andrew Morton), netdev@xxxxxxxxxxx (netdev@xxxxxxxxxxx), toa@xxxxxxxxxxx (Andreas Tobler) |
| In-reply-to: | <Pine.LNX.4.10.10006251540270.25121-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx> from "Bogdan Costescu" at Jun 25, 2000 04:08:18 PM |
| Sender: | owner-netdev@xxxxxxxxxxx |
> If I understand it right, you want that the driver never passes one of its
> preallocated Rx buffers to the upper levels, so that the Rx ring is always
No. I want to do
if(<copybreak)
{
skb=alloc_skb(RING_SIZE);
if(skb==NULL)
recycle original
}
else
{
alloc skb
if(skb!=NULL)
copy
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch] 3c59x.c for 2.2.17, Bogdan Costescu |
|---|---|
| Next by Date: | Re: [patch] 3c59x.c for 2.2.17, Donald Becker |
| Previous by Thread: | Re: [patch] 3c59x.c for 2.2.17, Bogdan Costescu |
| Next by Thread: | Re: [patch] 3c59x.c for 2.2.17, Bogdan Costescu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |