[dpdk-test-report] |WARNING| pw20377 [PATCH 2/2] ethdev: add hierarchical scheduler API

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Feb 10 15:06:12 CET 2017


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#53: 
- Traffic shaping: single/dual rate, private (per node) and shared (by multiple

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#270: FILE: lib/librte_ether/rte_scheddev.c:62:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#273: FILE: lib/librte_ether/rte_scheddev.c:65:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#294: FILE: lib/librte_ether/rte_scheddev.c:86:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#297: FILE: lib/librte_ether/rte_scheddev.c:89:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#317: FILE: lib/librte_ether/rte_scheddev.c:109:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#320: FILE: lib/librte_ether/rte_scheddev.c:112:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#340: FILE: lib/librte_ether/rte_scheddev.c:132:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#343: FILE: lib/librte_ether/rte_scheddev.c:135:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#362: FILE: lib/librte_ether/rte_scheddev.c:154:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#365: FILE: lib/librte_ether/rte_scheddev.c:157:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#385: FILE: lib/librte_ether/rte_scheddev.c:177:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#388: FILE: lib/librte_ether/rte_scheddev.c:180:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#408: FILE: lib/librte_ether/rte_scheddev.c:200:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#411: FILE: lib/librte_ether/rte_scheddev.c:203:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#432: FILE: lib/librte_ether/rte_scheddev.c:224:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#435: FILE: lib/librte_ether/rte_scheddev.c:227:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#454: FILE: lib/librte_ether/rte_scheddev.c:246:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#457: FILE: lib/librte_ether/rte_scheddev.c:249:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#477: FILE: lib/librte_ether/rte_scheddev.c:269:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#480: FILE: lib/librte_ether/rte_scheddev.c:272:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#500: FILE: lib/librte_ether/rte_scheddev.c:292:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#503: FILE: lib/librte_ether/rte_scheddev.c:295:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#526: FILE: lib/librte_ether/rte_scheddev.c:318:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#529: FILE: lib/librte_ether/rte_scheddev.c:321:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#549: FILE: lib/librte_ether/rte_scheddev.c:341:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#552: FILE: lib/librte_ether/rte_scheddev.c:344:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#571: FILE: lib/librte_ether/rte_scheddev.c:363:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#574: FILE: lib/librte_ether/rte_scheddev.c:366:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#593: FILE: lib/librte_ether/rte_scheddev.c:385:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#596: FILE: lib/librte_ether/rte_scheddev.c:388:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#615: FILE: lib/librte_ether/rte_scheddev.c:407:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#618: FILE: lib/librte_ether/rte_scheddev.c:410:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#640: FILE: lib/librte_ether/rte_scheddev.c:432:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#643: FILE: lib/librte_ether/rte_scheddev.c:435:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#664: FILE: lib/librte_ether/rte_scheddev.c:456:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#667: FILE: lib/librte_ether/rte_scheddev.c:459:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#689: FILE: lib/librte_ether/rte_scheddev.c:481:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#692: FILE: lib/librte_ether/rte_scheddev.c:484:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#714: FILE: lib/librte_ether/rte_scheddev.c:506:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#717: FILE: lib/librte_ether/rte_scheddev.c:509:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#738: FILE: lib/librte_ether/rte_scheddev.c:530:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#741: FILE: lib/librte_ether/rte_scheddev.c:533:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#761: FILE: lib/librte_ether/rte_scheddev.c:553:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#764: FILE: lib/librte_ether/rte_scheddev.c:556:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#786: FILE: lib/librte_ether/rte_scheddev.c:578:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#789: FILE: lib/librte_ether/rte_scheddev.c:581:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#811: FILE: lib/librte_ether/rte_scheddev.c:603:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#814: FILE: lib/librte_ether/rte_scheddev.c:606:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#836: FILE: lib/librte_ether/rte_scheddev.c:628:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#839: FILE: lib/librte_ether/rte_scheddev.c:631:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#860: FILE: lib/librte_ether/rte_scheddev.c:652:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#863: FILE: lib/librte_ether/rte_scheddev.c:655:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#886: FILE: lib/librte_ether/rte_scheddev.c:678:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#889: FILE: lib/librte_ether/rte_scheddev.c:681:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#914: FILE: lib/librte_ether/rte_scheddev.c:706:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#917: FILE: lib/librte_ether/rte_scheddev.c:709:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#941: FILE: lib/librte_ether/rte_scheddev.c:733:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#944: FILE: lib/librte_ether/rte_scheddev.c:736:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#968: FILE: lib/librte_ether/rte_scheddev.c:760:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#971: FILE: lib/librte_ether/rte_scheddev.c:763:
+			rte_strerror(ENOSYS));

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#992: FILE: lib/librte_ether/rte_scheddev.c:784:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#995: FILE: lib/librte_ether/rte_scheddev.c:787:
+			rte_strerror(ENOSYS));

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1058: FILE: lib/librte_ether/rte_scheddev.h:54:
+/** Ethernet framing overhead
+  *

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1067: FILE: lib/librte_ether/rte_scheddev.h:63:
+/**
+  * Ethernet framing overhead plus Frame Check Sequence (FCS). Useful when FCS

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1084: FILE: lib/librte_ether/rte_scheddev.h:80:
+/**
+  * Scheduler node capabilities

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1154: FILE: lib/librte_ether/rte_scheddev.h:150:
+/**
+  * Scheduler capabilities

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1178: FILE: lib/librte_ether/rte_scheddev.h:174:
+	/**< Maximum number of shared shapers. The value of zero indicates that
+	  * shared shapers are not supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1183: FILE: lib/librte_ether/rte_scheddev.h:179:
+	/**< Maximum number of nodes that can share the same shared shaper. Only
+	  * valid when shared shapers are supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1188: FILE: lib/librte_ether/rte_scheddev.h:184:
+	/**< Maximum number of shared shapers that can be configured with dual
+	  * rate shaping. The value of zero indicates that dual rate shaping

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1194: FILE: lib/librte_ether/rte_scheddev.h:190:
+	/**< Minimum committed/peak rate (bytes per second) for shared
+	  * shapers. Only valid when shared shapers are supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1199: FILE: lib/librte_ether/rte_scheddev.h:195:
+	/**< Maximum committed/peak rate (bytes per second) for shared
+	  * shaper. Only valid when shared shapers are supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1204: FILE: lib/librte_ether/rte_scheddev.h:200:
+	/**< Minimum value allowed for packet length adjustment for
+	  * private/shared shapers.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1209: FILE: lib/librte_ether/rte_scheddev.h:205:
+	/**< Maximum value allowed for packet length adjustment for
+	  * private/shared shapers.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1217: FILE: lib/librte_ether/rte_scheddev.h:213:
+	/**< Maximum number of private WRED contexts. Indicates the maximum
+	  * number of leaf nodes that can concurrently have the private WRED

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1223: FILE: lib/librte_ether/rte_scheddev.h:219:
+	/**< Maximum number of shared WRED contexts. The value of zero indicates
+	  * that shared WRED contexts are not supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1228: FILE: lib/librte_ether/rte_scheddev.h:224:
+	/**< Maximum number of leaf nodes that can share the same WRED context.
+	  * Only valid when shared WRED contexts are supported.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1249: FILE: lib/librte_ether/rte_scheddev.h:245:
+/**
+  * Congestion management (CMAN) mode

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1271: FILE: lib/librte_ether/rte_scheddev.h:267:
+/**
+  * Color

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1281: FILE: lib/librte_ether/rte_scheddev.h:277:
+/**
+  * WRED profile

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1289: FILE: lib/librte_ether/rte_scheddev.h:285:
+/**
+  * Token bucket

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1300: FILE: lib/librte_ether/rte_scheddev.h:296:
+/**
+  * Shaper (rate limiter) profile

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1331: FILE: lib/librte_ether/rte_scheddev.h:327:
+/**
+  * Node parameters

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1413: FILE: lib/librte_ether/rte_scheddev.h:409:
+/**
+  * Node statistics counter type

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1440: FILE: lib/librte_ether/rte_scheddev.h:436:
+/**
+  * Node statistics counters

total: 0 errors, 85 warnings, 2504 lines checked


More information about the test-report mailing list