net: sandbox: Allow fake eth to handle more than 1 packet response
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2018 21:48:57 +0000 (16:48 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:58 +0000 (12:28 -0500)
commitc67a420781012abb5c888e2857efde12cf27284b
tree4262632a50fe817a1ba0efc7aa25b55594c93d7a
parent76a503439e38be9d4fe365bdf87a6d0e74ea41c9
net: sandbox: Allow fake eth to handle more than 1 packet response

Use up to the max allocated receive buffers so as to be able to test
more complex situations.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/include/asm/eth.h
drivers/net/sandbox.c