[U-Boot] [PATCH 08/10] test: eth: Add a test for ARP requests

Simon Glass sjg at chromium.org
Thu Aug 2 17:08:10 UTC 2018


On 24 July 2018 at 15:40, Joe Hershberger <joe.hershberger at 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 at 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 at chromium.org>


More information about the U-Boot mailing list