From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0075.outbound.protection.outlook.com [104.47.2.75]) by dpdk.org (Postfix) with ESMTP id 0DAA91B716 for ; Tue, 3 Apr 2018 13:12:10 +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=jTy6R9N27cuyndIcuy8wzCQb5W58QIjfZYqgWMoIpJ3W1U4yDMnjDZyiIWwUR58szGK71j9ZWAokooS2I1BPqrUcmCVS3jVD5jcjFr8nb3ubK9kVZiyvwmORLjERePmwer+krErClkfuAozuqRzgWYaZegV4U3vcYau6vhp2Qe4= 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 DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Tue, 3 Apr 2018 11:12:06 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: anatoly.burakov@intel.com, thomas@monjalon.net Date: Tue, 3 Apr 2018 16:40:14 +0530 Message-Id: <1522753815-28718-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522744086-31507-1-git-send-email-hemant.agrawal@nxp.com> References: <1522744086-31507-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: BMXPR01CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::24) To DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c318a19d-9882-4b16-12e4-08d59953bd44 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB4PR04MB0765; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 3:HpCpZFMfY2LeNyEtsyZm569Xtg9igMjOnYOGYlqMFVJFyVYxay8kvBezSAIDJuSbSPwFvBc7J/zsV6vCzySR3y8rWz8x4nNuSmIhoif6VJRyJZvs/+Hb2hK5reJ2QxXYqoCkrdB/Km6y2SIC/g7fAIEoKzSbTanUO6CX4RkP8gUv9xo4I2SIOB3kJfF6zEYrWgOJNPs3OJbIlOrjkljDx6re50/eY0ZTma0jW50v9DmuQSluSDOUXHtQVA8SRL8Y; 25:a0oO4sxSrdrN8IA64/uKrWFUXZ55QdvBP6ZvIkamc65nbdra63AqnfKTg6ue3DrETngJ44r5fo4O5Pk/VL44J36EymTfkzzy/ItGWhopTMhzVVPLcEKQtnFRaa+sDgY7eOxM0K3U53BN8X5qL9dgRHG3+QQVM+/Gt95vh/7J8hFcubNF2+Kf0lODdxqlgKBNrXG2rQX+ZFMam5KoUOlKAoq/Ke2OSs9P+Jm/0pkLpw4QIvtEKX6kP9j8uHctITQ+TIUQxuAaGlFQAJolijH7JqSGCq0RnPQXe7fn2TWRB1U0oscjLEB4MhKcFAe36UE+dAcIW7vs8O684UVATxDISA==; 31:CvIEO+0/3OGkmRsa2XGVdqYuftxUYjiPat2IsqbvAn5oP1AvZS/2Zfy3IQzqkvT7UxxXMx76vKkY9Pk+yyP6fp/Tn4KwKvm4ukwdb7sgo4llM/IB3nZ6fQHzNy2tqHLg5ty847gUY4pBOefRL5+BmHvu7dl0/swgEoK/nrx6mrq8AglozDDZbY54ciFU1yuoyXPODWUc4435xBVg8z5oxuIJ1G8F4dB2g4OLLP8swkc= X-MS-TrafficTypeDiagnostic: DB4PR04MB0765: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 20:nlxZizhOKTygtwqa5tGxls+5oiyMB1WaEQYbr+WYyzxLU9i1JFqc67YwIoe66a0c521qiuwi0Opip4F4z8NTrkaQ/oqZgoAuivgH3QI1/NqGZnQT/GknnLQxW/CZOSTuhzYin6FvFMYAkITc8qG9+tT5Lj37sOPQuH2uUOIt9+/eStMEG/mG3YwL0GxFH3S/rqDOeFBQk0B9UqV8A5/TAoPIvB/qSp8w1uFhmmYzDmI4IxqRuzHiHX8bYadBZb5llww6CJxBesu94aLNtlDX0YmDdF66mxRNDVeSU5E9saiit4kq9OIP3E+UCzl/UFVtHX2nCm+OMuIx3ZaI9nsDBj9+yzbir7fawa3Fhb06SYkYbb+phm5GcJzlhPw1SpZ2ucyvE5Pyhk4uT2agf5mkBv30XI8+hFVJw46o7nk05O51EeQ7lfHTQV9dQ8n1tSpcfGq6XIYT9ywH1erEXxmAgCPRktrt2WKczX2/iF1zHUAKBGEn35UfKWbPqbbinbal; 4:3oMxyazGhEKKsq4Ls7yBox48bMU2Ni4T+5lHhBX6tTIyCeTSjoC9bW6C8CRwLWNs5IBQm06PQakl1qhA1aropNShGjIrWaNHpSPVw/le4yj/2K4tQEyeolMT5QeArju5YqjrpCqfhrSLAR0a+5E82aVi6u3vUMnIz1yaJk4/FlTNrZJh1zN6QQHFov/tuGL97R/8xuio1Qbli2BbR5Pc/04HZcob7GZbaYlNVFhSDF9AnGHRhx3m8E1XC40eGABdgzf7RLTKIZ6xVwk7cqYc24mN1B1jfFZ2wjbIHdeIGckarMEZpnso8htNxxiIreeG 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)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB4PR04MB0765; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0765; X-Forefront-PRVS: 0631F0BC3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(346002)(366004)(39860400002)(396003)(189003)(199004)(186003)(11346002)(6666003)(956004)(446003)(105586002)(50226002)(55236004)(16526019)(6506007)(6486002)(68736007)(26005)(386003)(5660300001)(59450400001)(6916009)(478600001)(2351001)(476003)(486005)(486005)(48376002)(2616005)(66066001)(6512007)(2361001)(53936002)(76176011)(52116002)(51416003)(97736004)(8936002)(36756003)(25786009)(305945005)(3846002)(81156014)(5009440100003)(86362001)(316002)(50466002)(16586007)(6116002)(81166006)(7736002)(8676002)(2906002)(106356001)(47776003)(4326008)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0765; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0765; 23:enNkQERiH3Ci6GQc9IBW1j391WiMmnV5HdUsxZ14Q?= =?us-ascii?Q?T1XiyjwF4SsVt+oMxJTThS6jMzbFX17JH0wSc9QgVhAXHE1Y3Nj7iZhgAdfw?= =?us-ascii?Q?8vC5vNFuBCCjRlqo0qcny+QLGJtI1bnw853/di3uYOxIX/FA2H+dj8m5xa35?= =?us-ascii?Q?Yx2ZPm9Tlf+9KZVLXh719csLUNuPF9Iszk1UJAEMVSayQTr0wgwdIOmjhvHR?= =?us-ascii?Q?Uh1lqd0R/OS3AiTBTbhHFX3w+i5cLUsAgEF6JU7WaWPP/5yIeY1lX3imrEp1?= =?us-ascii?Q?xRMZ9iqA1Mr8Ca3qyfSDSkVkq2r0WisyEazJj/GETTdthgedr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w=; 24:vLBZ9h0lGiMl3+1SdcAMP9zz6B/AY9prEiQmcRlMubLgYoJ5lyoritz9ill0ecbPTH8RAG6p5gw+BNy93vutHXPRejJqe0RrfA9lULT/00A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 7:XkvLwdJcgtpqPfZkhVR2fWN9HYM+rtjSFNPqMidBamn7umwEzf+zUL2IWrl2ERXVZXdHK7hM98hx+G+xCpgvwwLubQpNQhmEsuVwHZ87mODfhwRLmXl8UAL+WWei69AvXMZtreIgdQTzfnREtwTvE19yauew5Yx9EY3j9ELI/bbAREsuxAEbCImSRIEAcGRYhlSiLEqEQzug8MlBqFfhqBCfVBv3mnPTyDdO9yR3OINZ5F5PRVl+LpOGW8Db6ol0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2018 11:12:06.9952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c318a19d-9882-4b16-12e4-08d59953bd44 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0765 Subject: [dpdk-dev] [PATCH v4 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: Tue, 03 Apr 2018 11:12:10 -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