From: Yuanhan Liu Subject: Re: [PATCH v2 2/2] vhost: fix max queues Date: Wed, 22 Mar 2017 16:36:36 +0800 Message-ID: <20170322083636.GO18844@yliu-dev.sh.intel.com> References: <1487839550-21800-1-git-send-email-yuanhan.liu@linux.intel.com> <1488364919-22897-1-git-send-email-yuanhan.liu@linux.intel.com> <1488364919-22897-2-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Maxime Coquelin , stable@dpdk.org To: dev@dpdk.org Return-path: Content-Disposition: inline In-Reply-To: <1488364919-22897-2-git-send-email-yuanhan.liu@linux.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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_MASK. > > That said, the max queue pairs could vhost-user could supported is 0x80. > If user are asking more, I think the vhost-user need be extended. > > Fixes: b09b198bfb5c ("vhost-user: announce queue number in message") > > Cc: stable@dpdk.org > Signed-off-by: Yuanhan Liu Both applied to dpdk-next-virtio. --yliu