[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip does not ack retransmissions
From: |
john bougs |
Subject: |
Re: [lwip-users] lwip does not ack retransmissions |
Date: |
Tue, 27 Jan 2009 16:46:44 -0800 (PST) |
--- On Tue, 1/27/09, Jonathan Larmour <address@hidden> wrote:
> bill wrote:
> > What is your TCP_SND_QUEUELEN? If you tie up all of
> your pbufs to send
> > queued packets, you won't have any pbufs left to
> support receiving packets.
>
> It mostly depends what sort of pbufs. Most pbufs for tx
> data are PBUF_RAM,
> most pbufs for rx data are PBUF_POOL, so those are
> different classes of
> pbufs allocated from different places. The only likely time
> it seems
> possible to have problems with reception if you've
> allocated so many
> PBUF_RAM pbufs that the stack can't even generate an
> ACK packet. Unless you
> are actually allocating PBUF_POOL pbufs in your application
> or something
> like that, of course.
I'm not sending much data and I'm not allocating any pbufs except in ethernetif
low_level_input().
Also in some case I can have lwip send re-transmissions while in this locked
state, so the TX side is not locked, its just the RX side (no PBUF_POOL
available).