Hi Frédéric,

> >The solution which Frédéric proposed is simpler, but sends 
> ALL packets to the tcpip_thread. Filtering them before 
> passing on seemed more performant to me.
> 
> Yes, I've got the same idea yesterday :) Even if on a 
> "classic" network, most of packets are IP & ARP, there is 
> some others packets for STP or other Ethernet level protocols 
> (in my network, there is something like 120 devices, and, in 
> 5 sec, there is something like 15 "low-level" packets).
> 
> This is always the same problem  : more code in "receive" 
> thread (so footprint increase), to save processor time. I 
> don't think this this a problem, and I can propose a "clean" 
> patch if Simon is ok with this solution...

Of course I would like to see your patch, although I already have one myself 
(since I'm using the stack this way, already). I think it's always better to 
see another idea, so if you have a patch, please submit it, I'll file a bug 
entry.

Simon


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to