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 46AB2A034C for ; Wed, 21 Dec 2022 10:17:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42F9D40A7A; Wed, 21 Dec 2022 10:17:55 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BA5CB40698 for ; Wed, 21 Dec 2022 10:17:53 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id ACCE6122EC0; Wed, 21 Dec 2022 10:17:53 +0100 (CET) Subject: |WARNING| pw121199 [PATCH 4/4] event/cnxk: restructure for cn10k datapath In-Reply-To: <20221221091549.967801-4-rbhansali@marvell.com> References: <20221221091549.967801-4-rbhansali@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Rahul Bhansali Message-Id: <20221221091753.ACCE6122EC0@dpdk.org> Date: Wed, 21 Dec 2022 10:17:53 +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/121199 _coding style issues_ WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #585: 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 #594: 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 #606: 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