From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76969A058A for ; Fri, 17 Apr 2020 09:24:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 65AFC1DCF6; Fri, 17 Apr 2020 09:24:28 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id CC3AC1DD4A; Fri, 17 Apr 2020 09:24:25 +0200 (CEST) In-Reply-To: <20200417072254.11455-3-nithind1988@gmail.com> References: <20200417072254.11455-3-nithind1988@gmail.com> To: test-report@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20200417072425.CC3AC1DD4A@dpdk.org> Date: Fri, 17 Apr 2020 09:24:25 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw68735 [PATCH 3/3] net/octeontx2: add Tx packet marking offload support X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/68735 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags' - possible side-effects? #334: FILE: drivers/net/octeontx2/otx2_tx.c:992: +#define T(name, f7, f6, f5, f4, f3, f2, f1, f0, sz, flags) \ static uint16_t __rte_noinline __hot \ otx2_nix_xmit_pkts_vec_ ## name(void *tx_queue, \ struct rte_mbuf **tx_pkts, uint16_t pkts) \ { \ uint64_t cmd[sz]; \ \ + /* VLAN, TSTMP, TSO, MARK is not supported by vec */ \ if ((flags) & NIX_TX_OFFLOAD_VLAN_QINQ_F || \ (flags) & NIX_TX_OFFLOAD_TSTAMP_F || \ + (flags) & NIX_TX_OFFLOAD_TSO_F || \ + (flags) & NIX_TX_OFFLOAD_MARK_F) \ return 0; \ return nix_xmit_pkts_vector(tx_queue, tx_pkts, pkts, cmd, (flags)); \ } total: 0 errors, 0 warnings, 1 checks, 1001 lines checked