automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw53696 [PATCH v2] net/i40e: Fail rte_flow MARK requests if RX func was vectorized
       [not found] <1558738171-145415-1-git-send-email-mesut.a.ergin@intel.com>
@ 2019-05-24 22:51 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-05-24 22:51 UTC (permalink / raw)
  To: test-report; +Cc: Mesut Ali Ergin

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/53696

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#55: FILE: drivers/net/i40e/i40e_flow.c:33:
+#define I40E_RX_IS_VECTOR(dev)	\
+	(dev->rx_pkt_burst == i40e_recv_scattered_pkts_vec || \
+	 dev->rx_pkt_burst == i40e_recv_pkts_vec || \
+	 dev->rx_pkt_burst == i40e_recv_scattered_pkts_vec_avx2 || \
+	 dev->rx_pkt_burst == i40e_recv_pkts_vec_avx2)

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'dev' may be better as '(dev)' to avoid precedence issues
#55: FILE: drivers/net/i40e/i40e_flow.c:33:
+#define I40E_RX_IS_VECTOR(dev)	\
+	(dev->rx_pkt_burst == i40e_recv_scattered_pkts_vec || \
+	 dev->rx_pkt_burst == i40e_recv_pkts_vec || \
+	 dev->rx_pkt_burst == i40e_recv_scattered_pkts_vec_avx2 || \
+	 dev->rx_pkt_burst == i40e_recv_pkts_vec_avx2)

total: 0 errors, 0 warnings, 2 checks, 46 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-24 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1558738171-145415-1-git-send-email-mesut.a.ergin@intel.com>
2019-05-24 22:51 ` [dpdk-test-report] |WARNING| pw53696 [PATCH v2] net/i40e: Fail rte_flow MARK requests if RX func was vectorized 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).