[riot-notifications] [RIOT-OS/RIOT] drivers/w5100: Fixed netdev_driver_t::recv() API (#10412)

Marian Buschsieweke notifications at github.com
Tue Jan 22 16:13:54 CET 2019


With the Arduino-Mega2560 this works for me as expected. (I was only able to use `examples/gnrc_minimal` due to the RAM limitations of the board.)

My test was:

```
$ ping6 -I eth0 -c 20 fe80::2223:23ff:fe23:2323; \
> ping6 -I eth0 -c 20 -s 65335 fe80::2223:23ff:fe23:2323; \
> ping6 -I eth0 -c 20 fe80::2223:23ff:fe23:2323
```

Output (without the `64 bytes from ...` lines) with this PR:

```
PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 56 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 52ms
rtt min/avg/max/mdev = 23.804/25.178/43.095/4.113 ms

PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 65335 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 264ms

PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 56 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 56ms
rtt min/avg/max/mdev = 23.811/24.980/43.101/4.161 ms
```

Output with current master (again eliding `64 bytes from ...`):
```
PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 56 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 50ms
rtt min/avg/max/mdev = 21.708/23.070/40.755/4.061 ms

PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 65335 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 276ms

PING fe80::2223:23ff:fe23:2323(fe80::2223:23ff:fe23:2323) from :: eth0: 56 data bytes
--- fe80::2223:23ff:fe23:2323 ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 276ms
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10412#issuecomment-456435433
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190122/da573976/attachment.html>


More information about the notifications mailing list