commit | 84bf20f6ce8beb014bb77eab00cd96fe2fbfd689 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Apr 13 04:15:36 2022 +0200 |
committer | Ramon Fried <ramon@neureality.ai> | Wed Apr 13 15:13:54 2022 +0300 |
tree | 27ed6c419ad8eeb1c578d9bac48b5a7a545ce5ea | |
parent | 85a72601863570c6c455ccaaa098fbd03af3ecd8 [diff] |
net: dm9000: Receive one packet per recv call Instead of reading out the entire FIFO and possibly overwriting U-Boot memory, read out one packet per recv call, pass it to U-Boot network stack, and repeat. Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com>