Commit 99ed546
opt: [tcpip] disable IP reassembly and fragmentation on IOP
PS2 networking targets a local LAN with MTU=1500, and TCP
negotiates MSS=1460 so IP fragmentation never arises in the
common case. Turn off IP_REASSEMBLY and IP_FRAG to drop the
corresponding lwIP code paths and free their static pool slots
(MEMP_NUM_REASSDATA / MEMP_NUM_FRAG_PBUF).
Savings observed in ps2ip-nm.irx: 94805 -> 91509 bytes (-3.3 KB
of code), plus runtime pool memory that no longer needs to be
reserved. ps2link end-to-end test (execee over TCP) confirmed
unaffected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 48b49d7 commit 99ed546
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
107 | 126 | | |
108 | 127 | | |
109 | 128 | | |
| |||
0 commit comments