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 096C14339B; Wed, 22 Nov 2023 11:37:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65D91402CB; Wed, 22 Nov 2023 11:37:44 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 5982C4028C for ; Wed, 22 Nov 2023 11:37:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700649463; x=1732185463; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aE16eAPWqR+rwQZpPuAZxfRK/63dM+5Z+ZsR9lK0l5M=; b=MCPBSPn4hF2ZlTJIbdyimg3K+xGGYjwbiOOTaAd+aQUv7FAFIWNt7t0u PG9HNNf+sA49pDyxhOBqMIYvXcFuLn4ysx9D1XsEDi1hNXoinMcRcZZMp gvlLsryvdouxBtEKZRqv/3sINtOzVHrRej6eZKU2VEXQBS5keUsxfK/le cGAi6SwQxqxR+i0N+OVKqW6TjPeZN9qs1WETgk2DMBTIU+I/5adjnOVqA nvNVqr1dYB9/NBvXOK1Pu8l0dnflF+aFAwJCXeL4sKNyNImbffhpTodn6 vWDBV9f1nDFsdMu+mPX5iarqC9WICVfFtZypeT6rdqYzYV1aEw+cjtqHb Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="5221058" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="5221058" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 02:37:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="8389630" Received: from unknown (HELO localhost.localdomain) ([10.239.252.253]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 02:37:40 -0800 From: Mingjin Ye To: dev@dpdk.org Cc: qiming.yang@intel.com, Mingjin Ye Subject: [PATCH v7 0/2] fix legacy device missing region info Date: Wed, 22 Nov 2023 10:22:30 +0000 Message-Id: <20231122102232.108299-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231114102418.409285-1-mingjinx.ye@intel.com> References: <20231114102418.409285-1-mingjinx.ye@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Fill in missing region information for legacy devices in secondary processes. And added rte_vfio_get_device_info API for EAL, which makes it easier and more generic to get device information through vfio driver. Mingjin Ye (2): vfio: add get device info API bus/pci: fix legacy device missing region info drivers/bus/pci/linux/pci_vfio.c | 26 ++++++++++++++++++++++++++ lib/eal/include/rte_vfio.h | 29 +++++++++++++++++++++++++++++ lib/eal/linux/eal_vfio.c | 27 +++++++++++++++++++++++++++ lib/eal/version.map | 3 +++ 4 files changed, 85 insertions(+) -- 2.25.1