Matteo Concas commented on a discussion on 
rtemslwip/greth/include/lwipbspopts.h: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149330

 > +#undef LWIP_IPV6
 > +#define LWIP_IPV4 1
 > +
 > +#define GRETH 1
 > +
 > +#define TCP_WND     65535
 > +#define TCP_SND_BUF 65535
 > +#define TCP_SNDLOWAT                                          \
 > +  LWIP_MIN(                                                   \
 > +    LWIP_MAX( ( ( TCP_SND_BUF ) / 2 ), ( 2 * TCP_MSS ) + 1 ), \
 > +    ( 0xFFFFU - ( 4 * TCP_MSS ) - 1 )                         \
 > +  )
 > +#define LWIP_TCP_SACK_OUT 1
 > +#define TCP_QUEUE_OOSEQ   1
 > +
 > +#define IP_FORWARD 1

I tuned the driver for throughput. Admittedly I had bigger SoCs like GR765 in 
mind when I settled on these numbers so memory wise they're not very efficient.

I'll redo this file to do checks and have default values instead of redefining 
things. I wasn't sure about what belonged to the `config.ini` file versus what 
belonged to this file so I added what is basically the base config for the 
driver.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149330
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to