Re: [dpdk-dev] [PATCH v2 2/2] vhost: fix max queues

2017-03-22 Thread Yuanhan Liu
On Wed, Mar 01, 2017 at 06:41:59PM +0800, Yuanhan Liu wrote: > 0x8000 is the max virito-net queue pairs the virtio 1.0 spec claims to > support. While for vhost-user, it's a different story: the max vring > index could be passed by the vhost-user spec is 0xff, masked by the > VHOST_USER_VRING_IDX_M

[dpdk-dev] [PATCH v2 2/2] vhost: fix max queues

2017-03-01 Thread Yuanhan Liu
0x8000 is the max virito-net queue pairs the virtio 1.0 spec claims to support. While for vhost-user, it's a different story: the max vring index could be passed by the vhost-user spec is 0xff, masked by the VHOST_USER_VRING_IDX_MASK. That said, the max queue pairs could vhost-user could supported