* [dpdk-test-report] |WARNING| pw55979 [PATCH v3 53/58] net/octeontx2: add Tx vector version
[not found] <20190703084244.33553-54-jerinj@marvell.com>
@ 2019-07-03 8:52 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-07-03 8:52 UTC (permalink / raw)
To: test-report; +Cc: jerinj
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/55979
_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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-03 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190703084244.33553-54-jerinj@marvell.com>
2019-07-03 8:52 ` [dpdk-test-report] |WARNING| pw55979 [PATCH v3 53/58] net/octeontx2: add Tx vector version checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).