|WARNING| pw169236 [PATCH v2 01/19] ethdev: add flow graph API
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 8 17:25:02 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/169236
_coding style issues_
WARNING:REPEATED_WORD: Possible repeated word: 'The'
#174: FILE: doc/guides/prog_guide/ethdev/flow_graph.rst:80:
+The the ``END`` node can also have callbacks to perform end-of-match processing.
WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns
#948: FILE: lib/ethdev/flow_graph.h:72:
+ FLOW_GRAPH_NODE_EXPECT_SPEC = (1 << 1), /**< spec is required, mask and last must be NULL. */
WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns
#949: FILE: lib/ethdev/flow_graph.h:73:
+ FLOW_GRAPH_NODE_EXPECT_MASK = (1 << 2), /**< mask is required, spec and last must be NULL. */
WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#950: FILE: lib/ethdev/flow_graph.h:74:
+ FLOW_GRAPH_NODE_EXPECT_SPEC_MASK = (1 << 3), /**< spec and mask required, last must be NULL. */
WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns
#1014: FILE: lib/ethdev/flow_graph.h:138:
+ flow_graph_node_process_fn process; /**< Processing callback (NULL if no extraction needed). */
WARNING:LONG_LINE_COMMENT: line length of 102 exceeds 100 columns
#1026: FILE: lib/ethdev/flow_graph.h:150:
+ size_t *next; /**< Array of valid successor nodes, terminated by FLOW_GRAPH_NODE_EDGE_END. */
WARNING:LONG_LINE_COMMENT: line length of 125 exceeds 100 columns
#1039: FILE: lib/ethdev/flow_graph.h:163:
+ enum rte_flow_item_type *ignore_nodes; /**< Additional node types to ignore, terminated by RTE_FLOW_ITEM_TYPE_END. */
WARNING:BRACES: braces {} are not necessary for any arm of this statement
#1108: FILE: lib/ethdev/flow_graph.h:232:
+ if (!has_spec && _flow_graph_node_check_constraint(c, true, has_mask, has_last)) {
[...]
+ } else if (has_spec && _flow_graph_node_check_constraint(c, false, has_mask, has_last)) {
[...]
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#1110: FILE: lib/ethdev/flow_graph.h:234:
+ } else if (has_spec && _flow_graph_node_check_constraint(c, false, has_mask, has_last)) {
WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#1114: FILE: lib/ethdev/flow_graph.h:238:
+ else if (!has_mask && _flow_graph_node_check_constraint(c, has_spec, true, has_last)) {
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#1116: FILE: lib/ethdev/flow_graph.h:240:
+ } else if (has_mask && _flow_graph_node_check_constraint(c, has_spec, false, has_last)) {
WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#1120: FILE: lib/ethdev/flow_graph.h:244:
+ else if (!has_last && _flow_graph_node_check_constraint(c, has_spec, has_mask, true)) {
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#1122: FILE: lib/ethdev/flow_graph.h:246:
+ } else if (has_last && _flow_graph_node_check_constraint(c, has_spec, has_mask, false)) {
total: 0 errors, 13 warnings, 1280 lines checked
More information about the test-report
mailing list