
On 24 July 2018 at 15:40, Joe Hershberger joe.hershberger@ni.com wrote:
The target will respond to pings while doing other network handling. Make sure that the response happens and is correct.
This currently corrupts the ongoing operation of the device if it happens to be awaiting an ARP reply of its own to whatever serverip it is attempting to communicate with. In the test, add an expectation that the user operation (ping, in this case) will fail. A later patch will address this problem.
Signed-off-by: Joe Hershberger joe.hershberger@ni.com
arch/sandbox/include/asm/eth.h | 9 +++++ drivers/net/sandbox.c | 51 ++++++++++++++++++++++++++ test/dm/eth.c | 81 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org