[dpdk-test-report] |WARNING| pw94800 [PATCH] net: prepare the outer ipv4 hdr for checksum

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 24 17:17:46 CEST 2021


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#98: FILE: lib/net/rte_net.h:133:
+                /*$

ERROR:CODE_INDENT: code indent should use tabs where possible
#99: FILE: lib/net/rte_net.h:134:
+                 * prepare outer ipv4 header checksum by setting it to 0,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#100: FILE: lib/net/rte_net.h:135:
+                 * in order to be computed by hardware NICs.$

ERROR:CODE_INDENT: code indent should use tabs where possible
#101: FILE: lib/net/rte_net.h:136:
+                 */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#102: FILE: lib/net/rte_net.h:137:
+                if (ol_flags & PKT_TX_OUTER_IP_CKSUM) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#102: FILE: lib/net/rte_net.h:137:
+                if (ol_flags & PKT_TX_OUTER_IP_CKSUM) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#103: FILE: lib/net/rte_net.h:138:
+                        ipv4_hdr = rte_pktmbuf_mtod_offset(m, struct rte_ipv4_hdr *,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#103: FILE: lib/net/rte_net.h:138:
+                        ipv4_hdr = rte_pktmbuf_mtod_offset(m, struct rte_ipv4_hdr *,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#104: FILE: lib/net/rte_net.h:139:
+                                   m->outer_l2_len);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#104: FILE: lib/net/rte_net.h:139:
+                                   m->outer_l2_len);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#105: FILE: lib/net/rte_net.h:140:
+                         ipv4_hdr->hdr_checksum = 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#105: FILE: lib/net/rte_net.h:140:
+                         ipv4_hdr->hdr_checksum = 0;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#106: FILE: lib/net/rte_net.h:141:
+                }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#106: FILE: lib/net/rte_net.h:141:
+                }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#107: FILE: lib/net/rte_net.h:142:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#107: FILE: lib/net/rte_net.h:142:
+        }$

total: 10 errors, 6 warnings, 19 lines checked


More information about the test-report mailing list