automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |SUCCESS| pw76035 examples/pipeline: add VXLAN encap example
       [not found] <20200826151445.51500-41-cristian.dumitrescu@intel.com>
@ 2020-08-26 17:27 ` 0-day Robot
  2020-09-08 23:17 ` [dpdk-test-report] |WARNING| pw76035 [PATCH 40/40] " checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2020-08-26 17:27 UTC (permalink / raw)
  To: test-report; +Cc: robot

From: robot@bytheb.org

Test-Label: travis-robot
Test-Status: SUCCESS
http://dpdk.org/patch/76035

_Travis build: passed_
Build URL: https://travis-ci.com/ovsrobot/dpdk/builds/181504989

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-test-report] |WARNING| pw76035 [PATCH 40/40] examples/pipeline: add VXLAN encap example
       [not found] <20200826151445.51500-41-cristian.dumitrescu@intel.com>
  2020-08-26 17:27 ` [dpdk-test-report] |SUCCESS| pw76035 examples/pipeline: add VXLAN encap example 0-day Robot
@ 2020-09-08 23:17 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-09-08 23:17 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#102: FILE: examples/pipeline/cli.c:735:
+int pipeline_setup_vxlan(struct rte_swx_pipeline *p);

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#133: FILE: examples/pipeline/example_vxlan.c:13:
+#define CHECK(condition)                                                       \
+do {                                                                           \
+	if (!(condition)) {                                                    \
+		printf("Error in function %s at line %d
",                    \
+			__FUNCTION__, __LINE__);                               \
+		return -1;                                                     \
+	}                                                                      \
+} while (0)

WARNING:USE_FUNC: __func__ should be used instead of gcc specific __FUNCTION__
#137: FILE: examples/pipeline/example_vxlan.c:17:
+			__FUNCTION__, __LINE__);                               \

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#189: FILE: examples/pipeline/example_vxlan.c:69:
+static const char *drop_instructions[] = {

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#249: FILE: examples/pipeline/example_vxlan.c:129:
+static const char *vxlan_encap_instructions[] = {

WARNING:TYPO_SPELLING: 'haders' may be misspelled - perhaps 'headers'?
#250: FILE: examples/pipeline/example_vxlan.c:130:
+	/* Copy from table entry to haders and metadata. */

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#279: FILE: examples/pipeline/example_vxlan.c:159:
+static const char *table_actions[] = {"drop", "vxlan_encap"};

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#297: FILE: examples/pipeline/example_vxlan.c:177:
+static const char *pipeline_instructions[] = {

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#311: FILE: examples/pipeline/example_vxlan.c:191:
+int

total: 0 errors, 9 warnings, 482 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-08 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200826151445.51500-41-cristian.dumitrescu@intel.com>
2020-08-26 17:27 ` [dpdk-test-report] |SUCCESS| pw76035 examples/pipeline: add VXLAN encap example 0-day Robot
2020-09-08 23:17 ` [dpdk-test-report] |WARNING| pw76035 [PATCH 40/40] " 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).