Thread (196 messages) 196 messages, 20 authors, 2016-06-24

Re: [PATCH 0/4] virtio support for container

From: Pavel Fedin <hidden>
Date: 2016-01-12 10:48:48

 Hello!
Your guess makes sense because current implementation does not support
multi-queues.

 From you log, only 0 and 1 are "ready for processing"; others are "not
ready for processing".
 Yes, and if study it even more carefully, we see that we initialize all tx queues but only a single rx queue (#0).
 After some more code browsing and comparing the two patchsets i figured out that the problem is caused by inappropriate VIRTIO_NET_F_CTRL_VQ flag. In your RFC you used different capability set, while in v1 you seem to have forgotten about this.
 I suggest to temporarily move hw->guest_features assignment out of virtio_negotiate_features() into the caller, where we have eth_dev->dev_type, and can choose the right set depending on it.

 With all mentioned fixes i've got the ping running.
 Tested-by: Pavel Fedin [off-list ref]

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help