[2/5] lib: remove extra asterisks ending comment blocks

Message ID 20230614142651.1456116-3-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series cleanup in library header files |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Thomas Monjalon June 14, 2023, 2:26 p.m. UTC
  A comment should always be terminated with */

Extra asterisks were found with this kind of command:
	git grep '\* *\*/' lib

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 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(-)
  

Patch

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 <string.h>
 #include <rte_compat.h>
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 <stdint.h>
 
-
 /*
  * 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" {
  * <B>Thread safety.</B> 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 <stdint.h>
 
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 <stdint.h>
 #include <rte_mbuf.h>
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 <stdint.h>
 
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 <stdint.h>
 #include <rte_eventdev.h>
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 <stdint.h>
 
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 <stdint.h>
 
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 <stdint.h>
 
-
 #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 <stdint.h>
 
-
 #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 <stdint.h>
 
-
 #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 <stdint.h>
 
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 <stdint.h>
 
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 <stdint.h>
 
-
 #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 <stdint.h>
 
-
 #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 <stdint.h>
 
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 <stdint.h>
 
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 <stdint.h>
 #include <limits.h>
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 <stdint.h>
 #include <rte_port.h>
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 <stdint.h>
 
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 <stdint.h>
 
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 <stdint.h>
 
 #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 <stdint.h>
 
 #include <rte_hash.h>
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 <stdint.h>
 
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 <stdint.h>
 
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