[Top][All Lists]

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

Re: [lwip-users] blocked udp

From: Noam Weissman
Subject: Re: [lwip-users] blocked udp
Date: Wed, 28 Sep 2016 10:52:05 +0000

Hi Simon,

What is the preferred way to send data from within LwIP context.

Beside running sys_timeout and hooking a function to it ?

If I want to send data at a high rate and I will set sys_timeout to say 1ms it 
will cause load
on the system. Is there another clean way to do it ?


-----Original Message-----
From: lwip-users [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: Wednesday, September 28, 2016 1:33 PM
To: address@hidden
Subject: Re: [lwip-users] blocked udp

garibaldi pineda garcia wrote:
> What I do is have an interrupt to receive the data from the FPGA and,  
>in the main program loop (would this be the LWIP context?),

I guess so. That would mean you don't use an OS but use lwIP in NO_SYS=1 mode.

> I call a function to send data out. I also have an interrupt for the 
> receive function for the LWIP data.

That would mean you call the lwIP TX functions from main loop while calling the 
RX functions from ETH RX interrupt. That's not supported and this most probably 
is your problem.


lwip-users mailing list

reply via email to

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