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 A029B42CB3; Wed, 14 Jun 2023 16:31:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91FC040FDF; Wed, 14 Jun 2023 16:31:11 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id C39A740DDB for ; Wed, 14 Jun 2023 16:31:09 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 632E45C01B9; Wed, 14 Jun 2023 10:31:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 14 Jun 2023 10:31:09 -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=1686753069; x= 1686839469; bh=874TzaWUY4F2NltiOvCDEIwv9Ij0a1AE1kFZkjFarz4=; b=P CeTbNxkvBnptr0myfTKtRbYU9eJQE9hwFiAyr0PqEsaUVY7oSKsZ3Ymgq4D0zKZ0 fut3vyJM0bjTu+P+hCkPWDDsnswnBilWEZ9p8MFf0VxEtshDntWdh+Re6sdzJ/zp rF7QWAzbrdE9V2YOWEj3EKwh32we8G4TXPutr1+GvC/a1SWTI/loZENEOPlvJHVL L535+C7F6+7Z3IOuesV2pfo6nQd+OdR94zSHf0p9kANZ5TnNZrdAG/c4c+pN2nvK 68ZWHbSsd36P9OweJcYPNKev1EZpkSzrboeN7X09wb39Lsh2LlBE9ISDdxSWpFql Zyp8SPE5qn+uZLy+YFC3A== 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=1686753069; x= 1686839469; bh=874TzaWUY4F2NltiOvCDEIwv9Ij0a1AE1kFZkjFarz4=; b=c RmbK7R4oFEgSnGiL0svh8+VHHbnY3XbuTsEGVRWlZgrZJPA4Y2zZId4wX9t81/jK 2Vs7s8ZgTEDhJjldd0BcIIP9xPzqrmZ+GkJ+8SJhrf/bEsSmUTFOfnvrohBxf1/l d30+rfoTlHUvTm2WTK8EkuNxjSYn6UyYsfbO4tOH/8IodO29io2GoBhbW536L3aC CfGN9g5gb3DNSpOl8SodQjurccFP4niZA0aaSMfd9DNIaceKswaZ8rszXB5RLGhM FTC0k7asCOJhep183tV9GYh4UEGYcDM/5KJDruZ/vloqTFWlarvlKeBPap2l0uPJ r8RX6FbsHYpOtdOiEz1RQ== 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:02 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Nicolas Chautru , Cristian Dumitrescu , Olivier Matz , Fan Zhang , Ashish Gupta , Akhil Goyal , Ruifeng Wang , Anatoly Burakov , Harman Kalra , Joyce Kong , Jerin Jacob , Sunil Kumar Kori , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Byron Marohn , Yipeng Wang , Ferruh Yigit , Andrew Rybchenko , Ori Kam , Erik Gabriel Carrillo , Kiran Kumar K , Nithin Dabilpuram , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin , Konstantin Ananyev , Srikanth Yalavarthi , Pavan Nikhilesh , Reshma Pattan , Stephen Hemminger , Anoob Joseph , Volodymyr Fialko , David Hunt , Sachin Saxena , Hemant Agrawal , Honnappa Nagarahalli , Ciara Power Subject: [PATCH 1/5] lib: remove blank line ending comment blocks Date: Wed, 14 Jun 2023 16:26:47 +0200 Message-Id: <20230614142651.1456116-2-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 Content-Transfer-Encoding: 8bit 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 At the end of a comment, no need for an extra line. This pattern was fixed with the following command: git ls lib | xargs sed -i '/^ *\* *$/{N;/ *\*\/ *$/D;}' Signed-off-by: Thomas Monjalon --- lib/bbdev/rte_bbdev.h | 2 -- lib/bbdev/rte_bbdev_op.h | 1 - lib/bbdev/rte_bbdev_pmd.h | 1 - lib/cfgfile/rte_cfgfile.h | 1 - lib/cmdline/cmdline_parse.h | 1 - lib/compressdev/rte_comp.h | 1 - lib/compressdev/rte_compressdev.h | 1 - lib/cryptodev/cryptodev_pmd.h | 1 - lib/cryptodev/rte_crypto.h | 1 - lib/cryptodev/rte_crypto_asym.h | 12 ------------ lib/cryptodev/rte_cryptodev.h | 3 --- lib/cryptodev/rte_cryptodev_core.h | 1 - lib/eal/arm/include/rte_cycles_64.h | 1 - lib/eal/common/eal_common_proc.c | 1 - lib/eal/include/generic/rte_pause.h | 1 - lib/eal/include/generic/rte_spinlock.h | 1 - lib/eal/include/rte_bitmap.h | 1 - lib/eal/include/rte_branch_prediction.h | 2 -- lib/eal/include/rte_eal.h | 2 -- lib/eal/include/rte_interrupts.h | 1 - lib/eal/include/rte_keepalive.h | 1 - lib/eal/include/rte_lcore.h | 1 - lib/eal/include/rte_tailq.h | 1 - lib/eal/include/rte_thread.h | 1 - lib/eal/include/rte_ticketlock.h | 1 - lib/eal/include/rte_trace_point.h | 1 - lib/eal/windows/include/sys/queue.h | 1 - lib/efd/rte_efd.c | 1 - lib/ethdev/ethdev_driver.h | 1 - lib/ethdev/rte_ethdev.c | 1 - lib/ethdev/rte_ethdev.h | 1 - lib/ethdev/rte_ethdev_core.h | 1 - lib/ethdev/rte_flow.h | 11 ----------- lib/ethdev/rte_mtr.h | 2 -- lib/ethdev/sff_8636.h | 2 -- lib/ethdev/sff_common.h | 1 - lib/eventdev/event_timer_adapter_pmd.h | 1 - lib/eventdev/eventdev_pmd.h | 17 ----------------- lib/eventdev/rte_event_timer_adapter.h | 2 -- lib/eventdev/rte_eventdev.h | 11 ----------- lib/graph/rte_graph.h | 2 -- lib/hash/rte_hash.h | 1 - lib/hash/rte_hash_crc.h | 1 - lib/ip_frag/rte_ipv6_fragmentation.c | 1 - lib/ip_frag/rte_ipv6_reassembly.c | 1 - lib/ipsec/ipsec_telemetry.c | 1 - lib/member/rte_member.h | 1 - lib/mempool/rte_mempool.c | 1 - lib/mempool/rte_mempool.h | 1 - lib/meter/rte_meter.h | 3 --- lib/mldev/mldev_utils.h | 1 - lib/node/rte_node_eth_api.h | 1 - lib/node/rte_node_ip4_api.h | 1 - lib/node/rte_node_ip6_api.h | 1 - lib/pcapng/rte_pcapng.h | 1 - lib/pdcp/rte_pdcp_group.h | 1 - lib/pipeline/rte_pipeline.c | 4 ---- lib/pipeline/rte_pipeline.h | 7 ------- lib/pipeline/rte_swx_ipsec.h | 2 -- lib/pipeline/rte_swx_pipeline_spec.c | 11 ----------- lib/port/rte_port.h | 3 --- lib/port/rte_port_ethdev.h | 1 - lib/port/rte_port_eventdev.h | 1 - lib/port/rte_port_fd.h | 1 - lib/port/rte_port_frag.h | 1 - lib/port/rte_port_kni.h | 1 - lib/port/rte_port_ras.h | 1 - lib/port/rte_port_ring.h | 1 - lib/port/rte_port_sched.h | 1 - lib/port/rte_port_source_sink.h | 1 - lib/port/rte_port_sym_crypto.h | 1 - lib/port/rte_swx_port_fd.h | 1 - lib/power/guest_channel.h | 1 - lib/rawdev/rte_rawdev.h | 2 -- lib/rawdev/rte_rawdev_pmd.h | 3 --- lib/rcu/rte_rcu_qsbr.h | 1 - lib/regexdev/rte_regexdev_core.h | 1 - lib/reorder/rte_reorder.h | 1 - lib/ring/rte_ring.h | 1 - lib/sched/rte_approx.h | 1 - lib/sched/rte_pie.h | 2 -- lib/sched/rte_red.h | 4 ---- lib/sched/rte_sched.c | 1 - lib/sched/rte_sched.h | 3 --- lib/sched/rte_sched_common.h | 2 -- lib/security/rte_security.h | 1 - lib/security/rte_security_driver.h | 1 - lib/table/rte_swx_table_em.c | 1 - lib/table/rte_table.h | 1 - lib/table/rte_table_acl.h | 1 - lib/table/rte_table_array.h | 1 - lib/table/rte_table_hash.h | 1 - lib/table/rte_table_hash_cuckoo.h | 1 - lib/table/rte_table_hash_ext.c | 2 -- lib/table/rte_table_hash_lru.c | 2 -- lib/table/rte_table_lpm.h | 1 - lib/table/rte_table_lpm_ipv6.h | 1 - lib/table/rte_table_stub.h | 1 - lib/telemetry/telemetry_internal.h | 1 - lib/telemetry/telemetry_json.h | 1 - 100 files changed, 192 deletions(-) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index 52f6ed9b01..f124e1f5db 100644 --- a/lib/bbdev/rte_bbdev.h +++ b/lib/bbdev/rte_bbdev.h @@ -963,7 +963,6 @@ rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op, * * @returns * Device status as string or NULL if invalid. - * */ __rte_experimental const char* @@ -977,7 +976,6 @@ rte_bbdev_device_status_str(enum rte_bbdev_device_status status); * * @returns * Queue status as string or NULL if op_type is invalid. - * */ __rte_experimental const char* diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h index 96a390cd9b..cb17a17cbc 100644 --- a/lib/bbdev/rte_bbdev_op.h +++ b/lib/bbdev/rte_bbdev_op.h @@ -936,7 +936,6 @@ struct rte_bbdev_op_pool_private { * * @returns * Operation type as string or NULL if op_type is invalid - * */ const char* rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type); diff --git a/lib/bbdev/rte_bbdev_pmd.h b/lib/bbdev/rte_bbdev_pmd.h index 3da7a2bdf5..442b23943d 100644 --- a/lib/bbdev/rte_bbdev_pmd.h +++ b/lib/bbdev/rte_bbdev_pmd.h @@ -64,7 +64,6 @@ rte_bbdev_release(struct rte_bbdev *bbdev); * @return * - The device structure pointer, or * - NULL otherwise - * */ struct rte_bbdev * rte_bbdev_get_named_dev(const char *name); diff --git a/lib/cfgfile/rte_cfgfile.h b/lib/cfgfile/rte_cfgfile.h index b2030fa66c..ea7244bcac 100644 --- a/lib/cfgfile/rte_cfgfile.h +++ b/lib/cfgfile/rte_cfgfile.h @@ -17,7 +17,6 @@ extern "C" { * * This library allows reading application defined parameters from standard * format configuration file. -* ***/ #ifndef CFG_NAME_LEN diff --git a/lib/cmdline/cmdline_parse.h b/lib/cmdline/cmdline_parse.h index afc2fcd3dc..a852ac411c 100644 --- a/lib/cmdline/cmdline_parse.h +++ b/lib/cmdline/cmdline_parse.h @@ -142,7 +142,6 @@ typedef struct cmdline_inst cmdline_parse_inst_t; /** * A context is identified by its name, and contains a list of * instruction - * */ typedef cmdline_parse_inst_t *cmdline_parse_ctx_t; diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h index 026a2814b5..bf896d0722 100644 --- a/lib/compressdev/rte_comp.h +++ b/lib/compressdev/rte_comp.h @@ -9,7 +9,6 @@ * @file rte_comp.h * * RTE definitions for Data Compression Service - * */ #ifdef __cplusplus diff --git a/lib/compressdev/rte_compressdev.h b/lib/compressdev/rte_compressdev.h index 7eb5c58798..13a4186318 100644 --- a/lib/compressdev/rte_compressdev.h +++ b/lib/compressdev/rte_compressdev.h @@ -495,7 +495,6 @@ rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, * - Returns -ENOTSUP if comp device does not support STATEFUL operations. * - Returns -ENOTSUP if comp device does not support the comp transform. * - Returns -ENOMEM if the private stream could not be allocated. - * */ __rte_experimental int diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h index 0dfad9e24f..585c29df8a 100644 --- a/lib/cryptodev/cryptodev_pmd.h +++ b/lib/cryptodev/cryptodev_pmd.h @@ -390,7 +390,6 @@ typedef void (*cryptodev_asym_clear_session_t)(struct rte_cryptodev *dev, * * @return * - Returns number of successfully processed packets. - * */ typedef uint32_t (*cryptodev_sym_cpu_crypto_process_t) (struct rte_cryptodev *dev, struct rte_cryptodev_sym_session *sess, diff --git a/lib/cryptodev/rte_crypto.h b/lib/cryptodev/rte_crypto.h index f9644d29ec..7c9c413349 100644 --- a/lib/cryptodev/rte_crypto.h +++ b/lib/cryptodev/rte_crypto.h @@ -9,7 +9,6 @@ * @file rte_crypto.h * * RTE Cryptography Common Definitions - * */ #ifdef __cplusplus diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h index 083320e555..fc3f331393 100644 --- a/lib/cryptodev/rte_crypto_asym.h +++ b/lib/cryptodev/rte_crypto_asym.h @@ -76,7 +76,6 @@ enum rte_crypto_curve_id { * Asymmetric crypto transformation types. * Each xform type maps to one asymmetric algorithm * performing specific operation - * */ enum rte_crypto_asym_xform_type { RTE_CRYPTO_ASYM_XFORM_UNSPECIFIED = 0, @@ -181,7 +180,6 @@ enum rte_crypto_rsa_padding_type { * * enumerates private key format required to perform RSA crypto * transform. - * */ enum rte_crypto_rsa_priv_key_type { RTE_RSA_KEY_TYPE_EXP, @@ -303,7 +301,6 @@ struct rte_crypto_rsa_padding { * Asymmetric RSA transform data * * Structure describing RSA xform params - * */ struct rte_crypto_rsa_xform { rte_crypto_uint n; @@ -326,7 +323,6 @@ struct rte_crypto_rsa_xform { * Asymmetric Modular exponentiation transform data * * Structure describing modular exponentiation xform param - * */ struct rte_crypto_modex_xform { rte_crypto_uint modulus; @@ -339,7 +335,6 @@ struct rte_crypto_modex_xform { * Asymmetric modular multiplicative inverse transform operation * * Structure describing modular multiplicative inverse transform - * */ struct rte_crypto_modinv_xform { rte_crypto_uint modulus; @@ -350,7 +345,6 @@ struct rte_crypto_modinv_xform { * Asymmetric DH transform data * * Structure describing deffie-hellman xform params - * */ struct rte_crypto_dh_xform { rte_crypto_uint p; @@ -363,7 +357,6 @@ struct rte_crypto_dh_xform { * Asymmetric Digital Signature transform operation * * Structure describing DSA xform params - * */ struct rte_crypto_dsa_xform { rte_crypto_uint p; @@ -380,7 +373,6 @@ struct rte_crypto_dsa_xform { * Asymmetric elliptic curve transform data * * Structure describing all EC based xform params - * */ struct rte_crypto_ec_xform { enum rte_crypto_curve_id curve_id; @@ -400,7 +392,6 @@ struct rte_crypto_sm2_xform { /** * Operations params for modular operations: * exponentiation and multiplicative inverse - * */ struct rte_crypto_mod_op_param { rte_crypto_uint base; @@ -411,7 +402,6 @@ struct rte_crypto_mod_op_param { /** * RSA operation params - * */ struct rte_crypto_rsa_op_param { enum rte_crypto_asym_op_type op_type; @@ -545,7 +535,6 @@ struct rte_crypto_ecdh_op_param { /** * DSA Operations params - * */ struct rte_crypto_dsa_op_param { enum rte_crypto_asym_op_type op_type; @@ -734,7 +723,6 @@ struct rte_crypto_sm2_op_param { * Asymmetric Cryptographic Operation. * * Structure describing asymmetric crypto operation params. - * */ struct rte_crypto_asym_op { RTE_STD_C11 diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index 228273df90..1674945229 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -162,7 +162,6 @@ struct rte_cryptodev_symmetric_capability { /** * Asymmetric Xform Crypto Capability - * */ struct rte_cryptodev_asymmetric_xform_capability { enum rte_crypto_asym_xform_type xform_type; @@ -188,7 +187,6 @@ struct rte_cryptodev_asymmetric_xform_capability { /** * Asymmetric Crypto Capability - * */ struct rte_cryptodev_asymmetric_capability { struct rte_cryptodev_asymmetric_xform_capability xform_capa; @@ -222,7 +220,6 @@ struct rte_cryptodev_sym_capability_idx { /** * Structure used to describe asymmetric crypto xforms * Each xform maps to one asym algorithm. - * */ struct rte_cryptodev_asym_capability_idx { enum rte_crypto_asym_xform_type type; diff --git a/lib/cryptodev/rte_cryptodev_core.h b/lib/cryptodev/rte_cryptodev_core.h index 16832f645d..5de89d099f 100644 --- a/lib/cryptodev/rte_cryptodev_core.h +++ b/lib/cryptodev/rte_cryptodev_core.h @@ -14,7 +14,6 @@ * public API because they are used by inline functions in the published API. * * Applications should not use these directly. - * */ typedef uint16_t (*dequeue_pkt_burst_t)(void *qp, diff --git a/lib/eal/arm/include/rte_cycles_64.h b/lib/eal/arm/include/rte_cycles_64.h index 029fdc4355..8b05302f47 100644 --- a/lib/eal/arm/include/rte_cycles_64.h +++ b/lib/eal/arm/include/rte_cycles_64.h @@ -72,7 +72,6 @@ rte_rdtsc(void) * val |= (BIT(0) | BIT(2)); * isb(); * asm volatile("msr pmcr_el0, %0" : : "r" (val)); - * */ /** Read PMU cycle counter */ diff --git a/lib/eal/common/eal_common_proc.c b/lib/eal/common/eal_common_proc.c index 1fc1d6c53b..7a038e0a3c 100644 --- a/lib/eal/common/eal_common_proc.c +++ b/lib/eal/common/eal_common_proc.c @@ -669,7 +669,6 @@ rte_mp_channel_cleanup(void) * Return -1, as fail to send message and it's caused by the local side. * Return 0, as fail to send message and it's caused by the remote side. * Return 1, as succeed to send message. - * */ static int send_msg(const char *dst_path, struct rte_mp_msg *msg, int type) diff --git a/lib/eal/include/generic/rte_pause.h b/lib/eal/include/generic/rte_pause.h index 2173a544d5..ec1f41819c 100644 --- a/lib/eal/include/generic/rte_pause.h +++ b/lib/eal/include/generic/rte_pause.h @@ -10,7 +10,6 @@ * @file * * CPU pause operation. - * */ #include diff --git a/lib/eal/include/generic/rte_spinlock.h b/lib/eal/include/generic/rte_spinlock.h index 8ca47bbfaa..c50ebaaa80 100644 --- a/lib/eal/include/generic/rte_spinlock.h +++ b/lib/eal/include/generic/rte_spinlock.h @@ -15,7 +15,6 @@ * a loop repeatedly checking until the lock becomes available. * * All locks must be initialised before use, and only initialised once. - * */ #include diff --git a/lib/eal/include/rte_bitmap.h b/lib/eal/include/rte_bitmap.h index 27ee3d18a4..25897ed512 100644 --- a/lib/eal/include/rte_bitmap.h +++ b/lib/eal/include/rte_bitmap.h @@ -32,7 +32,6 @@ 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 diff --git a/lib/eal/include/rte_branch_prediction.h b/lib/eal/include/rte_branch_prediction.h index 0256a9de60..414cd921ba 100644 --- a/lib/eal/include/rte_branch_prediction.h +++ b/lib/eal/include/rte_branch_prediction.h @@ -22,7 +22,6 @@ extern "C" { * * if (likely(x > 1)) * do_stuff(); - * */ #ifndef likely #define likely(x) __builtin_expect(!!(x), 1) @@ -36,7 +35,6 @@ extern "C" { * * if (unlikely(x < 1)) * do_stuff(); - * */ #ifndef unlikely #define unlikely(x) __builtin_expect(!!(x), 0) diff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h index d52f79f63d..b612577b38 100644 --- a/lib/eal/include/rte_eal.h +++ b/lib/eal/include/rte_eal.h @@ -240,7 +240,6 @@ rte_mp_action_register(const char *name, rte_mp_t action); * * @param name * The name argument plays as the nonredundant key to find the action. - * */ void rte_mp_action_unregister(const char *name); @@ -463,7 +462,6 @@ uint64_t rte_eal_get_baseaddr(void); * IOVA mapping mode is iommu programming mode of a device. * That device (for example: IOMMU backed DMA device) based * on rte_iova_mode will generate physical or virtual address. - * */ enum rte_iova_mode { RTE_IOVA_DC = 0, /* Don't care mode */ diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index 487e3c8875..bcafdd58a9 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -234,7 +234,6 @@ rte_intr_instance_alloc(uint32_t flags); * @param intr_handle * Interrupt handle allocated with rte_intr_instance_alloc(). * If intr_handle is NULL, no operation is performed. - * */ __rte_experimental void diff --git a/lib/eal/include/rte_keepalive.h b/lib/eal/include/rte_keepalive.h index 538fb09095..28c3064493 100644 --- a/lib/eal/include/rte_keepalive.h +++ b/lib/eal/include/rte_keepalive.h @@ -5,7 +5,6 @@ /** * @file rte_keepalive.h * DPDK RTE LCore Keepalive Monitor. - * **/ #ifndef _KEEPALIVE_H_ diff --git a/lib/eal/include/rte_lcore.h b/lib/eal/include/rte_lcore.h index 6a355e9986..6ce810b876 100644 --- a/lib/eal/include/rte_lcore.h +++ b/lib/eal/include/rte_lcore.h @@ -9,7 +9,6 @@ * @file * * API for lcore and socket manipulation - * */ #include diff --git a/lib/eal/include/rte_tailq.h b/lib/eal/include/rte_tailq.h index 0f67f9e4db..931d549e59 100644 --- a/lib/eal/include/rte_tailq.h +++ b/lib/eal/include/rte_tailq.h @@ -8,7 +8,6 @@ /** * @file * Here defines rte_tailq APIs for only internal use - * */ #ifdef __cplusplus diff --git a/lib/eal/include/rte_thread.h b/lib/eal/include/rte_thread.h index ddd411e067..369e2375f6 100644 --- a/lib/eal/include/rte_thread.h +++ b/lib/eal/include/rte_thread.h @@ -356,7 +356,6 @@ int rte_thread_set_affinity(rte_cpuset_t *cpusetp); * @param cpusetp * Pointer to CPU affinity of current thread. * It presumes input is not NULL, otherwise it causes panic. - * */ void rte_thread_get_affinity(rte_cpuset_t *cpusetp); diff --git a/lib/eal/include/rte_ticketlock.h b/lib/eal/include/rte_ticketlock.h index 693c67b517..5db0d8ae92 100644 --- a/lib/eal/include/rte_ticketlock.h +++ b/lib/eal/include/rte_ticketlock.h @@ -15,7 +15,6 @@ * serviced. * * All locks must be initialised before use, and only initialised once. - * */ #ifdef __cplusplus diff --git a/lib/eal/include/rte_trace_point.h b/lib/eal/include/rte_trace_point.h index 4d6b5700dd..c6b6fccda5 100644 --- a/lib/eal/include/rte_trace_point.h +++ b/lib/eal/include/rte_trace_point.h @@ -234,7 +234,6 @@ __rte_trace_point_fp_is_enabled(void) * @internal * * Allocate trace memory buffer per thread. - * */ __rte_experimental void __rte_trace_mem_per_thread_alloc(void); diff --git a/lib/eal/windows/include/sys/queue.h b/lib/eal/windows/include/sys/queue.h index 9756bee6fb..917526531b 100644 --- a/lib/eal/windows/include/sys/queue.h +++ b/lib/eal/windows/include/sys/queue.h @@ -83,7 +83,6 @@ * _REMOVE_HEAD + - + - * _REMOVE s + s + * _SWAP + + + + - * */ #ifdef QUEUE_MACRO_DEBUG #warn Use QUEUE_MACRO_DEBUG_TRACE and/or QUEUE_MACRO_DEBUG_TRASH diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c index 686a137757..dad962ce29 100644 --- a/lib/efd/rte_efd.c +++ b/lib/efd/rte_efd.c @@ -344,7 +344,6 @@ efd_get_choice(const struct rte_efd_table * const table, * Computed chunk ID * @param bin_id * Computed bin ID - * */ static inline void efd_compute_ids(const struct rte_efd_table * const table, diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h index 367c0c4878..980f837ab6 100644 --- a/lib/ethdev/ethdev_driver.h +++ b/lib/ethdev/ethdev_driver.h @@ -16,7 +16,6 @@ extern "C" { * * These APIs for the use from Ethernet drivers, user applications shouldn't * use them. - * */ #include diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index 7317015895..4428428adc 100644 --- a/lib/ethdev/rte_ethdev.c +++ b/lib/ethdev/rte_ethdev.c @@ -1109,7 +1109,6 @@ eth_dev_check_lro_pkt_size(uint16_t port_id, uint32_t config_size, * @return * - (0) if validation successful. * - (-EINVAL) if requested offload has been silently disabled. - * */ static int eth_dev_validate_offloads(uint16_t port_id, uint64_t req_offloads, diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 34ca25bbc0..e550f09889 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -6372,7 +6372,6 @@ rte_eth_tx_burst(uint16_t port_id, uint16_t queue_id, * - EINVAL: offload flags are not correctly set * - ENOTSUP: the offload feature is not supported by the hardware * - ENODEV: if *port_id* is invalid (with debug enabled only) - * */ #ifndef RTE_ETHDEV_TX_PREPARE_NOOP diff --git a/lib/ethdev/rte_ethdev_core.h b/lib/ethdev/rte_ethdev_core.h index dcf8adab92..46e9721e07 100644 --- a/lib/ethdev/rte_ethdev_core.h +++ b/lib/ethdev/rte_ethdev_core.h @@ -16,7 +16,6 @@ * public API because they are used by inline functions in the published API. * * Applications should not use these directly. - * */ struct rte_eth_dev_callback; diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index dec454275f..f1d6b4de30 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -1726,7 +1726,6 @@ static const struct rte_flow_item_mark rte_flow_item_mark_mask = { * RTE_FLOW_ITEM_TYPE_NSH * * Match network service header (NSH), RFC 8300 - * */ struct rte_flow_item_nsh { uint32_t version:2; @@ -1758,7 +1757,6 @@ static const struct rte_flow_item_nsh rte_flow_item_nsh_mask = { * RTE_FLOW_ITEM_TYPE_IGMP * * Match Internet Group Management Protocol (IGMP), RFC 2236 - * */ struct rte_flow_item_igmp { uint32_t type:8; @@ -1781,7 +1779,6 @@ static const struct rte_flow_item_igmp rte_flow_item_igmp_mask = { * RTE_FLOW_ITEM_TYPE_AH * * Match IP Authentication Header (AH), RFC 4302 - * */ struct rte_flow_item_ah { uint32_t next_hdr:8; @@ -3028,7 +3025,6 @@ struct rte_flow_action_quota { * Query indirect QUOTA action. * * @see RTE_FLOW_ACTION_TYPE_QUOTA - * */ struct rte_flow_query_quota { int64_t quota; /**< Quota value. */ @@ -3422,7 +3418,6 @@ struct rte_flow_action_of_push_mpls { * - ETH / IPV4 / UDP / VXLAN / END * - ETH / IPV6 / UDP / VXLAN / END * - ETH / VLAN / IPV4 / UDP / VXLAN / END - * */ struct rte_flow_action_vxlan_encap { /** @@ -3456,7 +3451,6 @@ struct rte_flow_action_vxlan_encap { * * - ETH / IPV4 / NVGRE / END * - ETH / VLAN / IPV6 / NVGRE / END - * */ struct rte_flow_action_nvgre_encap { /** @@ -4041,7 +4035,6 @@ struct rte_flow_action_meter_mark { * RTE_FLOW_ACTION_TYPE_METER_MARK * * Wrapper structure for the context update interface. - * */ struct rte_flow_update_meter_mark { /** New meter_mark parameters to be updated. */ @@ -5285,7 +5278,6 @@ rte_flow_flex_item_release(uint16_t port_id, * * Information about flow engine resources. * The zero value means a resource is not supported. - * */ struct rte_flow_port_info { /** @@ -5329,7 +5321,6 @@ struct rte_flow_port_info { * * Information about flow engine asynchronous queues. * The value only valid if @p port_attr.max_nb_queues is not zero. - * */ struct rte_flow_queue_info { /** @@ -5379,7 +5370,6 @@ rte_flow_info_get(uint16_t port_id, * * Flow engine resources settings. * The zero value means on demand resource allocations only. - * */ struct rte_flow_port_attr { /** @@ -5423,7 +5413,6 @@ struct rte_flow_port_attr { * * Flow engine asynchronous queues settings. * The value means default value picked by PMD. - * */ struct rte_flow_queue_attr { /** diff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h index 46c398dd8b..7e6a66b938 100644 --- a/lib/ethdev/rte_mtr.h +++ b/lib/ethdev/rte_mtr.h @@ -223,7 +223,6 @@ struct rte_mtr_meter_policy_params { * applicable for the current input packet wins; * if none is both enabled and applicable, the default input color is used. * @see function rte_mtr_color_in_protocol_set() - * */ enum rte_mtr_color_in_protocol { /** @@ -1043,7 +1042,6 @@ rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id, * Error details. Filled in only on error, when not NULL. * @return * 0 on success, non-zero error code otherwise. - * */ __rte_experimental int diff --git a/lib/ethdev/sff_8636.h b/lib/ethdev/sff_8636.h index 70f70353d0..cf11a2c247 100644 --- a/lib/ethdev/sff_8636.h +++ b/lib/ethdev/sff_8636.h @@ -17,7 +17,6 @@ * * Lower Memory Page 00h * Measurement, Diagnostic and Control Functions - * */ /* Identifier - 0 */ /* Values are defined under SFF_8024_ID_OFFSET */ @@ -221,7 +220,6 @@ * * Upper Memory Page 00h * Serial ID - Base ID, Extended ID and Vendor Specific ID fields - * */ /* Identifier - 128 */ /* Identifier values same as Lower Memory Page 00h */ diff --git a/lib/ethdev/sff_common.h b/lib/ethdev/sff_common.h index e44f3c7bf3..2e42cbe8be 100644 --- a/lib/ethdev/sff_common.h +++ b/lib/ethdev/sff_common.h @@ -3,7 +3,6 @@ * * Implements SFF-8024 Rev 4.0 of pluggable I/O configuration and some * common utilities for SFF-8436/8636 and SFF-8472/8079 - * */ #ifndef _SFF_COMMON_H_ diff --git a/lib/eventdev/event_timer_adapter_pmd.h b/lib/eventdev/event_timer_adapter_pmd.h index c7d4a4f0f6..8f3e6c4851 100644 --- a/lib/eventdev/event_timer_adapter_pmd.h +++ b/lib/eventdev/event_timer_adapter_pmd.h @@ -14,7 +14,6 @@ * This file provides implementation helpers for internal use by PMDs. They * are not intended to be exposed to applications and are not subject to ABI * versioning. - * */ #ifdef __cplusplus diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h index aebab26852..c68c3a2262 100644 --- a/lib/eventdev/eventdev_pmd.h +++ b/lib/eventdev/eventdev_pmd.h @@ -310,7 +310,6 @@ typedef int (*eventdev_close_t)(struct rte_eventdev *dev); * Event queue index * @param[out] queue_conf * Event queue configuration structure - * */ typedef void (*eventdev_queue_default_conf_get_t)(struct rte_eventdev *dev, uint8_t queue_id, struct rte_event_queue_conf *queue_conf); @@ -339,7 +338,6 @@ typedef int (*eventdev_queue_setup_t)(struct rte_eventdev *dev, * Event device pointer * @param queue_id * Event queue index - * */ typedef void (*eventdev_queue_release_t)(struct rte_eventdev *dev, uint8_t queue_id); @@ -373,7 +371,6 @@ typedef int (*eventdev_queue_attr_set_t)(struct rte_eventdev *dev, * Event port index * @param[out] port_conf * Event port configuration structure - * */ typedef void (*eventdev_port_default_conf_get_t)(struct rte_eventdev *dev, uint8_t port_id, struct rte_event_port_conf *port_conf); @@ -400,7 +397,6 @@ typedef int (*eventdev_port_setup_t)(struct rte_eventdev *dev, * * @param port * Event port pointer - * */ typedef void (*eventdev_port_release_t)(void *port); @@ -415,7 +411,6 @@ typedef void (*eventdev_port_release_t)(void *port); * User-provided event flush function. * @param args * Arguments to be passed to the user-provided event flush function. - * */ typedef void (*eventdev_port_quiesce_t)(struct rte_eventdev *dev, void *port, rte_eventdev_port_flush_t flush_cb, @@ -439,7 +434,6 @@ typedef void (*eventdev_port_quiesce_t)(struct rte_eventdev *dev, void *port, * * @return * Returns 0 on success. - * */ typedef int (*eventdev_port_link_t)(struct rte_eventdev *dev, void *port, const uint8_t queues[], const uint8_t priorities[], @@ -459,7 +453,6 @@ typedef int (*eventdev_port_link_t)(struct rte_eventdev *dev, void *port, * * @return * Returns 0 on success. - * */ typedef int (*eventdev_port_unlink_t)(struct rte_eventdev *dev, void *port, uint8_t queues[], uint16_t nb_unlinks); @@ -493,7 +486,6 @@ typedef int (*eventdev_port_unlinks_in_progress_t)(struct rte_eventdev *dev, * * @return * Returns 0 on success. - * */ typedef int (*eventdev_dequeue_timeout_ticks_t)(struct rte_eventdev *dev, uint64_t ns, uint64_t *timeout_ticks); @@ -505,7 +497,6 @@ typedef int (*eventdev_dequeue_timeout_ticks_t)(struct rte_eventdev *dev, * Event device pointer * @param f * A pointer to a file for output - * */ typedef void (*eventdev_dump_t)(struct rte_eventdev *dev, FILE *f); @@ -602,7 +593,6 @@ typedef uint64_t (*eventdev_xstats_get_by_name)(const struct rte_eventdev *dev, * - 0: Success, driver provides Rx event adapter capabilities for the * ethernet device. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_eth_rx_adapter_caps_get_t) (const struct rte_eventdev *dev, @@ -634,7 +624,6 @@ struct rte_event_eth_rx_adapter_queue_conf; * - 0: Success, driver provides Rx event adapter capabilities for the * ethernet device. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_timer_adapter_caps_get_t)( const struct rte_eventdev *dev, uint64_t flags, uint32_t *caps, @@ -660,7 +649,6 @@ typedef int (*eventdev_timer_adapter_caps_get_t)( * @return * - 0: Success, ethernet receive queue added successfully. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_eth_rx_adapter_queue_add_t)( const struct rte_eventdev *dev, @@ -685,7 +673,6 @@ typedef int (*eventdev_eth_rx_adapter_queue_add_t)( * @return * - 0: Success, ethernet receive queue deleted successfully. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_eth_rx_adapter_queue_del_t) (const struct rte_eventdev *dev, @@ -932,7 +919,6 @@ struct rte_event_crypto_adapter_queue_conf; * - 0: Success, driver provides event adapter capabilities for the * cryptodev. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_crypto_adapter_caps_get_t) (const struct rte_eventdev *dev, @@ -963,7 +949,6 @@ typedef int (*eventdev_crypto_adapter_caps_get_t) * @return * - 0: Success, cryptodev queue pair added successfully. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_crypto_adapter_queue_pair_add_t)( const struct rte_eventdev *dev, @@ -991,7 +976,6 @@ typedef int (*eventdev_crypto_adapter_queue_pair_add_t)( * @return * - 0: Success, cryptodev queue pair deleted successfully. * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_crypto_adapter_queue_pair_del_t) (const struct rte_eventdev *dev, @@ -1114,7 +1098,6 @@ typedef int (*eventdev_crypto_adapter_vector_limits_get_t)( * @return * - 0: Success, driver provides eth Tx adapter capabilities * - <0: Error code returned by the driver function. - * */ typedef int (*eventdev_eth_tx_adapter_caps_get_t) (const struct rte_eventdev *dev, diff --git a/lib/eventdev/rte_event_timer_adapter.h b/lib/eventdev/rte_event_timer_adapter.h index 9a771ac679..9ac35b7d5a 100644 --- a/lib/eventdev/rte_event_timer_adapter.h +++ b/lib/eventdev/rte_event_timer_adapter.h @@ -310,7 +310,6 @@ struct rte_event_timer_adapter_info { * * @see RTE_EVENT_TIMER_ADAPTER_F_ADJUST_RES, * struct rte_event_timer_adapter_info - * */ int rte_event_timer_adapter_get_info( @@ -596,7 +595,6 @@ struct rte_event_timer_adapter { * - EALREADY A timer was encountered that was already armed * * @see RTE_EVENT_TIMER_ADAPTER_F_PERIODIC - * */ static inline uint16_t rte_event_timer_arm_burst(const struct rte_event_timer_adapter *adapter, diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h index a90e23ac8b..b6a4fa1495 100644 --- a/lib/eventdev/rte_eventdev.h +++ b/lib/eventdev/rte_eventdev.h @@ -203,7 +203,6 @@ * rte_event_enqueue_burst(...); * } * \endcode - * */ #ifdef __cplusplus @@ -462,7 +461,6 @@ struct rte_event_dev_info { * @return * - 0: Success, driver updates the contextual information of the event device * - <0: Error code returned by the driver info get function. - * */ int rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info); @@ -679,7 +677,6 @@ struct rte_event_queue_conf { * - <0: Error code returned by the driver info get function. * * @see rte_event_queue_setup() - * */ int rte_event_queue_default_conf_get(uint8_t dev_id, uint8_t queue_id, @@ -881,7 +878,6 @@ struct rte_event_port_conf { * - <0: Error code returned by the driver info get function. * * @see rte_event_port_setup() - * */ int rte_event_port_default_conf_get(uint8_t dev_id, uint8_t port_id, @@ -1271,7 +1267,6 @@ struct rte_event_vector { * * This operation must only be enqueued to the same port that the * event to be released was dequeued from. - * */ /** @@ -1388,7 +1383,6 @@ struct rte_event { * - 0: Success, driver provides Rx event adapter capabilities for the * ethernet device. * - <0: Error code returned by the driver function. - * */ int rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id, @@ -1464,7 +1458,6 @@ rte_event_timer_adapter_caps_get(uint8_t dev_id, uint32_t *caps); * - 0: Success, driver provides event adapter capabilities for the * cryptodev device. * - <0: Error code returned by the driver function. - * */ int rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id, @@ -1494,7 +1487,6 @@ rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id, * @return * - 0: Success, driver provides eth Tx adapter capabilities. * - <0: Error code returned by the driver function. - * */ int rte_event_eth_tx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id, @@ -1523,7 +1515,6 @@ rte_event_eth_tx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id, * * @see rte_event_dequeue_burst(), RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT * @see rte_event_dev_configure() - * */ int rte_event_dequeue_timeout_ticks(uint8_t dev_id, uint64_t ns, @@ -1587,7 +1578,6 @@ rte_event_dequeue_timeout_ticks(uint8_t dev_id, uint64_t ns, * (EDQUOT) Quota exceeded(Application tried to link the queue configured with * RTE_EVENT_QUEUE_CFG_SINGLE_LINK to more than one event ports) * (EINVAL) Invalid parameter - * */ int rte_event_port_link(uint8_t dev_id, uint8_t port_id, @@ -1686,7 +1676,6 @@ rte_event_port_unlinks_in_progress(uint8_t dev_id, uint8_t port_id); * The number of links established on the event port designated by its * *port_id*. * - <0 on failure. - * */ int rte_event_port_links_get(uint8_t dev_id, uint8_t port_id, diff --git a/lib/graph/rte_graph.h b/lib/graph/rte_graph.h index c9a77297fc..c30de0c5bb 100644 --- a/lib/graph/rte_graph.h +++ b/lib/graph/rte_graph.h @@ -20,7 +20,6 @@ * dump and destroy on graph and node operations such as clone, * edge update, and edge shrink, etc. The API also allows to create the stats * cluster to monitor per graph and per node stats. - * */ #include @@ -95,7 +94,6 @@ struct rte_graph_cluster_node_stats; /**< Node stats within cluster of graphs */ * Number of objects processed. * * @see rte_graph_walk() - * */ typedef uint16_t (*rte_node_process_t)(struct rte_graph *graph, struct rte_node *node, void **objs, diff --git a/lib/hash/rte_hash.h b/lib/hash/rte_hash.h index a399346d02..7ecc021111 100644 --- a/lib/hash/rte_hash.h +++ b/lib/hash/rte_hash.h @@ -176,7 +176,6 @@ rte_hash_find_existing(const char *name); * * @param h * Hash table to free, if NULL, the function does nothing. - * */ void rte_hash_free(struct rte_hash *h); diff --git a/lib/hash/rte_hash_crc.h b/lib/hash/rte_hash_crc.h index 0249ad16c5..60bf42ce1d 100644 --- a/lib/hash/rte_hash_crc.h +++ b/lib/hash/rte_hash_crc.h @@ -51,7 +51,6 @@ static uint8_t crc32_alg = CRC32_SW; * - (CRC32_SSE42) Use SSE4.2 intrinsics if available * - (CRC32_SSE42_x64) Use 64-bit SSE4.2 intrinsic if available (default x86) * - (CRC32_ARM64) Use ARMv8 CRC intrinsic if available (default ARMv8) - * */ static inline void rte_hash_crc_set_alg(uint8_t alg) diff --git a/lib/ip_frag/rte_ipv6_fragmentation.c b/lib/ip_frag/rte_ipv6_fragmentation.c index 2e692418b5..56696f32f8 100644 --- a/lib/ip_frag/rte_ipv6_fragmentation.c +++ b/lib/ip_frag/rte_ipv6_fragmentation.c @@ -14,7 +14,6 @@ * RTE IPv6 Fragmentation * * Implementation of IPv6 fragmentation. - * */ static inline void diff --git a/lib/ip_frag/rte_ipv6_reassembly.c b/lib/ip_frag/rte_ipv6_reassembly.c index d4019e87e6..88863a98d1 100644 --- a/lib/ip_frag/rte_ipv6_reassembly.c +++ b/lib/ip_frag/rte_ipv6_reassembly.c @@ -13,7 +13,6 @@ * IPv6 reassemble * * Implementation of IPv6 reassembly. - * */ static inline void diff --git a/lib/ipsec/ipsec_telemetry.c b/lib/ipsec/ipsec_telemetry.c index 90d4b67156..68a91108dd 100644 --- a/lib/ipsec/ipsec_telemetry.c +++ b/lib/ipsec/ipsec_telemetry.c @@ -41,7 +41,6 @@ handle_telemetry_cmd_ipsec_sa_list(const char *cmd __rte_unused, * "SA_SPI_XX": {"count": 0, "bytes": 0, "errors": 0}, * "SA_SPI_YY": {"count": 0, "bytes": 0, "errors": 0} * } - * */ static int handle_telemetry_cmd_ipsec_sa_stats(const char *cmd __rte_unused, diff --git a/lib/member/rte_member.h b/lib/member/rte_member.h index 072a253c89..237d403714 100644 --- a/lib/member/rte_member.h +++ b/lib/member/rte_member.h @@ -213,7 +213,6 @@ struct rte_member_setsum { * Parameters used when create the set summary table. Currently user can * specify two types of setsummary: HT based and vBF. For HT based, user can * specify cache or non-cache mode. Here is a table to describe some differences - * */ struct rte_member_parameters { const char *name; /**< Name of the hash. */ diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c index cf5dea2304..4d337fca8d 100644 --- a/lib/mempool/rte_mempool.c +++ b/lib/mempool/rte_mempool.c @@ -55,7 +55,6 @@ mempool_event_callback_invoke(enum rte_mempool_event event, #if defined(RTE_ARCH_X86) /* * return the greatest common divisor between a and b (fast algorithm) - * */ static unsigned get_gcd(unsigned a, unsigned b) { diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index e53f9e7abd..160975a7e7 100644 --- a/lib/mempool/rte_mempool.h +++ b/lib/mempool/rte_mempool.h @@ -1867,7 +1867,6 @@ void rte_mempool_list_dump(FILE *f); * NULL on error * with rte_errno set appropriately. Possible rte_errno values include: * - ENOENT - required entry not available to return. - * */ struct rte_mempool *rte_mempool_lookup(const char *name); diff --git a/lib/meter/rte_meter.h b/lib/meter/rte_meter.h index 0932645d0a..d2c91b3a40 100644 --- a/lib/meter/rte_meter.h +++ b/lib/meter/rte_meter.h @@ -18,7 +18,6 @@ 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 @@ -26,7 +25,6 @@ extern "C" { /* * Application Programmer's Interface (API) - * ***/ /** @@ -328,7 +326,6 @@ rte_meter_trtcm_rfc4115_color_aware_check( /* * Inline implementation of run-time methods - * ***/ struct rte_meter_srtcm_profile { diff --git a/lib/mldev/mldev_utils.h b/lib/mldev/mldev_utils.h index 7d798a92a5..5bc8020453 100644 --- a/lib/mldev/mldev_utils.h +++ b/lib/mldev/mldev_utils.h @@ -15,7 +15,6 @@ extern "C" { * ML Device PMD utility API * * These APIs for the use from ML drivers, user applications shouldn't use them. - * */ #include diff --git a/lib/node/rte_node_eth_api.h b/lib/node/rte_node_eth_api.h index 1e7477349c..40b2021f01 100644 --- a/lib/node/rte_node_eth_api.h +++ b/lib/node/rte_node_eth_api.h @@ -14,7 +14,6 @@ * * This API allows to setup ethdev_rx and ethdev_tx nodes * and its queue associations. - * */ #ifdef __cplusplus diff --git a/lib/node/rte_node_ip4_api.h b/lib/node/rte_node_ip4_api.h index 46d0d8976b..3397da0ae8 100644 --- a/lib/node/rte_node_ip4_api.h +++ b/lib/node/rte_node_ip4_api.h @@ -14,7 +14,6 @@ * * This API allows to do control path functions of ip4_* nodes * like ip4_lookup, ip4_rewrite. - * */ #ifdef __cplusplus extern "C" { diff --git a/lib/node/rte_node_ip6_api.h b/lib/node/rte_node_ip6_api.h index 1459ccef47..f3b5a1002a 100644 --- a/lib/node/rte_node_ip6_api.h +++ b/lib/node/rte_node_ip6_api.h @@ -14,7 +14,6 @@ * * This API allows to do control path functions of ip6_* nodes * like ip6_lookup, ip6_rewrite. - * */ #ifdef __cplusplus extern "C" { diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h index 4afdec22ef..d93cc9f73a 100644 --- a/lib/pcapng/rte_pcapng.h +++ b/lib/pcapng/rte_pcapng.h @@ -131,7 +131,6 @@ enum rte_pcapng_direction { * @return * - The pointer to the new mbuf formatted for pcapng_write * - NULL if allocation fails. - * */ __rte_experimental struct rte_mbuf * diff --git a/lib/pdcp/rte_pdcp_group.h b/lib/pdcp/rte_pdcp_group.h index 2ac2af9b36..f6a94ff587 100644 --- a/lib/pdcp/rte_pdcp_group.h +++ b/lib/pdcp/rte_pdcp_group.h @@ -78,7 +78,6 @@ rte_pdcp_en_from_cop(const struct rte_crypto_op *cop) * The maximum number of crypto-ops to process. * @return * Number of filled elements in *grp* array. - * */ static inline uint16_t rte_pdcp_pkt_crypto_group(struct rte_crypto_op *cop[], struct rte_mbuf *mb[], diff --git a/lib/pipeline/rte_pipeline.c b/lib/pipeline/rte_pipeline.c index ff86c7cf96..1fa9f9c47e 100644 --- a/lib/pipeline/rte_pipeline.c +++ b/lib/pipeline/rte_pipeline.c @@ -155,7 +155,6 @@ rte_pipeline_port_out_free(struct rte_port_out *port); /* * Pipeline - * */ static int rte_pipeline_check_params(struct rte_pipeline_params *params) @@ -267,7 +266,6 @@ rte_pipeline_free(struct rte_pipeline *p) /* * Table - * */ static int rte_table_check_params(struct rte_pipeline *p, @@ -682,7 +680,6 @@ int rte_pipeline_table_entry_delete_bulk(struct rte_pipeline *p, /* * Port - * */ static int rte_pipeline_port_in_check_params(struct rte_pipeline *p, @@ -1030,7 +1027,6 @@ rte_pipeline_port_in_disable(struct rte_pipeline *p, uint32_t port_id) /* * Pipeline run-time - * */ int rte_pipeline_check(struct rte_pipeline *p) diff --git a/lib/pipeline/rte_pipeline.h b/lib/pipeline/rte_pipeline.h index 3cfb6868f7..267dbcfa2c 100644 --- a/lib/pipeline/rte_pipeline.h +++ b/lib/pipeline/rte_pipeline.h @@ -51,7 +51,6 @@ 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 @@ -64,7 +63,6 @@ struct rte_mbuf; /* * Pipeline - * */ /** Opaque data type for pipeline */ struct rte_pipeline; @@ -175,7 +173,6 @@ int rte_pipeline_flush(struct rte_pipeline *p); /* * Actions - * */ /** Reserved actions */ enum rte_pipeline_action { @@ -197,7 +194,6 @@ enum rte_pipeline_action { /* * Table - * */ /** Maximum number of tables allowed for any given pipeline instance. The value of this parameter cannot be changed. */ @@ -530,7 +526,6 @@ int rte_pipeline_table_stats_read(struct rte_pipeline *p, uint32_t table_id, /* * Port IN - * */ /** Maximum number of input ports allowed for any given pipeline instance. The value of this parameter cannot be changed. */ @@ -662,7 +657,6 @@ int rte_pipeline_port_in_stats_read(struct rte_pipeline *p, uint32_t port_id, /* * Port OUT - * */ /** Maximum number of output ports allowed for any given pipeline instance. The value of this parameter cannot be changed. */ @@ -753,7 +747,6 @@ int rte_pipeline_port_out_stats_read(struct rte_pipeline *p, uint32_t port_id, /* * Functions to be called as part of the port IN/OUT or table action handlers - * */ /** * Action handler packet insert to output port diff --git a/lib/pipeline/rte_swx_ipsec.h b/lib/pipeline/rte_swx_ipsec.h index ebfb7ea5ea..a43e341cac 100644 --- a/lib/pipeline/rte_swx_ipsec.h +++ b/lib/pipeline/rte_swx_ipsec.h @@ -87,7 +87,6 @@ struct rte_swx_ipsec_burst_size { /** * IPsec instance configuration parameters - * */ struct rte_swx_ipsec_params { /** Input packet queue. */ @@ -111,7 +110,6 @@ struct rte_swx_ipsec_params { /** * IPsec input packet meta-data - * */ struct rte_swx_ipsec_input_packet_metadata { /* SA ID. */ diff --git a/lib/pipeline/rte_swx_pipeline_spec.c b/lib/pipeline/rte_swx_pipeline_spec.c index 006b24082a..2bba0d0524 100644 --- a/lib/pipeline/rte_swx_pipeline_spec.c +++ b/lib/pipeline/rte_swx_pipeline_spec.c @@ -102,7 +102,6 @@ extobj_statement_parse(struct extobj_spec *s, /* * struct. - * */ static void struct_spec_free(struct struct_spec *s) @@ -279,7 +278,6 @@ struct_block_parse(struct struct_spec *s, /* * header. - * */ static void header_spec_free(struct header_spec *s) @@ -331,7 +329,6 @@ header_statement_parse(struct header_spec *s, /* * metadata. - * */ static void metadata_spec_free(struct metadata_spec *s) @@ -375,7 +372,6 @@ metadata_statement_parse(struct metadata_spec *s, /* * action. - * */ static void action_spec_free(struct action_spec *s) @@ -504,7 +500,6 @@ action_block_parse(struct action_spec *s, /* * table. - * */ static void table_spec_free(struct table_spec *s) @@ -1059,7 +1054,6 @@ table_block_parse(struct table_spec *s, /* * selector. - * */ static void selector_spec_free(struct selector_spec *s) @@ -1345,7 +1339,6 @@ selector_block_parse(struct selector_spec *s, /* * learner. - * */ static void learner_spec_free(struct learner_spec *s) @@ -1927,7 +1920,6 @@ learner_block_parse(struct learner_spec *s, /* * regarray. - * */ static void regarray_spec_free(struct regarray_spec *s) @@ -1995,7 +1987,6 @@ regarray_statement_parse(struct regarray_spec *s, /* * metarray. - * */ static void metarray_spec_free(struct metarray_spec *s) @@ -2052,7 +2043,6 @@ metarray_statement_parse(struct metarray_spec *s, /* * * rss - * */ static void @@ -2097,7 +2087,6 @@ rss_statement_parse(struct rss_spec *s, /* * apply. - * */ static void apply_spec_free(struct apply_spec *s) diff --git a/lib/port/rte_port.h b/lib/port/rte_port.h index 6b6a2cdd17..f001ffbacf 100644 --- a/lib/port/rte_port.h +++ b/lib/port/rte_port.h @@ -15,7 +15,6 @@ 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 @@ -46,7 +45,6 @@ extern "C" { /* * Port IN - * */ /** Maximum number of packets read from any input port in a single burst. Cannot be changed. */ @@ -125,7 +123,6 @@ struct rte_port_in_ops { /* * Port OUT - * */ /** Output port statistics */ struct rte_port_out_stats { diff --git a/lib/port/rte_port_ethdev.h b/lib/port/rte_port_ethdev.h index 7f28d512f1..b607365c98 100644 --- a/lib/port/rte_port_ethdev.h +++ b/lib/port/rte_port_ethdev.h @@ -15,7 +15,6 @@ 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 966e9cdafb..bf3f8254af 100644 --- a/lib/port/rte_port_eventdev.h +++ b/lib/port/rte_port_eventdev.h @@ -17,7 +17,6 @@ extern "C" { * interface * eventdev_writer: output port built on top of pre-initialized eventdev * interface - * **/ #include diff --git a/lib/port/rte_port_fd.h b/lib/port/rte_port_fd.h index c8cfd9765a..810b0e9cc0 100644 --- a/lib/port/rte_port_fd.h +++ b/lib/port/rte_port_fd.h @@ -15,7 +15,6 @@ 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 07060297f6..69fdc000f1 100644 --- a/lib/port/rte_port_frag.h +++ b/lib/port/rte_port_frag.h @@ -24,7 +24,6 @@ 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 35c6253806..54227251f6 100644 --- a/lib/port/rte_port_kni.h +++ b/lib/port/rte_port_kni.h @@ -16,7 +16,6 @@ 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 diff --git a/lib/port/rte_port_ras.h b/lib/port/rte_port_ras.h index ee1d8ae21e..8fd8ae8444 100644 --- a/lib/port/rte_port_ras.h +++ b/lib/port/rte_port_ras.h @@ -25,7 +25,6 @@ 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 diff --git a/lib/port/rte_port_ring.h b/lib/port/rte_port_ring.h index ba609b3436..9532ac1d22 100644 --- a/lib/port/rte_port_ring.h +++ b/lib/port/rte_port_ring.h @@ -21,7 +21,6 @@ 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 diff --git a/lib/port/rte_port_sched.h b/lib/port/rte_port_sched.h index 953451463f..5f46297a60 100644 --- a/lib/port/rte_port_sched.h +++ b/lib/port/rte_port_sched.h @@ -15,7 +15,6 @@ 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 16b8318e52..c2ddb297f4 100644 --- a/lib/port/rte_port_source_sink.h +++ b/lib/port/rte_port_source_sink.h @@ -15,7 +15,6 @@ 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 181f6ce01d..4cf8566633 100644 --- a/lib/port/rte_port_sym_crypto.h +++ b/lib/port/rte_port_sym_crypto.h @@ -15,7 +15,6 @@ 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 c1a9200a4f..2dd1480a42 100644 --- a/lib/port/rte_swx_port_fd.h +++ b/lib/port/rte_swx_port_fd.h @@ -12,7 +12,6 @@ extern "C" { /** * @file * RTE SWX FD Input and Output Ports - * ***/ #include diff --git a/lib/power/guest_channel.h b/lib/power/guest_channel.h index bdda1367f0..409fa67b74 100644 --- a/lib/power/guest_channel.h +++ b/lib/power/guest_channel.h @@ -39,7 +39,6 @@ int guest_channel_host_connect(const char *path, unsigned int lcore_id); * * @param lcore_id * lcore_id. - * */ void guest_channel_host_disconnect(unsigned int lcore_id); diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index 66080eae9e..36c9c9a9b4 100644 --- a/lib/rawdev/rte_rawdev.h +++ b/lib/rawdev/rte_rawdev.h @@ -90,7 +90,6 @@ struct rte_rawdev_info; * @return * - 0: Success, driver updates the contextual information of the raw device * - <0: Error code returned by the driver info get function. - * */ int rte_rawdev_info_get(uint16_t dev_id, struct rte_rawdev_info *dev_info, @@ -152,7 +151,6 @@ rte_rawdev_configure(uint16_t dev_id, struct rte_rawdev_info *dev_conf, * - <0: Error code returned by the driver info get function. * * @see rte_raw_queue_setup() - * */ int rte_rawdev_queue_conf_get(uint16_t dev_id, diff --git a/lib/rawdev/rte_rawdev_pmd.h b/lib/rawdev/rte_rawdev_pmd.h index a51944c8ff..7b9ef1d09f 100644 --- a/lib/rawdev/rte_rawdev_pmd.h +++ b/lib/rawdev/rte_rawdev_pmd.h @@ -254,7 +254,6 @@ typedef int (*rawdev_queue_setup_t)(struct rte_rawdev *dev, * Raw device pointer * @param queue_id * Raw queue index - * */ typedef int (*rawdev_queue_release_t)(struct rte_rawdev *dev, uint16_t queue_id); @@ -273,7 +272,6 @@ typedef int (*rawdev_queue_release_t)(struct rte_rawdev *dev, * Raw device pointer * @return * Number of queues; 0 is assumed to be a valid response. - * */ typedef uint16_t (*rawdev_queue_count_t)(struct rte_rawdev *dev); @@ -339,7 +337,6 @@ typedef int (*rawdev_dequeue_bufs_t)(struct rte_rawdev *dev, * @return * 0 for success, * !0 Error - * */ typedef int (*rawdev_dump_t)(struct rte_rawdev *dev, FILE *f); diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 1aa078e2c2..87e1b55153 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -226,7 +226,6 @@ rte_rcu_qsbr_get_memsize(uint32_t max_threads); * On error - 1 with error code set in rte_errno. * Possible rte_errno codes are: * - EINVAL - max_threads is 0 or 'v' is NULL. - * */ int rte_rcu_qsbr_init(struct rte_rcu_qsbr *v, uint32_t max_threads); diff --git a/lib/regexdev/rte_regexdev_core.h b/lib/regexdev/rte_regexdev_core.h index a5576d353f..15ba712b86 100644 --- a/lib/regexdev/rte_regexdev_core.h +++ b/lib/regexdev/rte_regexdev_core.h @@ -14,7 +14,6 @@ * in order to expose their ops to the class. * * Applications should not use these API directly. - * */ struct rte_regexdev; diff --git a/lib/reorder/rte_reorder.h b/lib/reorder/rte_reorder.h index 06a8d56e3f..56a6507f9f 100644 --- a/lib/reorder/rte_reorder.h +++ b/lib/reorder/rte_reorder.h @@ -12,7 +12,6 @@ * Reorder library is a component which is designed to * provide ordering of out of ordered packets based on * sequence number present in mbuf. - * */ #include diff --git a/lib/ring/rte_ring.h b/lib/ring/rte_ring.h index 7e4cd60650..c709f30497 100644 --- a/lib/ring/rte_ring.h +++ b/lib/ring/rte_ring.h @@ -32,7 +32,6 @@ * Note: the ring implementation is not preemptible. Refer to Programmer's * guide/Environment Abstraction Layer/Multiple pthread/Known Issues/rte_ring * for more information. - * */ #ifdef __cplusplus diff --git a/lib/sched/rte_approx.h b/lib/sched/rte_approx.h index 74d55f457b..0200fa1521 100644 --- a/lib/sched/rte_approx.h +++ b/lib/sched/rte_approx.h @@ -16,7 +16,6 @@ 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 2236b98a71..cb52fd933e 100644 --- a/lib/sched/rte_pie.h +++ b/lib/sched/rte_pie.h @@ -32,7 +32,6 @@ extern "C" { /** * PIE configuration parameters passed by user - * */ struct rte_pie_params { uint16_t qdelay_ref; /**< Latency Target (milliseconds) */ @@ -43,7 +42,6 @@ struct rte_pie_params { /** * PIE configuration parameters - * */ struct rte_pie_config { uint64_t qdelay_ref; /**< Latency Target (in CPU cycles.) */ diff --git a/lib/sched/rte_red.h b/lib/sched/rte_red.h index 80b43b6da0..13a9ad24a8 100644 --- a/lib/sched/rte_red.h +++ b/lib/sched/rte_red.h @@ -12,8 +12,6 @@ extern "C" { /** * @file * RTE Random Early Detection (RED) - * - * ***/ #include @@ -35,7 +33,6 @@ extern "C" { /** * Externs - * */ extern uint32_t rte_red_rand_val; extern uint32_t rte_red_rand_seed; @@ -44,7 +41,6 @@ extern uint16_t rte_red_pow2_frac_inv[16]; /** * RED configuration parameters passed by user - * */ struct rte_red_params { uint16_t min_th; /**< Minimum threshold for queue (max_th) */ diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index 19768d8c38..e7787344b3 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -2043,7 +2043,6 @@ rte_sched_port_enqueue_qwa(struct rte_sched_port *port, * | 0 | | 1 | | 2 | | 3 | * ----->|_______|----->|_______|----->|_______|----->|_______|-----> * p01 p11 p21 p31 - * */ int rte_sched_port_enqueue(struct rte_sched_port *port, struct rte_mbuf **pkts, diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h index a33292b066..c7081ceeef 100644 --- a/lib/sched/rte_sched.h +++ b/lib/sched/rte_sched.h @@ -53,7 +53,6 @@ extern "C" { * the same user; * - Weighted Round Robin (WRR) is used to service the * queues within same pipe lowest priority traffic class (best-effort). - * */ #include @@ -310,7 +309,6 @@ struct rte_sched_port_params { /* * Configuration - * ***/ /** @@ -436,7 +434,6 @@ rte_sched_port_get_memory_footprint(struct rte_sched_port_params *port_params, struct rte_sched_subport_params **subport_params); /* * Statistics - * ***/ /** diff --git a/lib/sched/rte_sched_common.h b/lib/sched/rte_sched_common.h index e4cbbd9077..419700b1a5 100644 --- a/lib/sched/rte_sched_common.h +++ b/lib/sched/rte_sched_common.h @@ -49,7 +49,6 @@ rte_min_pos_4_u16(uint16_t *x) * This implementation uses Euclid's algorithm: * gcd(a, 0) = a * gcd(a, b) = gcd(b, a mod b) - * */ static inline uint64_t rte_get_gcd64(uint64_t a, uint64_t b) @@ -89,7 +88,6 @@ rte_get_gcd(uint32_t a, uint32_t b) * Compute the Lowest Common Denominator (LCD) of two numbers. * This implementation computes GCD first: * LCD(a, b) = (a * b) / GCD(a, b) - * */ static inline uint32_t rte_get_lcd(uint32_t a, uint32_t b) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 30bac4e25a..daef846d40 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -10,7 +10,6 @@ * @file rte_security.h * * RTE Security Common Definitions - * */ #ifdef __cplusplus diff --git a/lib/security/rte_security_driver.h b/lib/security/rte_security_driver.h index 677c7d1f91..31444a05d3 100644 --- a/lib/security/rte_security_driver.h +++ b/lib/security/rte_security_driver.h @@ -10,7 +10,6 @@ * @file rte_security_driver.h * * RTE Security Common Definitions - * */ #ifdef __cplusplus diff --git a/lib/table/rte_swx_table_em.c b/lib/table/rte_swx_table_em.c index 2b5201e006..84837c8be4 100644 --- a/lib/table/rte_swx_table_em.c +++ b/lib/table/rte_swx_table_em.c @@ -489,7 +489,6 @@ table_mailbox_size_get(void) * match = 1111_1111_1111_1110 = 0xFFFE * match_many = 1111_1110_1110_1000 = 0xFEE8 * match_pos = 0001_0010_0001_0011__0001_0010_0001_0000 = 0x12131210 - * */ #define LUT_MATCH 0xFFFE diff --git a/lib/table/rte_table.h b/lib/table/rte_table.h index 096ab8a7c8..3f592d1aa2 100644 --- a/lib/table/rte_table.h +++ b/lib/table/rte_table.h @@ -22,7 +22,6 @@ 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 diff --git a/lib/table/rte_table_acl.h b/lib/table/rte_table_acl.h index 516819213c..673725f82e 100644 --- a/lib/table/rte_table_acl.h +++ b/lib/table/rte_table_acl.h @@ -17,7 +17,6 @@ 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 b16c5dfe5b..ac3ca59c75 100644 --- a/lib/table/rte_table_array.h +++ b/lib/table/rte_table_array.h @@ -14,7 +14,6 @@ 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 61a0eed6c5..5d1a0e2bea 100644 --- a/lib/table/rte_table_hash.h +++ b/lib/table/rte_table_hash.h @@ -46,7 +46,6 @@ extern "C" { * 2. Key size: * a. Configurable key size * b. Single key size (8-byte, 16-byte or 32-byte key size) - * ***/ #include diff --git a/lib/table/rte_table_hash_cuckoo.h b/lib/table/rte_table_hash_cuckoo.h index d9d4312190..cb5a771c8b 100644 --- a/lib/table/rte_table_hash_cuckoo.h +++ b/lib/table/rte_table_hash_cuckoo.h @@ -12,7 +12,6 @@ extern "C" { /** * @file * RTE Table Hash Cuckoo - * ***/ #include diff --git a/lib/table/rte_table_hash_ext.c b/lib/table/rte_table_hash_ext.c index 70ea84fa2e..bd97dc5eba 100644 --- a/lib/table/rte_table_hash_ext.c +++ b/lib/table/rte_table_hash_ext.c @@ -552,7 +552,6 @@ static int rte_table_hash_ext_lookup_unoptimized( * match = 0xFFFELLU * match_many = 0xFEE8LLU * match_pos = 0x12131210LLU - * ***/ #define LUT_MATCH 0xFFFELLU @@ -844,7 +843,6 @@ 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, diff --git a/lib/table/rte_table_hash_lru.c b/lib/table/rte_table_hash_lru.c index c31acc11cf..354cd5aee4 100644 --- a/lib/table/rte_table_hash_lru.c +++ b/lib/table/rte_table_hash_lru.c @@ -489,7 +489,6 @@ static int rte_table_hash_lru_lookup_unoptimized( * match = 0xFFFELLU * match_many = 0xFEE8LLU * match_pos = 0x12131210LLU -* ***/ #define LUT_MATCH 0xFFFELLU @@ -796,7 +795,6 @@ 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, diff --git a/lib/table/rte_table_lpm.h b/lib/table/rte_table_lpm.h index 571ff2f009..135f07384c 100644 --- a/lib/table/rte_table_lpm.h +++ b/lib/table/rte_table_lpm.h @@ -39,7 +39,6 @@ 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 eadc316ee1..a6cea2c707 100644 --- a/lib/table/rte_table_lpm_ipv6.h +++ b/lib/table/rte_table_lpm_ipv6.h @@ -39,7 +39,6 @@ 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 9086e4edcc..b4aa0a16a2 100644 --- a/lib/table/rte_table_stub.h +++ b/lib/table/rte_table_stub.h @@ -14,7 +14,6 @@ extern "C" { * RTE Table Stub * * The stub table lookup operation produces lookup miss for all input packets. - * ***/ diff --git a/lib/telemetry/telemetry_internal.h b/lib/telemetry/telemetry_internal.h index d085c492dc..37d79bcb24 100644 --- a/lib/telemetry/telemetry_internal.h +++ b/lib/telemetry/telemetry_internal.h @@ -14,7 +14,6 @@ * * @file * RTE Telemetry Legacy and internal definitions - * ***/ /** diff --git a/lib/telemetry/telemetry_json.h b/lib/telemetry/telemetry_json.h index 7a246deacb..31a3d56756 100644 --- a/lib/telemetry/telemetry_json.h +++ b/lib/telemetry/telemetry_json.h @@ -18,7 +18,6 @@ * * This file contains small inline functions to make it easier for applications * to build up valid JSON responses to telemetry requests. - * ***/ /** -- 2.40.1