Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lkl: Fix netperf TCP_STREAM server hangs
The netserver hangs after haijacking in TCP_STREAM test. To reproduce: $ LKL_HIJACK_NET_TAP=lkl_ptt1 LKL_HIJACK_NET_IP=192.168.20.2 LKL_HIJACK_NET_NETMASK_LEN=24 LKL_HIJACK_DEBUG=1 ./bin/lkl-hijack.sh netserver -D -f $ echo "set -e && for i in \`seq 1000\`;do echo Test:\$i; netperf -L 192.168.20.1 -H 192.168.20.2 ; done" > /tmp/test.sh $ sh /tmp/test.sh The netperf may fail with error "recv_response_timed_n: no response received. errno 113 counter 0" after hundreds of runs. This fix make virtio trigger an irq whenever the avail queue is empty. Signed-off-by: Yuan Liu <liuyuan@google.com>
- Loading branch information