
On 24 July 2018 at 15:40, Joe Hershberger joe.hershberger@ni.com wrote:
This tests that ARP requests made to this target's IP address are responded-to by the target when it is doing other networking operations.
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 | 41 +++++++++++++++++++++ test/dm/eth.c | 81 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+)
Nice!
Reviewed-by: Simon Glass sjg@chromium.org