| To: | Rabeeh Khoury <rabeeh@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Linux IP stack on kernel 2.4.18 |
| From: | Rabeeh Khoury <rabeeh@xxxxxxxxxxxxx> |
| Date: | Mon, 03 Jun 2002 11:40:11 +0300 |
| Cc: | netdev@xxxxxxxxxxx |
| References: | <3CF9DDD0.3080809@galileo.co.il> |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 |
I fixed the problems. I'm replying for the record of the mailing list. Rabeeh Khoury wrote: Hi All,
This puts the throttling parameter of the IP stack to 50000, instead of 300 which is the defaul in kernel 2.4.18 (the default is set in net/core/dev.c with the variable 'int netdev_max_backlog = 300;')
The HW I'v used that generates jumbo packets has put a wrong total_length field in the IP header, which made IP stack remove a large chunck of the packet. The relevant code that removes the chunck is in net/ipv4/ip_input.c - /* Our transport medium may have padded the buffer out. Now we know it * is IP we can trim to the true length of the frame. * Note this now means skb->len holds ntohs(iph->tot_len). */ if (skb->len > len) { __pskb_trim(skb, len); if (skb->ip_summed == CHECKSUM_HW) skb->ip_summed = CHECKSUM_NONE; }
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Linux IP stack on kernel 2.4.18, Rabeeh Khoury |
|---|---|
| Next by Date: | Linux IP stack on kernel 2.4.18, Robert Olsson |
| Previous by Thread: | Re: Linux IP stack on kernel 2.4.18, Rabeeh Khoury |
| Next by Thread: | Linux IP stack on kernel 2.4.18, Robert Olsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |