From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50077.outbound.protection.outlook.com [40.107.5.77]) by dpdk.org (Postfix) with ESMTP id 7CD241BC5B for ; Wed, 4 Apr 2018 09:50:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HHLp2NWaSTPbgUuGzgi8l5sbVGgOXvx/k+dh4KOK0Ek=; b=h6PuciDjnlHYQG+87znuZEyvZcuwbUXNL3065WZhsAlNFVjMPZwstLCwG/60mo9ShtyMTsJaW/mrq4pi/ugbLxkkrAzDGiiAmUCNtkRqF40vIxbSZCuetLGr+PHeA6ZMWiKmslksX0m82qlrC0csrASyfZIuOuRrXurokA8SmPo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by DB3PR04MB0761.eurprd04.prod.outlook.com (2a01:111:e400:9440::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Wed, 4 Apr 2018 07:50:36 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: anatoly.burakov@intel.com, thomas@monjalon.net Date: Wed, 4 Apr 2018 13:18:39 +0530 Message-Id: <1522828120-16100-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522753815-28718-1-git-send-email-hemant.agrawal@nxp.com> References: <1522753815-28718-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::27) To DB3PR04MB0761.eurprd04.prod.outlook.com (2a01:111:e400:9440::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2dd26a2e-9e4f-4082-6b63-08d59a00c16f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB3PR04MB0761; X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0761; 3:DDi4jAncrdFLG8Ozo7UaErID7C2Z4jzlLjrdBSAV34LSyjVbTiIEQ/Q3F8BsCNMQnhALXQEFGofGefsojeM/J2wthQzAEBdenapE8Hg94HK4xAx9uTRABtg78milFfJl9fvexqXUhjI9ndNYp80ClIqaVlhdkf7QYHU9IfGA8eqvihu4d/NoxA1PeosGYVcK+hg0Xbbx5VE4w1Q3CFZnnJafmtvqtL9nVvckVMAKyMHGkciryk6PkC0XfuXOIM6B; 25:tar5klnFNJGm5tw0cdzxpuEkC7Vtskvoxsvb1vGrVZNGYZefZ96VfmT8ZnwEfsXdtPoj/oDtpIJnCaDf1S8cgaNjQdS9EahjQxJ3m+KG0l2TaXAhmDZWU1cWqCnvX+VfkrRS5I2bYhL13vV+b4NkX0/XmCVBMinDQmxR4eoA+JJuHUCdHXZm4GlIfUJiNFtN/SJLV3CUC6AqcUKe8ubJRMCM7RdbFuDdXotqfqWSG2TByA3RzUxSLO4qk68GD1rRgqJT3l0ijKNxHZ9c6Yv87EpUydL/dwOZGvKoMkqYqNCWAjOLEY3IJC8nfKaygL9FM4gO6qFWJ+Pu7gJQ6RrSIw==; 31:gMqGC4F5xq5sfec1p/5jjCQPR6cfJw99p1eAzXtCQcQtCRPm2OkREcMLcMyegGKDnL2bHomRAJyvZp38zjm8HatGkbc4/yqQAiTxA387r2sWHNjqS/NfSySESFoi5+K+5nQKIOYW3f+n4al3HphymBVGpivf+eYowFSivUJZAFenQrptILbylB6V3ZkK//gqrnish2tjZKpafhBP3u/KS615H+qMKmCTWAr+sSOcIYY= X-MS-TrafficTypeDiagnostic: DB3PR04MB0761: X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0761; 20:WVeApoHTkM1u02KmDoUNLJST28p9U43oJSizPEuDOUXGUQ7bkXhocx2lsOOBscfyvIO7fVift/fMYfHZIMN044tgrkcsaRRauUXMDksvNyQMKEBJsyIieZ0tVM0R/NpI7qDkPBfhfD2wobEGX4ZeMuSax5AHUjPVCTLCTxUyApUu1rcf5x66IQs0TY6JxG16m01fkxzsN7O9uKcBQ2kjW+Gqc+evQDAaU0CjtJuBhMFNW0y6UOdzGjcwxcSrFUcS2ziTnO4Ha1mlnBmNLOSz7fdgPx5dPV+llecrQJyz9ausmagiRmeJXx3HkT4U5ke8Bavg4VrSwVKaKotWHpesuNGyH20YKz9dMidt9cAdZ8jdBp9wBVye1WzGna2Y2+NbruAZZ8vbYZMp24DnFh9t4mql35+u+LvPkI8hD9V+Ov7nclC9h8Nn8hcbpkjzpdZsjToEpflObgsY+UouikRczyAA5sPBsuhUh0cyAT506p8YqX6QJD4ahvL6tdRu9KPC; 4:6ix8YulSWuv51YOqhey0S/EvrqrzAdbdX9cZ0a+P4OqXWZKR7YkSCH9dMnYMFLdiAYwqsGeKCkcl8+9VDwcWSHqUrcVB6+8uNQC1zkWs7ALNcqa7he5OqOMb5paPYkOhKNlUrRDa5pGZoMAu83SkTkbVopEuBx0XBOPfDdthyCKUD0dXRha2i9THnvWoGak79i1gW3tfw5XQ+CJtq11M1+SnqJUQtsTpIz0rJiC1jeT23QYqxdHdBpJ7de/uM1OBP62FXYPuUkR8Ltw9X7hdG8xLjtdWZVz7Gr/VvYIIysmxlkaS2h6b45xjSiulQWWZ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB3PR04MB0761; BCL:0; PCL:0; RULEID:; SRVR:DB3PR04MB0761; X-Forefront-PRVS: 0632519F33 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(396003)(346002)(376002)(39380400002)(189003)(199004)(8676002)(105586002)(6512007)(6486002)(2351001)(5660300001)(2361001)(6916009)(53936002)(16526019)(956004)(59450400001)(50466002)(4326008)(81156014)(2616005)(186003)(48376002)(7736002)(6506007)(106356001)(25786009)(86362001)(36756003)(50226002)(81166006)(47776003)(26005)(316002)(446003)(5009440100003)(2906002)(476003)(55236004)(66066001)(478600001)(52116002)(11346002)(386003)(305945005)(6116002)(76176011)(68736007)(51416003)(16586007)(3846002)(97736004)(8936002)(486006)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR04MB0761; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB3PR04MB0761; 23:UXPRbJ+WywZMWXdNxf7+GhBsEsSlr2zY/Iy9J/KOQ?= =?us-ascii?Q?wDQgkBfey6cIbGeC5GjV1+a1vnaRgp+R1UIo5TTC93bvsoRcFHx2fqlANLES?= =?us-ascii?Q?JilehDDUrteg4TNaHD6fQQ5k/S+vWn3Ii7h0njj3MTavHb1I0Gj6YtYJkvrZ?= =?us-ascii?Q?NKb4Ta9H6BnF42ea6lFXje3YuOBi4KpC9/D8g83fL3A0yIUAvqNH0TjCUuA7?= =?us-ascii?Q?6KHODD1IEcNF2R1AExeZ0qaehChJLF7/EeTLvFoYYADzWTz3TsnQQnJ9QmAp?= =?us-ascii?Q?5Z3pS3XPVqLgH8RFcaSr5ExE8YSrqN9nufgfKXZcWjHoecudq5f2yBWzlnqt?= =?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U59qEZQkZPpEB27lw30eVQSpUOYs05unz+sNIxi0BQuauw5NBlIo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0761; 7:Od5b6bculp9BxKZJp0o0KerZ+7aH6Y35XzVWDOJOvp58oGh80snNvFq9B0GlnmYdvVphNdmFzyPh6VtTxN5TnhAFiAXlqFn1nU6ytZqb5G3Aw7o5ll8OurpLEBmrSpP8T3GmC305X3CUjK/UIUVAERNTcYyaA1UcY6kIRouDD1gjckCEI8Br8RVuAGn9quoaxyyg3+QRsU5l1f68oGGVBJ3qBd5ZyeN0Q4Cy6ZJNmAaeTuq1VAnGEoCeGMiIN3a0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2018 07:50:36.8931 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2dd26a2e-9e4f-4082-6b63-08d59a00c16f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0761 Subject: [dpdk-dev] [PATCH v5 1/2] doc: add vfio api support 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: , X-List-Received-Date: Wed, 04 Apr 2018 07:50:48 -0000 Signed-off-by: Hemant Agrawal --- doc/api/doxy-api-index.md | 3 ++- doc/api/doxy-api.conf | 1 + lib/librte_eal/common/include/rte_vfio.h | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md index d77f205..d21f2d9 100644 --- a/doc/api/doxy-api-index.md +++ b/doc/api/doxy-api-index.md @@ -52,7 +52,8 @@ The public API headers are grouped by topics: [bitrate] (@ref rte_bitrate.h), [latency] (@ref rte_latencystats.h), [devargs] (@ref rte_devargs.h), - [PCI] (@ref rte_pci.h) + [PCI] (@ref rte_pci.h), + [vfio] (@ref rte_vfio.h) - **device specific**: [softnic] (@ref rte_eth_softnic.h), diff --git a/doc/api/doxy-api.conf b/doc/api/doxy-api.conf index cda52fd..ad8bdcf 100644 --- a/doc/api/doxy-api.conf +++ b/doc/api/doxy-api.conf @@ -82,6 +82,7 @@ INPUT = doc/api/doxy-api-index.md \ FILE_PATTERNS = rte_*.h \ cmdline.h PREDEFINED = __DOXYGEN__ \ + VFIO_PRESENT \ __attribute__(x)= OPTIMIZE_OUTPUT_FOR_C = YES diff --git a/lib/librte_eal/common/include/rte_vfio.h b/lib/librte_eal/common/include/rte_vfio.h index 249095e..9b7b983 100644 --- a/lib/librte_eal/common/include/rte_vfio.h +++ b/lib/librte_eal/common/include/rte_vfio.h @@ -5,6 +5,11 @@ #ifndef _RTE_VFIO_H_ #define _RTE_VFIO_H_ +/** + * @file + * RTE VFIO. This library provides various VFIO related utility functions. + */ + /* * determine if VFIO is present on the system */ -- 2.7.4