summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-04-13 04:15:36 +0200
committerRamon Fried <ramon@neureality.ai>2022-04-13 15:13:54 +0300
commit84bf20f6ce8beb014bb77eab00cd96fe2fbfd689 (patch)
tree27ed6c419ad8eeb1c578d9bac48b5a7a545ce5ea /drivers/net/dwc_eth_qos.c
parent85a72601863570c6c455ccaaa098fbd03af3ecd8 (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>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions