lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] more slow code


From: Christiaan Simons
Subject: [lwip-devel] more slow code
Date: Tue, 4 Apr 2006 10:42:34 +0200

Hi,

I've found some more cycle consuming code
(besides pbuf_alloc()/_free()).

It's etharp_ip_input(), which in turn calls
update_arp_entry() and find_entry() for
each incomping IP packet.

I think the linear search in find_entry()
over the ARP table is the culprit.

I guess lot off subsequent (burst) IP packets can come from the same
source,
without much use for updating the table.
So update_arp_entry() should return as quickly as possible for that case.

Christiaan Simons

Hardware Designer
Axon Digital Design

http://www.axon.tv





reply via email to

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