* [dpdk-test-report] |WARNING| pw88612 [PATCH 15/44] net/cnxk: add Tx multi-segment version for cn9k
[not found] <20210306153404.10781-16-ndabilpuram@marvell.com>
@ 2021-03-06 15:37 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-06 15:37 UTC (permalink / raw)
To: test-report; +Cc: Nithin Dabilpuram
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/88612
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags' - possible side-effects?
#142: FILE: drivers/net/cnxk/cn9k_tx.c:112:
+#define T(name, f4, f3, f2, f1, f0, sz, flags) \
+ static uint16_t __rte_noinline __rte_hot \
+ cn9k_nix_xmit_pkts_mseg_##name(void *tx_queue, \
+ struct rte_mbuf **tx_pkts, \
+ uint16_t pkts) \
+ { \
+ uint64_t cmd[(sz) + CNXK_NIX_TX_MSEG_SG_DWORDS - 2]; \
+ \
+ /* For TSO inner checksum is a must */ \
+ if (((flags) & NIX_TX_OFFLOAD_TSO_F) && \
+ !((flags) & NIX_TX_OFFLOAD_L3_L4_CSUM_F)) \
+ return 0; \
+ return nix_xmit_pkts_mseg(tx_queue, tx_pkts, pkts, cmd, \
+ (flags) | NIX_TX_MULTI_SEG_F); \
+ }
total: 0 errors, 0 warnings, 1 checks, 216 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-06 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210306153404.10781-16-ndabilpuram@marvell.com>
2021-03-06 15:37 ` [dpdk-test-report] |WARNING| pw88612 [PATCH 15/44] net/cnxk: add Tx multi-segment version for cn9k 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).