[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue
From: |
Kieran Mansley |
Subject: |
Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue |
Date: |
Mon, 02 Feb 2009 11:59:14 +0000 |
On Sun, 2009-02-01 at 13:25 +0100, Jakob Stoklund Olesen wrote:
> Here is a plan:
>
> 1. Split tcp_enqueue in two: data+options.
>
> 2. Move checksumming from tcp_output_segment to tcp_enqueue. Some header
> fields are updated in tcp_output_segment. Update the checksum.
>
> 3. Use inet_chksum_memcpy to checksum on the fly. Incrementally update
> seg->tcphdr->chksum when adding data.
>
> 4. Allocate larger pbufs using clever strategy. pcb->unsent_tail_space
> holds the number of extra bytes available in the final pbuf of
> pcb->unsent.
Lets do these separately and one at a time. I'm quite conservative
about changes in the core stack, particularly if they're changing the
API. The move to split tcp_enqueue into two sounds OK as long as we
don't end up with much bigger code, and I'm happy to see a neat change
to avoid half-filled pbufs. I'm not sure what all the checksumming
changes will give us though.
Kieran
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, (continued)
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, address@hidden, 2009/02/02
- RE: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, bill, 2009/02/02
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, address@hidden, 2009/02/02
- RE: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, bill, 2009/02/02
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, address@hidden, 2009/02/02
- RE: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, bill, 2009/02/03
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, Jonathan Larmour, 2009/02/04
Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, Jonathan Larmour, 2009/02/01
[lwip-devel] Re: [task #7040] Work on tcp_enqueue, Jakob Stoklund Olesen, 2009/02/01
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue,
Kieran Mansley <=
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, Kieran Mansley, 2009/02/03
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, Alain M., 2009/02/03
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, address@hidden, 2009/02/03
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, Alain M., 2009/02/03
- Re: [lwip-devel] Re: [task #7040] Work on tcp_enqueue, address@hidden, 2009/02/03