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 3E551A0560; Tue, 18 Oct 2022 08:23:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D53504021D; Tue, 18 Oct 2022 08:23:27 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id B184940143 for ; Tue, 18 Oct 2022 08:23:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666074205; x=1697610205; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=L3wr1bXPAmdOSTDuDkuqdfJzdEMYt7n56W1bJwtP0+U=; b=VV0uAPEGBumoJhH4neqmYvRHBJO4dcPNk/DuJn3H1whwegDdq3f4X0Ln Qr3AQwbdItT1vMjI7SJSfeERwiT/xYXyNTqFID/mD5m56qXDOXMrkr4tX awu79Ege1A8nIC+kiVkV+VPA39FONUrxwJGbPdry5Y1d1fUuW9BROudtN dLC7Dnwgo5KK5QLftuGajoiSZX0EFr4m4h25jcmzeH+FOVQb3PMBi7+0+ pLCoqbPjR6uYqiHmufLdVamapH5SRdwh2u88Wt0K2V5U8ljVK58zXofWt p4DxXbJ+KECfuCCGhRzbcpTT3CH1MCfH4/5EraTRAv/2IwThWpcq41O26 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="285732643" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="285732643" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 23:23:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="659655706" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="659655706" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by orsmga008.jf.intel.com with ESMTP; 17 Oct 2022 23:23:23 -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 v7 00/12] vdpa/ifc: add multi queue support Date: Tue, 18 Oct 2022 14:19:25 +0800 Message-Id: <1666073977-175484-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 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: change some driver logic vhost: add vdpa device 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 | 17 ++++ lib/vhost/vdpa_driver.h | 2 + lib/vhost/vhost_user.c | 40 +++++---- 7 files changed, 358 insertions(+), 61 deletions(-) -- 1.8.3.1