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 90E08A0581; Wed, 19 Oct 2022 11:31:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 494FC40A8B; Wed, 19 Oct 2022 11:31:45 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 79A1E40693 for ; Wed, 19 Oct 2022 11:31:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666171904; x=1697707904; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=n0TzI+TWf5+Z0PGD6Fom+vs0rgkmKzmEEh5tXggGysc=; b=Y/7uYLrCugdFn6EMXcdkDJ569yRlo8zZdLPodqkEncB8kzPwGQx7tZq1 JQT+iIFflaUoSMvM4zXxpXveJnNzrJqqn1aBBUMtxlGpZioy94LIsdrP7 WKtuIBF8y+Tfz0Jh+XgBnDG7xxCygTWmCbC5NkJRHZCQ3iBzvsH7nVvEc 01cuclkKMxJTl3CNurz/SyF0EZogwzEgFv09r6EqSYHU/m+XxtfUa3Axi CZask4oXeb77O64Ouem4hNOjl6LHdjvQV6TR1jkAGD6ZYx51AnK413wxl WpC/au4kuACPsPwiSQJZklHOf/bDGMN4ONJghfyOMSUFclF8FMjgKsnNF g==; X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="303976877" X-IronPort-AV: E=Sophos;i="5.95,195,1661842800"; d="scan'208";a="303976877" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2022 02:31:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="771690838" X-IronPort-AV: E=Sophos;i="5.95,195,1661842800"; d="scan'208";a="771690838" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by fmsmga001.fm.intel.com with ESMTP; 19 Oct 2022 02:31:39 -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 v9 00/12] vdpa/ifc: add multi queue support Date: Wed, 19 Oct 2022 16:41:12 +0800 Message-Id: <1666168884-104665-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 v9: fix some commit message. v8: change "vdpa_device_type" in "rte_vdpa_device" to "type". v7: Fill vdpa_device_type in vdpa device registration. 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 (10): 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 vdpa/ifc: change internal function name vdpa/ifc: add internal API to get device vdpa/ifc: improve internal list logic vhost: add type to rte vdpa device 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 | 185 +++++++++++++++++++++++++++++++++++------- lib/vhost/socket.c | 15 +--- lib/vhost/vdpa.c | 15 ++++ lib/vhost/vdpa_driver.h | 2 + lib/vhost/vhost_user.c | 38 +++++---- 7 files changed, 354 insertions(+), 61 deletions(-) -- 1.8.3.1