From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88E9CA0577; Tue, 14 Apr 2020 05:11:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 122111C05C; Tue, 14 Apr 2020 05:11:53 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B5EBC1C032 for ; Tue, 14 Apr 2020 05:11:51 +0200 (CEST) IronPort-SDR: FToUCsCXTuJoZMcrbXPH6mRVlhYkT71k3/DnKf4EBwEIhXhIGZlZisddQP2K+A56r95Q9da431 zmwixscbNVhQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2020 20:11:50 -0700 IronPort-SDR: V6FllITnMW/gndEIY/5iFeNRfzyPxNBXtmcqO5VEQVtzqJ7jnrpq6dRgbJl8g/S+7KvtxydKpa AuOBXb5QchFA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,381,1580803200"; d="scan'208";a="453387872" Received: from npg-dpdk-haiyue-3.sh.intel.com ([10.67.119.46]) by fmsmga005.fm.intel.com with ESMTP; 13 Apr 2020 20:11:48 -0700 From: Haiyue Wang To: dev@dpdk.org, thomas@monjalon.net, vattunuru@marvell.com, jerinj@marvell.com, alex.williamson@redhat.com, david.marchand@redhat.com Cc: Haiyue Wang Date: Tue, 14 Apr 2020 11:06:23 +0800 Message-Id: <20200414030625.35195-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200305043311.17065-1-vattunuru@marvell.com> References: <20200305043311.17065-1-vattunuru@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 0/2] support for VFIO-PCI VF token interface X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v5: 1. Add the VF token parse error handling. 2. Split into two patches for different logic module. 3. Add more comments into the code for explaining the design. 4. Drop the ABI change workaround, this patch set focuses on code review. v4: 1. Ignore rte_vfio_setup_device ABI check since it is for Linux driver use. https://patchwork.dpdk.org/patch/68255/ v3: Fix the Travis build failed: (1). rte_uuid.h:97:55: error: unknown type name ‘size_t’ (2). rte_uuid.h:58:2: error: implicit declaration of function ‘memcpy’ https://patchwork.dpdk.org/patch/68254/ v2: Fix the FreeBSD build error. https://patchwork.dpdk.org/patch/68240/ v1: Update the commit message. https://patchwork.dpdk.org/patch/68237/ RFC v2: https://patchwork.dpdk.org/patch/68114/ Based on Vamsi's RFC v1, and Alex's patch for Qemu [https://lore.kernel.org/lkml/20200204161737.34696b91@w520.home/]: Use the devarg to pass-down the VF token. RFC v1: https://patchwork.dpdk.org/patch/66281/ by Vamsi. Haiyue Wang (2): eal: add uuid dependent header files explicitly eal: support for VFIO-PCI VF token drivers/bus/pci/linux/pci_vfio.c | 74 ++++++++++++++++++++++++++++++- lib/librte_eal/freebsd/eal.c | 3 +- lib/librte_eal/include/rte_uuid.h | 2 + lib/librte_eal/include/rte_vfio.h | 21 ++++++++- lib/librte_eal/linux/eal_vfio.c | 20 +++++++-- 5 files changed, 113 insertions(+), 7 deletions(-) -- 2.26.0