Hi Mario!
        If you say "OS delay" you're probably using an OS. If you're using the
netcon or socket API you could send your "data transfer of application"
to a separate task and assign it a lower priority. That way your
application code can run as fast as mcu permits and "networking
management" always takes precedence. You can get that without modifying
lwip.

        Jan

On 18.09.2020 14:41, Mário Luzeiro wrote:
> Hello all,
> 
> Not sure if my question makes sense but is possible that I can control the 
> priority processing of the packages?
> 
> I would like that large packages are delayed or do some OS delay to switch to 
> other tasks.
> 
> My propose is that if there are multiple packages arriving the smaller are 
> processed first.
> I would like to assume (to my case scenario) that a large package (TCP_MSS I 
> set it to maximum) is related to "data transfer of application" and that 
> small packages are related to "networking management"
> 
> Where should I look in LWIP to add this control?
> 
> Mario
> _______________________________________________
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to