From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 03/13] telemetry: initial telemetry infrastructure Date: Thu, 25 Oct 2018 22:33:55 +0200 Message-ID: <2602214.kUTQebeEF6@xps> References: <20181024132725.5142-1-kevin.laatz@intel.com> <20181024160311.85457-1-kevin.laatz@intel.com> <20181024160311.85457-4-kevin.laatz@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, harry.van.haaren@intel.com, stephen@networkplumber.org, gaetan.rivet@6wind.com, shreyansh.jain@nxp.com, mattias.ronnblom@ericsson.com, bruce.richardson@intel.com, Ciara Power , Brian Archbold To: Kevin Laatz Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 7A7805F17 for ; Thu, 25 Oct 2018 22:33:54 +0200 (CEST) In-Reply-To: <20181024160311.85457-4-kevin.laatz@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" We forgot to add rte_telemetry.h in doxygen: doc/api/doxy-api-index.md doc/api/doxy-api.conf.in We need a section @file at the top of the header file to make it appear in doxygen. 24/10/2018 18:03, Kevin Laatz: > --- /dev/null > +++ b/lib/librte_telemetry/rte_telemetry.h > @@ -0,0 +1,42 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2018 Intel Corporation > + */ > + > +#include > + > +#ifndef _RTE_TELEMETRY_H_ > +#define _RTE_TELEMETRY_H_ > + > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Initialize Telemetry > + * > + * @return > + * 0 on successful initialisation. > + * @return > + * -ENOMEM on memory allocation error > + * @return > + * -EPERM on unknown error failure > + * @return > + * -EALREADY if Telemetry is already initialised. > + */ > +int32_t __rte_experimental > +rte_telemetry_init(void); > + > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Clean up and free memory. > + * > + * @return > + * 0 on success > + * @return > + * -EPERM on failure > + */ > +int32_t __rte_experimental > +rte_telemetry_cleanup(void); > + > +#endif