From patchwork Wed Jun 14 14:26:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 128688 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85F2C42CB3; Wed, 14 Jun 2023 16:31:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11F73427F5; Wed, 14 Jun 2023 16:31:16 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id ED6DB4161A for ; Wed, 14 Jun 2023 16:31:14 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7C3565C01C5; Wed, 14 Jun 2023 10:31:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 14 Jun 2023 10:31:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1686753074; x= 1686839474; bh=2cVhPhrWL0fBT4BcmNObtD819OnD/lMvUkMTK+ilrDg=; b=R mg2roHhvSlyVDXCchNI10vOM2bdWBLhWyTFA/FFHxnZcMNunTj/MQTjMa+qlhfEK /Xrg1s5rMxQKQ+5WBCmeHmjNSs7Vcu2NOJIqWijBeItE+jKBZYlO6X+TEtYUmtjf NQfL7d55aiWs4gSM/sKl9SkB7L6knUSwnUiwt9ZeMX+QafmROQTY0fNNCBlz0lqG 3cvsj3h29frx0+5S7TAxRo5z2ZaNRrXBAQMmR66WnJ5CcU+h5z8OUH26XQokYG2M pmXEXbZgSd5M4BetJqATIJ5DQeleYvQSSpJm8zhJZj0KdLl/RmwlNlfnbfM0zB1E 9i+U2oSgmNqBdpcWI/mpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1686753074; x= 1686839474; bh=2cVhPhrWL0fBT4BcmNObtD819OnD/lMvUkMTK+ilrDg=; b=j /dwSltVYg+b6ocQENiBw5BkngqKFHGYjMWLbFzReL+X2EqZJTEmxiWzZb4xDo5XI qz8qqC2D46uVtdTtZls0pjEY5XSx9psrf78GlPV2F54GVCGYgFIOgIHtUfNmR7jg Voitr98UWLShewanmvZXR0eBLJ6X2zhabXXa3ncPTMHZkpSgixb4ZLa0te0FpAZA zAYsrKhQUR9Pg3AFDxu8R634gNoNMI2NKYautk21fiJ7ctRlyNAykT5NUAvJL3ZU 4WheeHJmHPhwo2x4zNHgBUXtBX1VdnWz581o8ZAPY8Wa8wtUg1ynp6KxkIEFUYTy cP3f3EAlVBToSuc2KgaDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedvtddgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 14 Jun 2023 10:31:12 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Cristian Dumitrescu , Akhil Goyal , Fan Zhang , Anatoly Burakov , Ori Kam , Ferruh Yigit , Andrew Rybchenko , Ciara Power Subject: [PATCH 2/5] lib: remove extra asterisks ending comment blocks Date: Wed, 14 Jun 2023 16:26:48 +0200 Message-Id: <20230614142651.1456116-3-thomas@monjalon.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230614142651.1456116-1-thomas@monjalon.net> References: <20230614142651.1456116-1-thomas@monjalon.net> MIME-Version: 1.0 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 A comment should always be terminated with */ Extra asterisks were found with this kind of command: git grep '\* *\*/' lib Signed-off-by: Thomas Monjalon --- lib/cfgfile/rte_cfgfile.h | 2 +- lib/cryptodev/rte_crypto_sym.h | 2 +- lib/cryptodev/rte_cryptodev.h | 4 ++-- lib/eal/include/rte_bitmap.h | 2 +- lib/eal/include/rte_keepalive.h | 2 +- lib/eal/linux/eal_vfio.h | 4 ++-- lib/ethdev/rte_flow.h | 4 ++-- lib/meter/rte_meter.h | 7 +++---- lib/pipeline/rte_pipeline.h | 2 +- lib/pipeline/rte_table_action.c | 2 +- lib/port/rte_port.h | 2 +- lib/port/rte_port_ethdev.h | 2 +- lib/port/rte_port_eventdev.h | 2 +- lib/port/rte_port_fd.h | 2 +- lib/port/rte_port_frag.h | 2 +- lib/port/rte_port_kni.h | 3 +-- lib/port/rte_port_ras.h | 3 +-- lib/port/rte_port_ring.h | 3 +-- lib/port/rte_port_sched.h | 2 +- lib/port/rte_port_source_sink.h | 2 +- lib/port/rte_port_sym_crypto.h | 2 +- lib/port/rte_swx_port_fd.h | 4 ++-- lib/port/rte_swx_port_ring.h | 3 +-- lib/sched/rte_approx.h | 2 +- lib/sched/rte_pie.h | 2 +- lib/sched/rte_red.h | 2 +- lib/sched/rte_sched.c | 2 +- lib/sched/rte_sched.h | 5 +++-- lib/table/rte_table.h | 2 +- lib/table/rte_table_acl.h | 2 +- lib/table/rte_table_array.h | 2 +- lib/table/rte_table_hash.h | 3 ++- lib/table/rte_table_hash_cuckoo.h | 3 ++- lib/table/rte_table_hash_ext.c | 9 ++++----- lib/table/rte_table_hash_lru.c | 9 ++++----- lib/table/rte_table_lpm.h | 2 +- lib/table/rte_table_lpm_ipv6.h | 2 +- lib/table/rte_table_stub.h | 3 +-- lib/telemetry/rte_telemetry.h | 2 +- lib/telemetry/telemetry_internal.h | 2 +- lib/telemetry/telemetry_json.h | 2 +- 41 files changed, 57 insertions(+), 62 deletions(-) diff --git a/lib/cfgfile/rte_cfgfile.h b/lib/cfgfile/rte_cfgfile.h index ea7244bcac..7729c133b4 100644 --- a/lib/cfgfile/rte_cfgfile.h +++ b/lib/cfgfile/rte_cfgfile.h @@ -17,7 +17,7 @@ extern "C" { * * This library allows reading application defined parameters from standard * format configuration file. -***/ + */ #ifndef CFG_NAME_LEN #define CFG_NAME_LEN 64 diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h index 152d40623f..76c868c503 100644 --- a/lib/cryptodev/rte_crypto_sym.h +++ b/lib/cryptodev/rte_crypto_sym.h @@ -246,7 +246,7 @@ struct rte_crypto_cipher_xform { * (key1 || key2). * - Each key can be either 128 bits (16 bytes) or 256 bits (32 bytes). * - Both keys must have the same size. - **/ + */ struct { uint16_t offset; /**< Starting point for Initialisation Vector or Counter, diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index 1674945229..be708edc0f 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -1407,7 +1407,7 @@ typedef int (*cryptodev_sym_raw_operation_done_t)(void *qp, uint8_t *drv_ctx, * @param user_data Dequeued user data. * @return * - The number of operations to be dequeued. - **/ + */ typedef uint32_t (*rte_cryptodev_raw_get_dequeue_count_t)(void *user_data); /** @@ -1417,7 +1417,7 @@ typedef uint32_t (*rte_cryptodev_raw_get_dequeue_count_t)(void *user_data); * @param user_data Dequeued user data. * @param index Index number of the processed descriptor. * @param is_op_success Operation status provided by the driver. - **/ + */ typedef void (*rte_cryptodev_raw_post_dequeue_t)(void *user_data, uint32_t index, uint8_t is_op_success); diff --git a/lib/eal/include/rte_bitmap.h b/lib/eal/include/rte_bitmap.h index 25897ed512..46a822768d 100644 --- a/lib/eal/include/rte_bitmap.h +++ b/lib/eal/include/rte_bitmap.h @@ -32,7 +32,7 @@ extern "C" { * serialization of the bit set/clear and bitmap scan operations needs to be * enforced by the caller, while the bit get operation does not require locking * the bitmap. - ***/ + */ #include #include diff --git a/lib/eal/include/rte_keepalive.h b/lib/eal/include/rte_keepalive.h index 28c3064493..3ec413da01 100644 --- a/lib/eal/include/rte_keepalive.h +++ b/lib/eal/include/rte_keepalive.h @@ -5,7 +5,7 @@ /** * @file rte_keepalive.h * DPDK RTE LCore Keepalive Monitor. - **/ + */ #ifndef _KEEPALIVE_H_ #define _KEEPALIVE_H_ diff --git a/lib/eal/linux/eal_vfio.h b/lib/eal/linux/eal_vfio.h index bba5c7afa5..dc8ef32bb7 100644 --- a/lib/eal/linux/eal_vfio.h +++ b/lib/eal/linux/eal_vfio.h @@ -99,14 +99,14 @@ struct vfio_group { /* DMA mapping function prototype. * Takes VFIO container fd as a parameter. * Returns 0 on success, -1 on error. - * */ + */ typedef int (*vfio_dma_func_t)(int); /* Custom memory region DMA mapping function prototype. * Takes VFIO container fd, virtual address, physical address, length and * operation type (0 to unmap 1 for map) as a parameters. * Returns 0 on success, -1 on error. - **/ + */ typedef int (*vfio_dma_user_func_t)(int fd, uint64_t vaddr, uint64_t iova, uint64_t len, int do_map); diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index f1d6b4de30..e11c4a044a 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -4315,7 +4315,7 @@ enum rte_flow_conv_op { * @code (const void *)enum rte_flow_item_type @endcode * - @p dst type: * @code char * @endcode - **/ + */ RTE_FLOW_CONV_OP_ITEM_NAME, /** @@ -4329,7 +4329,7 @@ enum rte_flow_conv_op { * @code (const void *)enum rte_flow_action_type @endcode * - @p dst type: * @code char * @endcode - **/ + */ RTE_FLOW_CONV_OP_ACTION_NAME, /** diff --git a/lib/meter/rte_meter.h b/lib/meter/rte_meter.h index d2c91b3a40..6ba9967436 100644 --- a/lib/meter/rte_meter.h +++ b/lib/meter/rte_meter.h @@ -18,14 +18,13 @@ extern "C" { * 1. Single Rate Three Color Marker (srTCM): defined by IETF RFC 2697 * 2. Two Rate Three Color Marker (trTCM): defined by IETF RFC 2698 * 3. Two Rate Three Color Marker (trTCM): defined by IETF RFC 4115 - ***/ + */ #include - /* * Application Programmer's Interface (API) - ***/ + */ /** * Color @@ -326,7 +325,7 @@ rte_meter_trtcm_rfc4115_color_aware_check( /* * Inline implementation of run-time methods - ***/ + */ struct rte_meter_srtcm_profile { uint64_t cbs; diff --git a/lib/pipeline/rte_pipeline.h b/lib/pipeline/rte_pipeline.h index 267dbcfa2c..68ab40dd19 100644 --- a/lib/pipeline/rte_pipeline.h +++ b/lib/pipeline/rte_pipeline.h @@ -51,7 +51,7 @@ extern "C" { * Thread safety. It is possible to have multiple pipelines running on * the same CPU core, but it is not allowed (for thread safety reasons) to have * multiple CPU cores running the same pipeline instance. - ***/ + */ #include diff --git a/lib/pipeline/rte_table_action.c b/lib/pipeline/rte_table_action.c index de5da0b695..59d71ee50d 100644 --- a/lib/pipeline/rte_table_action.c +++ b/lib/pipeline/rte_table_action.c @@ -1956,7 +1956,7 @@ pkt_work_sym_crypto(struct rte_mbuf *mbuf, struct sym_crypto_data *data, /** For encryption, update the pkt iv field, otherwise * update the iv_aad_field - **/ + */ if (data->direction == RTE_CRYPTO_CIPHER_OP_ENCRYPT) rte_memcpy(pkt_iv, data->iv_aad_data, data->cipher_auth.cipher_iv_update_len); diff --git a/lib/port/rte_port.h b/lib/port/rte_port.h index f001ffbacf..0e30db371e 100644 --- a/lib/port/rte_port.h +++ b/lib/port/rte_port.h @@ -15,7 +15,7 @@ extern "C" { * * This tool is part of the DPDK Packet Framework tool suite and provides * a standard interface to implement different types of packet ports. - ***/ + */ #include #include diff --git a/lib/port/rte_port_ethdev.h b/lib/port/rte_port_ethdev.h index b607365c98..e07021cb89 100644 --- a/lib/port/rte_port_ethdev.h +++ b/lib/port/rte_port_ethdev.h @@ -15,7 +15,7 @@ extern "C" { * * ethdev_reader: input port built on top of pre-initialized NIC RX queue * ethdev_writer: output port built on top of pre-initialized NIC TX queue - ***/ + */ #include diff --git a/lib/port/rte_port_eventdev.h b/lib/port/rte_port_eventdev.h index bf3f8254af..0efb8e1021 100644 --- a/lib/port/rte_port_eventdev.h +++ b/lib/port/rte_port_eventdev.h @@ -17,7 +17,7 @@ extern "C" { * interface * eventdev_writer: output port built on top of pre-initialized eventdev * interface -**/ + */ #include #include diff --git a/lib/port/rte_port_fd.h b/lib/port/rte_port_fd.h index 810b0e9cc0..885b9ada22 100644 --- a/lib/port/rte_port_fd.h +++ b/lib/port/rte_port_fd.h @@ -15,7 +15,7 @@ extern "C" { * * fd_reader: input port built on top of valid non-blocking file descriptor * fd_writer: output port built on top of valid non-blocking file descriptor - ***/ + */ #include diff --git a/lib/port/rte_port_frag.h b/lib/port/rte_port_frag.h index 69fdc000f1..4055872e8d 100644 --- a/lib/port/rte_port_frag.h +++ b/lib/port/rte_port_frag.h @@ -24,7 +24,7 @@ extern "C" { * packets read from the ring are all non-jumbo frames. The complete IP * datagrams written to the ring are not changed. The jumbo frames are * fragmented into several IP packets with length less or equal to MTU. - ***/ + */ #include diff --git a/lib/port/rte_port_kni.h b/lib/port/rte_port_kni.h index 54227251f6..280f58c121 100644 --- a/lib/port/rte_port_kni.h +++ b/lib/port/rte_port_kni.h @@ -16,11 +16,10 @@ extern "C" { * * kni_reader: input port built on top of pre-initialized KNI interface * kni_writer: output port built on top of pre-initialized KNI interface - ***/ + */ #include - #include "rte_port.h" /** kni_reader port parameters */ diff --git a/lib/port/rte_port_ras.h b/lib/port/rte_port_ras.h index 8fd8ae8444..94cfb3ed92 100644 --- a/lib/port/rte_port_ras.h +++ b/lib/port/rte_port_ras.h @@ -25,11 +25,10 @@ extern "C" { * The complete IP datagrams written to the ring are not changed. The IP * fragments written to the ring are first reassembled and into complete IP * datagrams or dropped on error or IP reassembly time-out. - ***/ + */ #include - #include "rte_port.h" /** ring_writer_ipv4_ras port parameters */ diff --git a/lib/port/rte_port_ring.h b/lib/port/rte_port_ring.h index 9532ac1d22..027928c924 100644 --- a/lib/port/rte_port_ring.h +++ b/lib/port/rte_port_ring.h @@ -21,11 +21,10 @@ extern "C" { * input port built on top of pre-initialized multi consumers ring * ring_multi_writer: * output port built on top of pre-initialized multi producers ring - ***/ + */ #include - #include "rte_port.h" /** ring_reader port parameters */ diff --git a/lib/port/rte_port_sched.h b/lib/port/rte_port_sched.h index 5f46297a60..251380ef80 100644 --- a/lib/port/rte_port_sched.h +++ b/lib/port/rte_port_sched.h @@ -15,7 +15,7 @@ extern "C" { * * sched_reader: input port built on top of pre-initialized rte_sched_port * sched_writer: output port built on top of pre-initialized rte_sched_port - ***/ + */ #include diff --git a/lib/port/rte_port_source_sink.h b/lib/port/rte_port_source_sink.h index c2ddb297f4..bcdbaf1e40 100644 --- a/lib/port/rte_port_source_sink.h +++ b/lib/port/rte_port_source_sink.h @@ -15,7 +15,7 @@ extern "C" { * * source: input port that can be used to generate packets * sink: output port that drops all packets written to it - ***/ + */ #include "rte_port.h" diff --git a/lib/port/rte_port_sym_crypto.h b/lib/port/rte_port_sym_crypto.h index 4cf8566633..6532b4388a 100644 --- a/lib/port/rte_port_sym_crypto.h +++ b/lib/port/rte_port_sym_crypto.h @@ -15,7 +15,7 @@ extern "C" { * * crypto_reader: input port built on top of pre-initialized crypto interface * crypto_writer: output port built on top of pre-initialized crypto interface - **/ + */ #include diff --git a/lib/port/rte_swx_port_fd.h b/lib/port/rte_swx_port_fd.h index 2dd1480a42..e61719c8f6 100644 --- a/lib/port/rte_swx_port_fd.h +++ b/lib/port/rte_swx_port_fd.h @@ -12,10 +12,10 @@ extern "C" { /** * @file * RTE SWX FD Input and Output Ports - ***/ + */ + #include - #include "rte_swx_port.h" /** fd_reader port parameters */ diff --git a/lib/port/rte_swx_port_ring.h b/lib/port/rte_swx_port_ring.h index dc0ef9247c..efc485fb08 100644 --- a/lib/port/rte_swx_port_ring.h +++ b/lib/port/rte_swx_port_ring.h @@ -12,11 +12,10 @@ extern "C" { /** * @file * RTE SWX Ring Input and Output Ports - ***/ + */ #include - #include "rte_swx_port.h" /** Ring input port (reader) creation parameters. */ diff --git a/lib/sched/rte_approx.h b/lib/sched/rte_approx.h index 0200fa1521..b60086330e 100644 --- a/lib/sched/rte_approx.h +++ b/lib/sched/rte_approx.h @@ -16,7 +16,7 @@ extern "C" { * Given a rational number alpha with 0 < alpha < 1 and a precision d, the goal * is to find positive integers p, q such that alpha - d < p/q < alpha + d, and * q is minimal. - ***/ + */ #include diff --git a/lib/sched/rte_pie.h b/lib/sched/rte_pie.h index cb52fd933e..e0d6d5a3cd 100644 --- a/lib/sched/rte_pie.h +++ b/lib/sched/rte_pie.h @@ -12,7 +12,7 @@ extern "C" { /** * @file * Proportional Integral controller Enhanced (PIE) - **/ + */ #include diff --git a/lib/sched/rte_red.h b/lib/sched/rte_red.h index 13a9ad24a8..afaa35fcd6 100644 --- a/lib/sched/rte_red.h +++ b/lib/sched/rte_red.h @@ -12,7 +12,7 @@ extern "C" { /** * @file * RTE Random Early Detection (RED) - ***/ + */ #include #include diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index e7787344b3..a1ca710cf8 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -1226,7 +1226,7 @@ rte_sched_subport_config(struct rte_sched_port *port, /** Memory is allocated only on first invocation of the api for a * given subport. Subsequent invocation on same subport will just * update subport bandwidth parameter. - **/ + */ if (port->subports[subport_id] == NULL) { status = rte_sched_subport_check_params(params, diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h index c7081ceeef..a9ac5909ad 100644 --- a/lib/sched/rte_sched.h +++ b/lib/sched/rte_sched.h @@ -309,7 +309,7 @@ struct rte_sched_port_params { /* * Configuration - ***/ + */ /** * Hierarchical scheduler port configuration @@ -432,9 +432,10 @@ rte_sched_pipe_config(struct rte_sched_port *port, uint32_t rte_sched_port_get_memory_footprint(struct rte_sched_port_params *port_params, struct rte_sched_subport_params **subport_params); + /* * Statistics - ***/ + */ /** * Hierarchical scheduler subport statistics read diff --git a/lib/table/rte_table.h b/lib/table/rte_table.h index 3f592d1aa2..9a5faf0e32 100644 --- a/lib/table/rte_table.h +++ b/lib/table/rte_table.h @@ -22,7 +22,7 @@ extern "C" { * use-case, the lookup key is an n-tuple of packet fields that uniquely * identifies a traffic flow, while data represents actions and action * meta-data associated with the same traffic flow. - ***/ + */ #include #include diff --git a/lib/table/rte_table_acl.h b/lib/table/rte_table_acl.h index 673725f82e..1cb7b9fbbd 100644 --- a/lib/table/rte_table_acl.h +++ b/lib/table/rte_table_acl.h @@ -17,7 +17,7 @@ extern "C" { * associate data to lookup keys. * * Use-cases: Firewall rule database, etc. - ***/ + */ #include diff --git a/lib/table/rte_table_array.h b/lib/table/rte_table_array.h index ac3ca59c75..fad83b0588 100644 --- a/lib/table/rte_table_array.h +++ b/lib/table/rte_table_array.h @@ -14,7 +14,7 @@ extern "C" { * RTE Table Array * * Simple array indexing. Lookup key is the array entry index. - ***/ + */ #include diff --git a/lib/table/rte_table_hash.h b/lib/table/rte_table_hash.h index 5d1a0e2bea..6698621dae 100644 --- a/lib/table/rte_table_hash.h +++ b/lib/table/rte_table_hash.h @@ -46,7 +46,8 @@ extern "C" { * 2. Key size: * a. Configurable key size * b. Single key size (8-byte, 16-byte or 32-byte key size) - ***/ + */ + #include #include "rte_table.h" diff --git a/lib/table/rte_table_hash_cuckoo.h b/lib/table/rte_table_hash_cuckoo.h index cb5a771c8b..3a55d28e9b 100644 --- a/lib/table/rte_table_hash_cuckoo.h +++ b/lib/table/rte_table_hash_cuckoo.h @@ -12,7 +12,8 @@ extern "C" { /** * @file * RTE Table Hash Cuckoo - ***/ + */ + #include #include diff --git a/lib/table/rte_table_hash_ext.c b/lib/table/rte_table_hash_ext.c index bd97dc5eba..bb7d23019b 100644 --- a/lib/table/rte_table_hash_ext.c +++ b/lib/table/rte_table_hash_ext.c @@ -514,8 +514,7 @@ static int rte_table_hash_ext_lookup_unoptimized( return 0; } -/*** - * +/* * mask = match bitmask * match = at least one match * match_many = more than one match @@ -552,7 +551,7 @@ static int rte_table_hash_ext_lookup_unoptimized( * match = 0xFFFELLU * match_many = 0xFEE8LLU * match_pos = 0x12131210LLU - ***/ + */ #define LUT_MATCH 0xFFFELLU #define LUT_MATCH_MANY 0xFEE8LLU @@ -829,7 +828,7 @@ static int rte_table_hash_ext_lookup_unoptimized( pkts_mask_out |= match_keys; \ } -/*** +/* * The lookup function implements a 4-stage pipeline, with each stage processing * two different packets. The purpose of pipelined implementation is to hide the * latency of prefetching the data structures and loosen the data dependency @@ -843,7 +842,7 @@ static int rte_table_hash_ext_lookup_unoptimized( * * The naming convention is: * pXY = packet Y of stage X, X = 0 .. 3, Y = 0 .. 1 -***/ +*/ static int rte_table_hash_ext_lookup( void *table, struct rte_mbuf **pkts, diff --git a/lib/table/rte_table_hash_lru.c b/lib/table/rte_table_hash_lru.c index 354cd5aee4..d71fc70834 100644 --- a/lib/table/rte_table_hash_lru.c +++ b/lib/table/rte_table_hash_lru.c @@ -451,8 +451,7 @@ static int rte_table_hash_lru_lookup_unoptimized( return 0; } -/*** -* +/* * mask = match bitmask * match = at least one match * match_many = more than one match @@ -489,7 +488,7 @@ static int rte_table_hash_lru_lookup_unoptimized( * match = 0xFFFELLU * match_many = 0xFEE8LLU * match_pos = 0x12131210LLU -***/ +*/ #define LUT_MATCH 0xFFFELLU #define LUT_MATCH_MANY 0xFEE8LLU @@ -781,7 +780,7 @@ static int rte_table_hash_lru_lookup_unoptimized( lru_update(bkt31, match_pos31); \ } -/*** +/* * The lookup function implements a 4-stage pipeline, with each stage processing * two different packets. The purpose of pipelined implementation is to hide the * latency of prefetching the data structures and loosen the data dependency @@ -795,7 +794,7 @@ static int rte_table_hash_lru_lookup_unoptimized( * * The naming convention is: * pXY = packet Y of stage X, X = 0 .. 3, Y = 0 .. 1 -***/ +*/ static int rte_table_hash_lru_lookup( void *table, struct rte_mbuf **pkts, diff --git a/lib/table/rte_table_lpm.h b/lib/table/rte_table_lpm.h index 135f07384c..dde32deed9 100644 --- a/lib/table/rte_table_lpm.h +++ b/lib/table/rte_table_lpm.h @@ -39,7 +39,7 @@ extern "C" { * has to carefully manage the format of the LPM table entry (i.e. the next * hop information) so that any next hop data that changes value during * run-time (e.g. counters) is placed outside of this area. - ***/ + */ #include diff --git a/lib/table/rte_table_lpm_ipv6.h b/lib/table/rte_table_lpm_ipv6.h index a6cea2c707..96ddbd32c2 100644 --- a/lib/table/rte_table_lpm_ipv6.h +++ b/lib/table/rte_table_lpm_ipv6.h @@ -39,7 +39,7 @@ extern "C" { * has to carefully manage the format of the LPM table entry (i.e. the next * hop information) so that any next hop data that changes value during * run-time (e.g. counters) is placed outside of this area. - ***/ + */ #include diff --git a/lib/table/rte_table_stub.h b/lib/table/rte_table_stub.h index b4aa0a16a2..846526ea99 100644 --- a/lib/table/rte_table_stub.h +++ b/lib/table/rte_table_stub.h @@ -14,8 +14,7 @@ extern "C" { * RTE Table Stub * * The stub table lookup operation produces lookup miss for all input packets. - ***/ - + */ #include "rte_table.h" diff --git a/lib/telemetry/rte_telemetry.h b/lib/telemetry/rte_telemetry.h index d8ea97f173..cab9daa6fe 100644 --- a/lib/telemetry/rte_telemetry.h +++ b/lib/telemetry/rte_telemetry.h @@ -30,7 +30,7 @@ extern "C" { * The telemetry library provides a method to retrieve statistics from * DPDK by sending a request message over a socket. DPDK will send * a JSON encoded response containing telemetry data. - ***/ + */ /** opaque structure used internally for managing data from callbacks */ struct rte_tel_data; diff --git a/lib/telemetry/telemetry_internal.h b/lib/telemetry/telemetry_internal.h index 37d79bcb24..80e2bd3a49 100644 --- a/lib/telemetry/telemetry_internal.h +++ b/lib/telemetry/telemetry_internal.h @@ -14,7 +14,7 @@ * * @file * RTE Telemetry Legacy and internal definitions - ***/ + */ /** * @internal diff --git a/lib/telemetry/telemetry_json.h b/lib/telemetry/telemetry_json.h index 31a3d56756..a754dfaa0c 100644 --- a/lib/telemetry/telemetry_json.h +++ b/lib/telemetry/telemetry_json.h @@ -18,7 +18,7 @@ * * This file contains small inline functions to make it easier for applications * to build up valid JSON responses to telemetry requests. - ***/ + */ /** * @internal