[dpdk-users] Why kickfd from qemu is zero in qemu-dpdk vhost-user architecture?
fengli at smartx.com
Sun Jul 15 09:57:16 CEST 2018
You could paste some code here.
Is the eventfd is valid when passing to vhost?
Maybe the eventfd is bad.
2018-07-15 15:27 GMT+08:00 杨晔 <yangye at ict.ac.cn>:
> I use the "vhost-user" mode in the qemu, and the backend is the dpdk-vhost.
> But when I use the eventfd_read(vq->kickfd,&val) function. It always
> return an error, and the val has always been 0.
> The kickfd is the eventfd that passing from qemu to vhost when the vring
> is set up and calling the vhost_user_set_vring_kick function.
> It should be a none-zero value when there are packets in the sending queue.
> The virtio-frontend should notify the backend then do the dequeue
> Does anyone know about this? I am looking forward to your reply.
> Thank you.
> Yang Ye
> Network Research Center, Institute of Computing Technology, Chinese
> Academy of Sciences,
> NO.6 Kexueyuan South Road, Zhongguancun, Haidian District, Beijing, China
The SmartX email address is only for business purpose. Any sent message
that is not related to the business is not authorized or permitted by
More information about the users