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 DA80E42485 for ; Wed, 25 Jan 2023 12:33:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D621342D3E; Wed, 25 Jan 2023 12:33:07 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 57E4C42D31 for ; Wed, 25 Jan 2023 12:33:06 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 490E1123D80; Wed, 25 Jan 2023 12:33:06 +0100 (CET) Subject: |WARNING| pw122520 [PATCH v3 4/4] event/cnxk: restructure for cn10k datapath In-Reply-To: <20230125113126.2860273-4-rbhansali@marvell.com> References: <20230125113126.2860273-4-rbhansali@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Rahul Bhansali Message-Id: <20230125113306.490E1123D80@dpdk.org> Date: Wed, 25 Jan 2023 12:33:06 +0100 (CET) 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/122520 _coding style issues_ WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #592: FILE: drivers/event/cnxk/cn10k_tx_worker.h:221: +#define T(name, sz, flags) \ + uint16_t __rte_hot cn10k_sso_hws_tx_adptr_enq_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events); \ + uint16_t __rte_hot cn10k_sso_hws_tx_adptr_enq_seg_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events); WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #601: FILE: drivers/event/cnxk/cn10k_tx_worker.h:230: +#define SSO_TX(fn, sz, flags) \ + uint16_t __rte_hot fn(void *port, struct rte_event ev[], \ + uint16_t nb_events) \ + { \ + struct cn10k_sso_hws *ws = port; \ + uint64_t cmd[sz]; \ + RTE_SET_USED(nb_events); \ + return cn10k_sso_hws_event_tx( \ + ws, &ev[0], cmd, (const uint64_t *)ws->tx_adptr_data, \ + flags); \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #613: FILE: drivers/event/cnxk/cn10k_tx_worker.h:242: +#define SSO_TX_SEG(fn, sz, flags) \ + uint16_t __rte_hot fn(void *port, struct rte_event ev[], \ + uint16_t nb_events) \ + { \ + uint64_t cmd[(sz) + CNXK_NIX_TX_MSEG_SG_DWORDS - 2]; \ + struct cn10k_sso_hws *ws = port; \ + RTE_SET_USED(nb_events); \ + return cn10k_sso_hws_event_tx( \ + ws, &ev[0], cmd, (const uint64_t *)ws->tx_adptr_data, \ + (flags) | NIX_TX_MULTI_SEG_F); \ + } total: 0 errors, 3 warnings, 2687 lines checked