On Sun, 25 Jun 2000, Alan Cox wrote:
> No. I want to do
With all due respect, I don't understand!
What has RING_SIZE to do with the allocation of a buffer? Should it be
"PKT_BUF_SZ" instead (="size of each temporary Rx buffer") ?
> recycle original
What does "recycle" mean: is it sent up or kept? In case it's sent up, how
do we get another buffer? In case it's kept, what do we send?
> alloc skb
Now the "else" part is just the opposite of Don's copybreak scheme. Why
do you want to copy when pkt_size > rx_copybreak? Isn't memcpy too
expensive in this case?
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868