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 91DEEA055F; Mon, 17 Oct 2022 13:45:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7AF364021D; Mon, 17 Oct 2022 13:45:28 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B6B3540143 for ; Mon, 17 Oct 2022 13:45:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666007127; x=1697543127; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=yRg1f5do0UEPVEEwJFUdJI0nrqrWVEbkI9oIbnu2ENA=; b=Ipdxui/XGSMZBsBeqvlBt8J3t/d7NOcNelV567TSXkHBZVy9bx26WtFO sXukjhiokJTjKOlCruQLlxHIg6/dZqssRbSKzp3lxChBZHBRBYioLUe77 ObBkqXSYaumpaUtDdAdVf3cX7zvjUd5fiDp8dQGGDNLT4i3uGBLKBZW3i MDHZ240KjvmMBDt/sbBL5vqREjRXILLyp6Fgy6HuGqYgoqS18FV6co2ax BE7cne/PReHageDLIl/glSNFvzBgmkmW9vz3anJPxl52XeURDsrfef9Vp 1acxOIBCkY2gr6n3qMIfzvaKtL6Jdb1CXjqIWDOvQ0S61j1aiSmjhu9Bq g==; X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="286170774" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="286170774" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 04:45:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="623199863" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="623199863" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by orsmga007.jf.intel.com with ESMTP; 17 Oct 2022 04:45:25 -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 v6 0/8] vdpa/ifc: add multi queue support Date: Mon, 17 Oct 2022 19:41:37 +0800 Message-Id: <1666006905-74029-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 v6: Add vdpa_device_type to rte_vdpa_device to store vDPA device type. 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/vdpa_driver.h | 2 + lib/vhost/vhost_user.c | 62 +++++++++++++----- 5 files changed, 325 insertions(+), 41 deletions(-) -- 1.8.3.1