diff options
author | 2018-10-13 12:20:01 -0700 | |
---|---|---|
committer | 2018-10-16 10:05:57 +0000 | |
commit | d6a0d0e2063fcc93eb56fc8a542e89a8e0b53741 (patch) | |
tree | c8f10ce77fe524a6cf9f927395adff6c206e9ab0 /src/vcl/vcl_test.h | |
parent | 347c523c23277a6061a21dbca43be7498ebb41af (diff) |
vcl: fix bidirectional tests (VPP-1455)
- add epoll dequeued events beyond maxevents to unhandled
- filter multiple epoll rx events
Change-Id: I618f5f02b19581473de891b3b59bb6a0faad10b5
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit aa27eb95b7ee3bb69b62166d5e418e973cbbdcfa)
Diffstat (limited to 'src/vcl/vcl_test.h')
-rw-r--r-- | src/vcl/vcl_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_test.h b/src/vcl/vcl_test.h index 927110f55d2..9d28b262e3a 100644 --- a/src/vcl/vcl_test.h +++ b/src/vcl/vcl_test.h @@ -438,7 +438,7 @@ vcl_test_write (int fd, uint8_t * buf, uint32_t nbytes, { if (stats) stats->tx_eagain++; - continue; + break; } else break; |