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 8C33A45B96 for ; Mon, 21 Oct 2024 23:01:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 875B940263; Mon, 21 Oct 2024 23:01:46 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id ADEE14021F for ; Mon, 21 Oct 2024 23:01:27 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id A32C91206AA; Mon, 21 Oct 2024 23:01:27 +0200 (CEST) Subject: |WARNING| pw146474 [PATCH v2 15/21] event/cnxk: support CN20K Rx adapter fast path In-Reply-To: <20241021205745.7310-15-pbhagavatula@marvell.com> References: <20241021205745.7310-15-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20241021210127.A32C91206AA@dpdk.org> Date: Mon, 21 Oct 2024 23:01:27 +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/146474 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #165: FILE: drivers/event/cnxk/cn20k_eventdev.c:14: +#define CN20K_SET_EVDEV_DEQ_OP(dev, deq_op, deq_ops) \ + deq_op = deq_ops[dev->rx_offloads & (NIX_RX_OFFLOAD_MAX - 1)] ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #183: FILE: drivers/event/cnxk/cn20k_eventdev.c:177: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #189: FILE: drivers/event/cnxk/cn20k_eventdev.c:183: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_tmo_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #195: FILE: drivers/event/cnxk/cn20k_eventdev.c:189: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #201: FILE: drivers/event/cnxk/cn20k_eventdev.c:195: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_tmo_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #207: FILE: drivers/event/cnxk/cn20k_eventdev.c:201: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #213: FILE: drivers/event/cnxk/cn20k_eventdev.c:207: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_tmo_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #219: FILE: drivers/event/cnxk/cn20k_eventdev.c:213: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #225: FILE: drivers/event/cnxk/cn20k_eventdev.c:219: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #464: FILE: drivers/event/cnxk/cn20k_worker.h:201: +#define R(name, flags) \ + uint16_t __rte_hot cn20k_sso_hws_deq_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #501: FILE: drivers/event/cnxk/cn20k_worker.h:238: +#define SSO_DEQ(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn20k_sso_hws *ws = port; \ + RTE_SET_USED(timeout_ticks); \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return 1; \ + } \ + return cn20k_sso_hws_get_work(ws, ev, flags); \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #517: FILE: drivers/event/cnxk/cn20k_worker.h:254: +#define SSO_DEQ_TMO(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn20k_sso_hws *ws = port; \ + uint16_t ret = 1; \ + uint64_t iter; \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return ret; \ + } \ + ret = cn20k_sso_hws_get_work(ws, ev, flags); \ + for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ + ret = cn20k_sso_hws_get_work(ws, ev, flags); \ + return ret; \ + } ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #537: FILE: drivers/event/cnxk/cn20k_worker.h:274: +#define R(name, flags) \ + SSO_DEQ(cn20k_sso_hws_deq_##name, flags) \ + SSO_DEQ(cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_SEG(cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_DEQ_SEG(cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO(cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_DEQ_TMO(cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO_SEG(cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_DEQ_TMO_SEG(cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #550: FILE: drivers/event/cnxk/cn20k_worker.h:287: +#define SSO_CMN_DEQ_BURST(fnb, fn, flags) \ + uint16_t __rte_hot fnb(void *port, struct rte_event ev[], uint16_t nb_events, \ + uint64_t timeout_ticks) \ + { \ + RTE_SET_USED(nb_events); \ + return fn(port, ev, timeout_ticks); \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #558: FILE: drivers/event/cnxk/cn20k_worker.h:295: +#define SSO_CMN_DEQ_SEG_BURST(fnb, fn, flags) \ + uint16_t __rte_hot fnb(void *port, struct rte_event ev[], uint16_t nb_events, \ + uint64_t timeout_ticks) \ + { \ + RTE_SET_USED(nb_events); \ + return fn(port, ev, timeout_ticks); \ + } ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #591: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #619: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #647: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #675: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #703: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #731: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #759: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #787: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #815: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F_) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #843: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #871: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #899: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #927: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F_) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #955: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #983: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, \ + flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1012: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1040: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1068: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1096: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1124: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1152: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1180: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1208: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1236: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1264: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1292: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1320: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1348: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1376: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1404: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1432: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1460: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) total: 42 errors, 5 warnings, 1162 lines checked