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 C8239A0519; Fri, 3 Jul 2020 17:05:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A45871DBB6; Fri, 3 Jul 2020 17:05:43 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 999571DBAB for ; Fri, 3 Jul 2020 17:05:41 +0200 (CEST) IronPort-SDR: wkolPvAkAy3AcbeVQsM08qets+qNrAVdHoAkpOGxOm29slUSsJWtp46ymtovG1uQBTgmdaVC6r /6is0sj/nkdg== X-IronPort-AV: E=McAfee;i="6000,8403,9671"; a="212177495" X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="212177495" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2020 08:05:40 -0700 IronPort-SDR: yXGIR2empcPSVlGZTJnhwIgyJwLsCXte90A00UtDV5uVBf7dtFV7pge1aoyuYmOrUY+4hOhuf6 wwUmGQ/MULxA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="482399772" Received: from npg-dpdk-haiyue-3.sh.intel.com ([10.67.119.46]) by fmsmga005.fm.intel.com with ESMTP; 03 Jul 2020 08:05:37 -0700 From: Haiyue Wang To: dev@dpdk.org, anatoly.burakov@intel.com, thomas@monjalon.net, jerinj@marvell.com, david.marchand@redhat.com, arybchenko@solarflare.com Cc: Haiyue Wang Date: Fri, 3 Jul 2020 22:57:16 +0800 Message-Id: <20200703145718.81017-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.27.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 v17 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" v17: Rebase for new EAL config API, update the commit message and doc. v16: Rebase the patch for 20.08 release note. v15: Add the missed EXPERIMENTAL warning for API doxgen. v14: Rebase the patch for 20.08 release note. v13: Rename the EAL get VF token function, and leave the freebsd type as empty. v12: support to vfio devices with VF token and no token. v11: Use the eal parameter to pass the VF token, then not every PCI device needs to be specified with this token. Also no ABI issue now. v10: Use the __rte_internal to mark the internal API changing. v9: Rewrite the document. v8: Update the document. v7: Add the Fixes tag in uuid, the release note and help document. v6: Drop the Fixes tag in uuid, since the file has been moved to another place, not suitable to apply on stable. And this is not a bug, just some kind of enhancement. 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. 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’ v2: Fix the FreeBSD build error. v1: Update the commit message. RFC v2: 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 doc/guides/linux_gsg/linux_drivers.rst | 35 ++++++++++++++++++- doc/guides/linux_gsg/linux_eal_parameters.rst | 4 +++ doc/guides/rel_notes/release_20_08.rst | 6 ++++ lib/librte_eal/common/eal_common_options.c | 3 ++ lib/librte_eal/common/eal_internal_cfg.h | 2 ++ lib/librte_eal/common/eal_options.h | 2 ++ lib/librte_eal/freebsd/eal.c | 5 +++ lib/librte_eal/include/rte_eal.h | 14 ++++++++ lib/librte_eal/include/rte_uuid.h | 2 ++ lib/librte_eal/linux/eal.c | 33 +++++++++++++++++ lib/librte_eal/linux/eal_vfio.c | 19 ++++++++++ lib/librte_eal/rte_eal_version.map | 3 ++ 12 files changed, 127 insertions(+), 1 deletion(-) -- 2.27.0