[U-Boot] [PATCH 09/10] test: eth: Add a test for the target being pinged
Simon Glass
sjg at chromium.org
Thu Aug 2 17:08:12 UTC 2018
On 24 July 2018 at 15:40, Joe Hershberger <joe.hershberger at 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 at 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 at chromium.org>
More information about the U-Boot
mailing list