automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw22266 [PATCH v3 60/61] net/qede: add ntuple and flow director filter support
       [not found] <1490340531-11403-61-git-send-email-rasesh.mody@cavium.com>
@ 2017-03-24  9:43 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-24  9:43 UTC (permalink / raw)
  To: test-report; +Cc: Mody, Rasesh

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flow_type' - possible side-effects?
#257: FILE: drivers/net/qede/qede_fdir.c:33:
+#define QEDE_VALID_FLOW(flow_type) \
+	((flow_type) == RTE_ETH_FLOW_FRAG_IPV4		|| \
+	(flow_type) == RTE_ETH_FLOW_NONFRAG_IPV4_TCP	|| \
+	(flow_type) == RTE_ETH_FLOW_NONFRAG_IPV4_UDP	|| \
+	(flow_type) == RTE_ETH_FLOW_FRAG_IPV6		|| \
+	(flow_type) == RTE_ETH_FLOW_NONFRAG_IPV6_TCP	|| \
+	(flow_type) == RTE_ETH_FLOW_NONFRAG_IPV6_UDP)

CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv4>
#533: FILE: drivers/net/qede/qede_fdir.c:309:
+		*ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);

CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv6>
#552: FILE: drivers/net/qede/qede_fdir.c:328:
+		*ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv6);

total: 0 errors, 0 warnings, 3 checks, 691 lines checked

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

only message in thread, other threads:[~2017-03-24  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1490340531-11403-61-git-send-email-rasesh.mody@cavium.com>
2017-03-24  9:43 ` [dpdk-test-report] |WARNING| pw22266 [PATCH v3 60/61] net/qede: add ntuple and flow director filter support 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).