From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 89B96A0556; Mon, 17 Oct 2022 09:17:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FB58410EC; Mon, 17 Oct 2022 09:17:36 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3A12B410EE for ; Mon, 17 Oct 2022 09:17:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665991055; x=1697527055; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=c6BXIfwozBFG0t2ATny5ZDjCRNzMzXyEQNEKAxCeM5k=; b=V0mg0ZE2T2c0MuD6y7bsDw+2gByrwuzI3/b10cKe5QmHzhioM9K3iYbZ hUMDr1cvPmjko1eMT9+9zaAqx0n7jnJPzDLhmAu6fOhaonzxrGUcQyfvp nSU23c0Je1yUJ2GbBbZMwqNFvZ1VUISTBvj42gJPGjMKiI0SfBFlO/KCm pgZvE9bTyqQ2KzjrVChBPyXrUOsKBjf4p1m/djA+818bC4DHscH/KPYdc OVQwhXKRtBbfi5CxVLiZg/5AR4BNKJC7ppxKMs41l4wMKijKxJhXTCcLK GeMarjWfjwO9tXeUORpuWvUf8hO49i1JfvDATax6zc8u611DpyGmS6NRY g==; X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="367751393" X-IronPort-AV: E=Sophos;i="5.95,190,1661842800"; d="scan'208";a="367751393" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 00:17:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="696949516" X-IronPort-AV: E=Sophos;i="5.95,190,1661842800"; d="scan'208";a="696949516" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by fmsmga004.fm.intel.com with ESMTP; 17 Oct 2022 00:17:32 -0700 From: Andy Pei To: dev@dpdk.org Cc: chenbo.xia@intel.com, rosen.xu@intel.com, wei.huang@intel.com, gang.cao@intel.com, maxime.coquelin@redhat.com Subject: [PATCH v5 0/8] vdpa/ifc: add multi queue support Date: Mon, 17 Oct 2022 15:13:45 +0800 Message-Id: <1665990833-44710-1-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1661229305-240952-2-git-send-email-andy.pei@intel.com> References: <1661229305-240952-2-git-send-email-andy.pei@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org v5: fix some commit message. rework some code logic. v4: fix some commit message. add some commets to code. fix some code to reduce confusion. v3: rename device ID macro name. fix some patch title and commit message. delete some used marco. rework some code logic. v2: fix some coding style issue. support dynamic enable/disable queue at run time. Andy Pei (6): vdpa/ifc: add multi-queue support vdpa/ifc: set max queues based on virtio spec vdpa/ifc: write queue count to MQ register vdpa/ifc: only configure enabled queue vhost: vDPA blk device gets ready when the first queue is ready vhost: improve vDPA blk device configure condition Huang Wei (2): vdpa/ifc: add new device ID for legacy network device vdpa/ifc: support dynamic enable/disable queue drivers/vdpa/ifc/base/ifcvf.c | 144 ++++++++++++++++++++++++++++++++++++++++++ drivers/vdpa/ifc/base/ifcvf.h | 16 ++++- drivers/vdpa/ifc/ifcvf_vdpa.c | 142 +++++++++++++++++++++++++++++++++++------ lib/vhost/vhost_user.c | 44 +++++++++++-- 4 files changed, 315 insertions(+), 31 deletions(-) -- 1.8.3.1