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 00B17457D8 for ; Fri, 16 Aug 2024 13:59:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F06B04025D; Fri, 16 Aug 2024 13:59:56 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 4E170400EF for ; Fri, 16 Aug 2024 13:59:56 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 32A5F123EF6; Fri, 16 Aug 2024 13:59:56 +0200 (CEST) Subject: |WARNING| pw143196 [RFC] table: report victim replace stats in LRU tables In-Reply-To: <20240816115848.432547-1-vojanec@cesnet.cz> References: <20240816115848.432547-1-vojanec@cesnet.cz> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Kamil Vojanec Message-Id: <20240816115956.32A5F123EF6@dpdk.org> Date: Fri, 16 Aug 2024 13:59:56 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/143196 _coding style issues_ WARNING:TYPO_SPELLING: 'happenning' may be misspelled - perhaps 'happening'? #60: is, however, no information about this happenning in either the return ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #93: FILE: lib/table/rte_table_hash_key16.c:30: +#define RTE_TABLE_HASH_KEY16_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \ + table->stats.n_pkts_insert_victims += val ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #120: FILE: lib/table/rte_table_hash_key32.c:30: +#define RTE_TABLE_HASH_KEY32_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \ + table->stats.n_pkts_insert_victims += val ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #147: FILE: lib/table/rte_table_hash_key8.c:28: +#define RTE_TABLE_HASH_KEY8_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \ + table->stats.n_pkts_insert_victims += val ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #174: FILE: lib/table/rte_table_hash_lru.c:26: +#define RTE_TABLE_HASH_LRU_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \ + table->stats.n_pkts_insert_victims += val total: 4 errors, 1 warnings, 91 lines checked