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 0CFA145954 for ; Tue, 10 Sep 2024 11:35:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A53B427B6; Tue, 10 Sep 2024 11:35:52 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9F669402A1 for ; Tue, 10 Sep 2024 11:35:50 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9AFD9121D10; Tue, 10 Sep 2024 11:35:50 +0200 (CEST) Subject: |WARNING| pw143881 [PATCH 22/33] net/cnxk: support Rx burst vector for cn20k In-Reply-To: <20240910085909.1514457-23-ndabilpuram@marvell.com> References: <20240910085909.1514457-23-ndabilpuram@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20240910093550.9AFD9121D10@dpdk.org> Date: Tue, 10 Sep 2024 11:35:50 +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/143881 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mbuf' - possible side-effects? #122: FILE: drivers/net/cnxk/cn20k_rx.h:447: +#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p) \ + do { \ + *(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf; \ + *(_loff_p) = *(_loff_p) + 1; \ + /* Mark meta mbuf as put */ \ + RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0); \ + } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse '_loff_p' - possible side-effects? #122: FILE: drivers/net/cnxk/cn20k_rx.h:447: +#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p) \ + do { \ + *(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf; \ + *(_loff_p) = *(_loff_p) + 1; \ + /* Mark meta mbuf as put */ \ + RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0); \ + } while (0) CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #222: FILE: drivers/net/cnxk/cn20k_rx.h:547: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #224: FILE: drivers/net/cnxk/cn20k_rx.h:549: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #226: FILE: drivers/net/cnxk/cn20k_rx.h:551: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #228: FILE: drivers/net/cnxk/cn20k_rx.h:553: + rte_prefetch0( total: 0 errors, 0 warnings, 6 checks, 475 lines checked