[dpdk-dev] [PATCH v2 1/3] net/virtio_user: fix queue pair not enabled

2016-09-28 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 07:11:04PM +, Jianfeng Tan wrote: > When virtio_user is used with OVS-DPDK (with mq disabled), it cannot > receive any packets. > > It's because when vhost provides VHOST_USER_GET_PROTOCOL_FEATURES, > all queue pairs are initialized in the disabled state. Quote > QEMU/d

[dpdk-dev] [PATCH v2 1/3] net/virtio_user: fix queue pair not enabled

2016-09-27 Thread Jianfeng Tan
When virtio_user is used with OVS-DPDK (with mq disabled), it cannot receive any packets. It's because when vhost provides VHOST_USER_GET_PROTOCOL_FEATURES, all queue pairs are initialized in the disabled state. Quote QEMU/docs/specs/vhost-user.txt: If VHOST_USER_F_PROTOCOL_FEATURES has not be