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 047A5A0542; Tue, 6 Sep 2022 18:17:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E3E642905; Tue, 6 Sep 2022 18:16:40 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70059.outbound.protection.outlook.com [40.107.7.59]) by mails.dpdk.org (Postfix) with ESMTP id 087804282D for ; Tue, 6 Sep 2022 18:16:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EdGo3MQqTHR+0zzrh2tXMfRlVuqaQ0g3+7Gt7CCRCctkG5MtBVogNw9EShWEzhQJjp+iXAVBuIeO9ziRhXFmxWs6i78vzJ+U6rFSGUNzxRPTPV9Yn8kKxorzm8v8dOxHPJZqV0vjyLBuuEq8b/ypJAsaqYoSWseXxIRB1Vby8Q9tp8jhKjDlNo+W+DAmT4+KilobufdXXen/lszDRq7oxorHzlXepIlxARhENmUUL/zLIKdTU8wz7a1tOXa7QsMVvfjPoQP4yZrfRuCTsqdPt/RYPDjyzFh5toCnq7d1z1B5AwPxa58fMpLL3V3w0/YR7LnLty9tm7Z5rTB5BCp5XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2LS0P000MZ7yF1YZP1Cn00rREYWnihJtZCoXwThnuGs=; b=BoYSENSxo3onZzq4UryC6in5xIY7t99uGIcIU4ZG6xrIYH6rxJK3COfOdA9uZebRJvurDFj0ZGwUAAKSrYju3zYPnQlzWXcfgpsuPBlcXCrSYghhbJBjv67q07Uy+2Xs6gQsXb6AMQU5zMajM+sBZV43xgLe8vCg3f21UFWzLpleezdBbByrlBwx+V1sxfPH3v0IYHFj0Si/fBsN+CNkD/Edvggr3kTjFIVDRu7quqzOrK8KPHkxo90lxHGMhNSu1KK6WXu3jjT2OKOMe4DXzXchQ4j2X6KCXEKIOEEn9YkRkHRrj9Q2UcAgAtFIUxqxbCClBjOIUZ1BmjceFUoZzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.176.1.74) smtp.rcpttodomain=arm.com smtp.mailfrom=ericsson.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ericsson.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2LS0P000MZ7yF1YZP1Cn00rREYWnihJtZCoXwThnuGs=; b=bTRlhqebCXuxDVFimOT9tS0WxiDB1/DapvGrh4mmAfIAaZlj/HRQrCxeZDLC0ttEcmRi+xsLB0XjH+ykaKfv+NGh0AhvjqtToENX9+r3ctj+aLZgg/zWdd/9rju0B7o0ZJpe2R/YoWkduHS0ZyWLP+MvHcpIWyjxvf8UQUQC6Tk= Received: from AS8P189CA0046.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:458::18) by AM6PR07MB6134.eurprd07.prod.outlook.com (2603:10a6:20b:28::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.12; Tue, 6 Sep 2022 16:16:36 +0000 Received: from VE1EUR02FT013.eop-EUR02.prod.protection.outlook.com (2603:10a6:20b:458:cafe::9f) by AS8P189CA0046.outlook.office365.com (2603:10a6:20b:458::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10 via Frontend Transport; Tue, 6 Sep 2022 16:16:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.176.1.74) smtp.mailfrom=ericsson.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ericsson.com; Received-SPF: Pass (protection.outlook.com: domain of ericsson.com designates 192.176.1.74 as permitted sender) receiver=protection.outlook.com; client-ip=192.176.1.74; helo=oa.msg.ericsson.com; pr=C Received: from oa.msg.ericsson.com (192.176.1.74) by VE1EUR02FT013.mail.protection.outlook.com (10.152.12.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.5588.10 via Frontend Transport; Tue, 6 Sep 2022 16:16:36 +0000 Received: from ESESSMB502.ericsson.se (153.88.183.163) by ESESSMR506.ericsson.se (153.88.183.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Tue, 6 Sep 2022 18:16:32 +0200 Received: from seliicinfr00049.seli.gic.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.190) with Microsoft SMTP Server id 15.1.2375.31 via Frontend Transport; Tue, 6 Sep 2022 18:16:32 +0200 Received: from localhost.localdomain (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00049.seli.gic.ericsson.se (Postfix) with ESMTP id E2B59380061; Tue, 6 Sep 2022 18:16:32 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: Van@dpdk.org, Haaren@dpdk.org, Harry CC: , Honnappa Nagarahalli , =?UTF-8?q?Morten=20Br=C3=B8rup?= , nd , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [PATCH 6/6] service: provide links to functions in documentation Date: Tue, 6 Sep 2022 18:13:52 +0200 Message-ID: <20220906161352.296110-6-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220906161352.296110-1-mattias.ronnblom@ericsson.com> References: <20220708125645.3141464-2-harry.van.haaren@intel.com> <20220906161352.296110-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e4e2e420-a285-4da9-5066-08da90232bfa X-MS-TrafficTypeDiagnostic: AM6PR07MB6134:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5TKQk1AQE/qthojjaeGUGhAAt8klo2e1sK3yu1v+ELPBjN8q5eNHJBWk3U5q9aN/kYpgkSlchnoslzZ8GCr5w7Z5BAycCrILksofsDsU3UArdIn8wlF3uyBGKG+fu9DOhp6RDHV7iQkbN/BzQw8CJioutJrlQgF+4weMDLgt94XhcL5JoU0+j3e5x86zQDARri1PJYWn0KyMm2qSjeA3nERI3oOogBx7vxyfj+LQwsUNKFmz0zZ+co7I+e231oRSi2EH806vqtVCMx5cP3OuBjKGbLiVD8irHxium3jjcOb+dvPt9elqtCjJiS0aEAUAub8ywv8bqSNKMHZV9LFhs9ONUlZ4ah66hKOUTfW97scpzuAPxxOVOT7X7GYT96AMjytr+Db5iSeq9AbcMYKqRbhJGGh11XiYNuEYwDbg+tkOTRGfUoKye+p5jVdxa6wA6CIVZGuwcPVewH7e5svy6HGL30ncwnMbzUn3A0kU/GB/3bpp+Eiyq72HGDXnMf10NJKniN73fRbc9FxWLTL1ww4Y7wXlT1HTDZkiDszq2eEHoVfBHeS9n36QjvXzunRZOaX82WZXALKNpZXpfChP3u541UTTffdnkGHZZEgCIcRfPJAzXLWXY6Ebf5r5b4WM1semk57NbLTaqfC+TBUjWwODncKXYUEwZx4mrOa625PwBaLBTVkZdAcSIw9pOAgn2ogbRlgGNJykSnE8AX1OtVhCeDpgyT+KAeAPe2vcyNTWdETjQJHsBnfNaxqG/Si0TUSNIUPhN956vBXGcL53Dg== X-Forefront-Antispam-Report: CIP:192.176.1.74; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oa.msg.ericsson.com; PTR:office365.se.ericsson.net; CAT:NONE; SFS:(13230016)(4636009)(346002)(376002)(39860400002)(136003)(396003)(40470700004)(36840700001)(46966006)(82960400001)(40460700003)(7636003)(356005)(36860700001)(8676002)(4326008)(82740400003)(70586007)(70206006)(6916009)(316002)(82310400005)(1076003)(2906002)(40480700001)(5660300002)(8936002)(2616005)(83380400001)(6266002)(186003)(336012)(66574015)(47076005)(54906003)(478600001)(26005)(6666004)(41300700001)(86362001)(107886003)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB6134 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 Refer to API functions with parenthesis, making doxygen create hyperlinks. Signed-off-by: Mattias Rönnblom --- lib/eal/include/rte_service.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/eal/include/rte_service.h b/lib/eal/include/rte_service.h index 70deb6e53a..90116a773a 100644 --- a/lib/eal/include/rte_service.h +++ b/lib/eal/include/rte_service.h @@ -37,7 +37,7 @@ extern "C" { /* Capabilities of a service. * - * Use the *rte_service_probe_capability* function to check if a service is + * Use the rte_service_probe_capability() function to check if a service is * capable of a specific capability. */ /** When set, the service is capable of having multiple threads run it at the @@ -147,13 +147,13 @@ int32_t rte_service_map_lcore_get(uint32_t service_id, uint32_t lcore); int32_t rte_service_runstate_set(uint32_t id, uint32_t runstate); /** - * Get the runstate for the service with *id*. See *rte_service_runstate_set* + * Get the runstate for the service with *id*. See rte_service_runstate_set() * for details of runstates. A service can call this function to ensure that * the application has indicated that it will receive CPU cycles. Either a * service-core is mapped (default case), or the application has explicitly * disabled the check that a service-cores is mapped to the service and takes * responsibility to run the service manually using the available function - * *rte_service_run_iter_on_app_lcore* to do so. + * rte_service_run_iter_on_app_lcore() to do so. * * @retval 1 Service is running * @retval 0 Service is stopped @@ -181,7 +181,7 @@ rte_service_may_be_active(uint32_t id); /** * Enable or disable the check for a service-core being mapped to the service. * An application can disable the check when takes the responsibility to run a - * service itself using *rte_service_run_iter_on_app_lcore*. + * service itself using rte_service_run_iter_on_app_lcore(). * * @param id The id of the service to set the check on * @param enable When zero, the check is disabled. Non-zero enables the check. @@ -216,7 +216,7 @@ int32_t rte_service_set_runstate_mapped_check(uint32_t id, int32_t enable); * atomics, applications can choose to enable or disable this feature * * Note that any thread calling this function MUST be a DPDK EAL thread, as - * the *rte_lcore_id* function is used to access internal data structures. + * the rte_lcore_id() function is used to access internal data structures. * * @retval 0 Service was run on the calling thread successfully * @retval -EBUSY Another lcore is executing the service, and it is not a @@ -232,7 +232,7 @@ int32_t rte_service_run_iter_on_app_lcore(uint32_t id, * * Starting a core makes the core begin polling. Any services assigned to it * will be run as fast as possible. The application must ensure that the lcore - * is in a launchable state: e.g. call *rte_eal_lcore_wait* on the lcore_id + * is in a launchable state: e.g. call rte_eal_lcore_wait() on the lcore_id * before calling this function. * * @retval 0 Success @@ -248,7 +248,7 @@ int32_t rte_service_lcore_start(uint32_t lcore_id); * service core. Note that the service lcore thread may not have returned from * the service it is running when this API returns. * - * The *rte_service_lcore_may_be_active* API can be used to check if the + * The rte_service_lcore_may_be_active() API can be used to check if the * service lcore is * still active. * * @retval 0 Success @@ -265,7 +265,7 @@ int32_t rte_service_lcore_stop(uint32_t lcore_id); * Reports if a service lcore is currently running. * * This function returns if the core has finished service cores code, and has - * returned to EAL control. If *rte_service_lcore_stop* has been called but + * returned to EAL control. If rte_service_lcore_stop() has been called but * the lcore has not returned to EAL yet, it might be required to wait and call * this function again. The amount of time to wait before the core returns * depends on the duration of the services being run. @@ -293,7 +293,7 @@ int32_t rte_service_lcore_add(uint32_t lcore); /** * Removes lcore from the list of service cores. * - * This can fail if the core is not stopped, see *rte_service_core_stop*. + * This can fail if the core is not stopped, see rte_service_core_stop(). * * @retval 0 Success * @retval -EBUSY Lcore is not stopped, stop service core before removing. @@ -308,7 +308,7 @@ int32_t rte_service_lcore_del(uint32_t lcore); * service core count can be used in mapping logic when creating mappings * from service cores to services. * - * See *rte_service_lcore_list* for details on retrieving the lcore_id of each + * See rte_service_lcore_list() for details on retrieving the lcore_id of each * service core. * * @return The number of service cores currently configured. @@ -344,14 +344,14 @@ int32_t rte_service_set_stats_enable(uint32_t id, int32_t enable); * indicating the lcore_id of a service core. * * Adding and removing service cores can be performed using - * *rte_service_lcore_add* and *rte_service_lcore_del*. - * @param [out] array An array of at least *rte_service_lcore_count* items. + * rte_service_lcore_add() and rte_service_lcore_del(). + * @param [out] array An array of at least rte_service_lcore_count() items. * If statically allocating the buffer, use RTE_MAX_LCORE. * @param [out] n The size of *array*. * @retval >=0 Number of service cores that have been populated in the array * @retval -ENOMEM The provided array is not large enough to fill in the * service core list. No items have been populated, call this function - * with a size of at least *rte_service_core_count* items. + * with a size of at least rte_service_core_count() items. */ int32_t rte_service_lcore_list(uint32_t array[], uint32_t n); -- 2.34.1