]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: eth: Add a function to skip ping timeouts
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 21 Apr 2015 18:57:19 +0000 (13:57 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:12 +0000 (22:37 +0200)
commit297ed487b83e41dd813a1b5752d3e0c593b00b37
tree50f79688da9f179e45d69bb00eccb823ce0bb515
parent4ec8ca83f7dfd20572a77b258ca82b5c4dd58f95
sandbox: eth: Add a function to skip ping timeouts

When called, the next call to receive will trigger a 10-second leap
forward in time to avoid waiting for time to pass when tests are
evaluating timeout behavior.

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