[prev in list] [next in list] [prev in thread] [next in thread]
List: dpdk-test-report
Subject: [dpdk-test-report] |WARNING| pw55722 [PATCH v2 53/57] net/octeontx2: add Tx vector version
From: checkpatch () dpdk ! org
Date: 2019-06-30 18:13:18
Message-ID: 20190630181318.587F01BB32 () dpdk ! org
[Download RAW message or body]
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/55722
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags' - possible side-effects?
#895: FILE: drivers/net/octeontx2/otx2_tx.c:963:
+#define T(name, 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) \
+{ \
+ /* VLAN and TSTMP is not supported by vec */ \
+ if ((flags) & NIX_TX_OFFLOAD_VLAN_QINQ_F || \
+ (flags) & NIX_TX_OFFLOAD_TSTAMP_F) \
+ return 0; \
+ return nix_xmit_pkts_vector(tx_queue, tx_pkts, pkts, (flags)); \
+}
total: 0 errors, 0 warnings, 1 checks, 901 lines checked
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic