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 32CB4A00C2; Thu, 13 Oct 2022 10:47:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDCAA42DB9; Thu, 13 Oct 2022 10:47:48 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 1E16742C95 for ; Thu, 13 Oct 2022 10:47:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665650867; x=1697186867; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=s65axUtOwjO+rJX4dex1W4e3arAnSUpIw+7mNpYeXuE=; b=jFiw0VeQ6cEAltfBJn7jCYqJDqgALKJO0qCHVquTE0hk7AzwxUNgAPI3 4rEqdsYXsoM7swgXzQEHm4tDvED28/p5AzZdsNbKJGGRCILT4qRbkOR3O ZTYH/H+G9ven7O5tdsroWwJiMItk0GGJamjtvrjRGPIyf31GwAMkydXpS bp13NcgqNfsp2nG/6AGxQkYEQFxEFJLKXzatHlRdj/pcZyoI5+7V94ZCI VEZGRLFjNXDaGfncEBgeCfQt9iFuVn5lCqaJRApa5FHJj1iHdkiKqlGBs IvL7NF4+t1Gl/6COIGG1Hvws0Tj1kjS6tJQVVdkJ+cMDWaWfwlKZVHZBY A==; X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="306086651" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="306086651" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 01:47:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="658100347" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="658100347" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by orsmga008.jf.intel.com with ESMTP; 13 Oct 2022 01:47:44 -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 v4 0/8] vdpa/ifc: add multi queue support Date: Thu, 13 Oct 2022 16:44:26 +0800 Message-Id: <1665650674-291949-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 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 any queue is ready vhost: improve vDPA blk device readiness 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 | 56 ++++++++++------ 4 files changed, 315 insertions(+), 43 deletions(-) -- 1.8.3.1