Re: [dpdk-dev] [PATCH] net/virtio-user: fix LSC not working

2017-04-18 Thread Yuanhan Liu
On Fri, Apr 14, 2017 at 06:10:30AM +, Jianfeng Tan wrote: > Previously, we miss to set intr_handle->fd which will be used as > target file for epoll to check LSC. > > As a result, stdin (0) is used and intr thread keeps busy whenever > data comes from stdin. > > To fix this, we use vhostfd as

[dpdk-dev] [PATCH] net/virtio-user: fix LSC not working

2017-04-13 Thread Jianfeng Tan
Previously, we miss to set intr_handle->fd which will be used as target file for epoll to check LSC. As a result, stdin (0) is used and intr thread keeps busy whenever data comes from stdin. To fix this, we use vhostfd as the target file for epoll to check the link status change events. And we mo