DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Why kickfd from qemu is zero in qemu-dpdk vhost-user architecture?
@ 2018-07-15  7:27 杨晔
       [not found] ` <CAHckoCyTtv4GCbG-e5ckOkYJt9DKNW0q5CtvbUMTghDA=mX=Dg@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: 杨晔 @ 2018-07-15  7:27 UTC (permalink / raw)
  To: users

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 995 bytes --]

Hello,

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 operation.

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 (100190)\x16º&}éà–+&j»qr‰’ºrn—^t÷žõóm5ñ\x17­º¹ÏjØ_zx%ŠÉš®Ü\¢d^qè¯y×ë¢išŠ\&Ñþx‚Š •ç(šf¢—	´\x7fž ¢ˆ%yÊ&ïvç͹Ἕ¥Ù(®\x03è²×âÇ\b­„DŒLø÷Žx\x13`Cñú+ºÇ«±Ú]’ŠàJéõ䛥ÛM|ÓÞ{×Ï´ÛM\x02\x11$ÑyÇ¢½ç[Êf¢—	´\x7fž ¢ˆ%yÊ&Â+aHÄωÜõÞþ¬£]¼ë½¼ç	šåú+ºÇ«±Ú]’ŠàJéõ䛥ÛM|ÓN{×Í;ÓCÃL2ˆ1( «n­ë

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-15 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-15  7:27 [dpdk-users] Why kickfd from qemu is zero in qemu-dpdk vhost-user architecture? 杨晔
     [not found] ` <CAHckoCyTtv4GCbG-e5ckOkYJt9DKNW0q5CtvbUMTghDA=mX=Dg@mail.gmail.com>
2018-07-15  8:21   ` 杨晔
     [not found]     ` <CAHckoCxefjEU9boiuB+-Z3Mp-ZzeoZtd-w7SQ8knJhK7n4xH=w@mail.gmail.com>
2018-07-15 10:16       ` 杨晔

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).