Open ryuxin opened 5 years ago
packet size is defined by EOS_PKT_MAX_SZ https://github.com/WenyuanShao/eos/blob/fwp/src/components/implementation/no_interface/fwp_manager/eos_ring.h#L8
It should be changed according to actual packet size
lwip also defines TCP_MSS, which has to be changed accordingly with max packet size in eos. TCP_MSS is max tcp payload, and other header length is 66 in total, so we should have TCP_MSS, + 66 < EOS_PKT_MAX_SZ
packet size is defined by EOS_PKT_MAX_SZ https://github.com/WenyuanShao/eos/blob/fwp/src/components/implementation/no_interface/fwp_manager/eos_ring.h#L8
It should be changed according to actual packet size