lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Automatic Rx DMA ring replenish


From: Simon Goldschmidt
Subject: Re: [lwip-users] Automatic Rx DMA ring replenish
Date: Thu, 3 Nov 2011 14:47:01 +0100

"Bill Auerbach" <address@hidden>:

I haven’t benchmarked to be able to provide factual data, but I’ve done a lot of optimization and tweaking of lwIP to improve bandwidth and my study of pbufs and memory pools did not show the need for improvement considering all of the other things required to handle a TCP connection.


I saw the patch not as speed optimization but as a way to simplify the netif driver: to provide a robust implementation, a netif driver would have to ensure it retries if pbuf_alloc fails because the pool is empty (to prevent a deadlock). This patch prevents a netif driver having to implement some sort of timer because it just gets notified when pbufs are available again.

Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]