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 9A14AA0560; Tue, 18 Oct 2022 14:58:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43B1140395; Tue, 18 Oct 2022 14:58:06 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 2676A4021D for ; Tue, 18 Oct 2022 14:58:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666097885; x=1697633885; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=0CCwMWsgqKfuwB4bXRDdWDghWpbbUEPKk68ltxb6IMc=; b=BF9ccOAurRX1YmZRb/fBs5rleDLEFf+kF9d0+uVdvHepGwQEqsHIY07n nRHY0/mY5v+8KF3jrohuG+RIEfdDnekr2Smo4V89BGZZS8iTQevHXsNT5 toA8tjGe2ytmHXSkC/ywr4lun3UxicH+JeiwBCP0TVicO6g162bfe7A0j y7uYSB2P/LYD43VIMhdusopHJiWLzQ3uDfD2q0tyAtlRBrXg1dheaFQ8x Sem+w/jPoadhlgxvPrIlDt/jtSjHprLfV54QmZeWXW1c0e0SiXwCDwVNT PYTn7HWSYdIV1+qFeMJ6CJKhcusDk3xUsMCNbSEekyBbdubLNSGWs5cr1 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="307179388" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="307179388" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2022 05:58:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="733614316" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="733614316" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by fmsmga002.fm.intel.com with ESMTP; 18 Oct 2022 05:58:02 -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 v8 00/12] vdpa/ifc: add multi queue support Date: Tue, 18 Oct 2022 20:07:39 +0800 Message-Id: <1666094871-25721-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 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: change some driver 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