SPI Ethernet iperf speed on Mega and ESP32 wifi and LAN8720

Over Ethernet LAN8720 ESP32

Client connecting to 192.168.22.125, TCP port 5001
TCP window size: 16.0 KByte

[ 3] local 192.168.22.114 port 60201 connected with 192.168.22.125 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 8.00 MBytes 33.6 Mbits/sec
[ 3] 2.0- 4.0 sec 8.12 MBytes 34.1 Mbits/sec
[ 3] 4.0- 6.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 6.0- 8.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 8.0-10.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 10.0-12.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 12.0-14.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 14.0-16.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 16.0-18.0 sec 8.25 MBytes 34.6 Mbits/sec
[ 3] 18.0-20.0 sec 8.50 MBytes 35.7 Mbits/sec
[ 3] 0.0-20.0 sec 82.4 MBytes 34.5 Mbits/sec