automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw142263 [PATCH v4] netdev-offload-dpdk: Support offload of set dscp action
       [not found] <20240709121418.9732-1-sunyang.wu@jaguarmicro.com>
@ 2024-07-09 11:54 ` qemudev
  2024-07-09 12:14 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: qemudev @ 2024-07-09 11:54 UTC (permalink / raw)
  To: test-report; +Cc: Sunyang Wu, zhoumin

Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/142263

_apply patch failure_

Submitter: Sunyang Wu <sunyang.wu@jaguarmicro.com>
Date: Tue,  9 Jul 2024 20:14:18 +0800
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: 1bbc35a8daaadca891d99f6565c01283cd3c7730

Apply patch set 142263 failed:

Checking patch Documentation/howto/dpdk.rst...
error: Documentation/howto/dpdk.rst: No such file or directory
Checking patch lib/netdev-offload-dpdk.c...
error: lib/netdev-offload-dpdk.c: No such file or directory


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

* |WARNING| pw142263 [PATCH v4] netdev-offload-dpdk: Support offload of set dscp action
       [not found] <20240709121418.9732-1-sunyang.wu@jaguarmicro.com>
  2024-07-09 11:54 ` |WARNING| pw142263 [PATCH v4] netdev-offload-dpdk: Support offload of set dscp action qemudev
@ 2024-07-09 12:14 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2024-07-09 12:14 UTC (permalink / raw)
  To: test-report; +Cc: Sunyang Wu

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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#136: FILE: lib/netdev-offload-dpdk.c:794:
+    } else if (actions->type == RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP ||$

ERROR:CODE_INDENT: code indent should use tabs where possible
#137: FILE: lib/netdev-offload-dpdk.c:795:
+               actions->type == RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#137: FILE: lib/netdev-offload-dpdk.c:795:
+               actions->type == RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#138: FILE: lib/netdev-offload-dpdk.c:796:
+        const struct rte_flow_action_set_dscp *set_dscp = actions->conf;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#138: FILE: lib/netdev-offload-dpdk.c:796:
+        const struct rte_flow_action_set_dscp *set_dscp = actions->conf;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#139: FILE: lib/netdev-offload-dpdk.c:797:
+        char *dirstr = actions->type == RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#139: FILE: lib/netdev-offload-dpdk.c:797:
+        char *dirstr = actions->type == RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP$

ERROR:CODE_INDENT: code indent should use tabs where possible
#140: FILE: lib/netdev-offload-dpdk.c:798:
+                       ? "set_ipv4_dscp " : "set_ipv6_dscp ";$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#140: FILE: lib/netdev-offload-dpdk.c:798:
+                       ? "set_ipv4_dscp " : "set_ipv6_dscp ";$

ERROR:CODE_INDENT: code indent should use tabs where possible
#142: FILE: lib/netdev-offload-dpdk.c:800:
+        ds_put_cstr(s, dirstr);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#142: FILE: lib/netdev-offload-dpdk.c:800:
+        ds_put_cstr(s, dirstr);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#143: FILE: lib/netdev-offload-dpdk.c:801:
+        if (set_dscp) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#143: FILE: lib/netdev-offload-dpdk.c:801:
+        if (set_dscp) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#143: FILE: lib/netdev-offload-dpdk.c:801:
+        if (set_dscp) {
+            ds_put_format(s, "dscp_value %d ", set_dscp->dscp);

WARNING:BRACES: braces {} are not necessary for single statement blocks
#143: FILE: lib/netdev-offload-dpdk.c:801:
+        if (set_dscp) {
+            ds_put_format(s, "dscp_value %d ", set_dscp->dscp);
+        }

ERROR:CODE_INDENT: code indent should use tabs where possible
#144: FILE: lib/netdev-offload-dpdk.c:802:
+            ds_put_format(s, "dscp_value %d ", set_dscp->dscp);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#144: FILE: lib/netdev-offload-dpdk.c:802:
+            ds_put_format(s, "dscp_value %d ", set_dscp->dscp);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#145: FILE: lib/netdev-offload-dpdk.c:803:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#145: FILE: lib/netdev-offload-dpdk.c:803:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#146: FILE: lib/netdev-offload-dpdk.c:804:
+        ds_put_cstr(s, "/ ");$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#146: FILE: lib/netdev-offload-dpdk.c:804:
+        ds_put_cstr(s, "/ ");$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#153: FILE: lib/netdev-offload-dpdk.c:1849:
         if (!is_all_ones(mask, size)) {
+            if (attr != RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP ||

ERROR:CODE_INDENT: code indent should use tabs where possible
#155: FILE: lib/netdev-offload-dpdk.c:1850:
+            if (attr != RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP ||$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#155: FILE: lib/netdev-offload-dpdk.c:1850:
+            if (attr != RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP ||$

ERROR:CODE_INDENT: code indent should use tabs where possible
#156: FILE: lib/netdev-offload-dpdk.c:1851:
+                attr != RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#156: FILE: lib/netdev-offload-dpdk.c:1851:
+                attr != RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#157: FILE: lib/netdev-offload-dpdk.c:1852:
+                if (mask & IP_ECN_MASK) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#157: FILE: lib/netdev-offload-dpdk.c:1852:
+                if (mask & IP_ECN_MASK) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 20)
#157: FILE: lib/netdev-offload-dpdk.c:1852:
+                if (mask & IP_ECN_MASK) {
+                    VLOG_DBG_RL(&rl, "ECN hw offload is not supported!");

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#157: FILE: lib/netdev-offload-dpdk.c:1852:
+                if (mask & IP_ECN_MASK) {
[...]
+                } else {
[...]

ERROR:CODE_INDENT: code indent should use tabs where possible
#158: FILE: lib/netdev-offload-dpdk.c:1853:
+                    VLOG_DBG_RL(&rl, "ECN hw offload is not supported!");$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#158: FILE: lib/netdev-offload-dpdk.c:1853:
+                    VLOG_DBG_RL(&rl, "ECN hw offload is not supported!");$

ERROR:CODE_INDENT: code indent should use tabs where possible
#159: FILE: lib/netdev-offload-dpdk.c:1854:
+                } else {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#159: FILE: lib/netdev-offload-dpdk.c:1854:
+                } else {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 20)
#159: FILE: lib/netdev-offload-dpdk.c:1854:
+                } else {
+                    goto add_action;

ERROR:CODE_INDENT: code indent should use tabs where possible
#160: FILE: lib/netdev-offload-dpdk.c:1855:
+                    goto add_action;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#160: FILE: lib/netdev-offload-dpdk.c:1855:
+                    goto add_action;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#161: FILE: lib/netdev-offload-dpdk.c:1856:
+                }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#161: FILE: lib/netdev-offload-dpdk.c:1856:
+                }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#162: FILE: lib/netdev-offload-dpdk.c:1857:
+            } else {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#162: FILE: lib/netdev-offload-dpdk.c:1857:
+            } else {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#163: FILE: lib/netdev-offload-dpdk.c:1858:
+                VLOG_DBG_RL(&rl, "Partial mask is not supported");$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#163: FILE: lib/netdev-offload-dpdk.c:1858:
+                VLOG_DBG_RL(&rl, "Partial mask is not supported");$

ERROR:CODE_INDENT: code indent should use tabs where possible
#164: FILE: lib/netdev-offload-dpdk.c:1859:
+            }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#164: FILE: lib/netdev-offload-dpdk.c:1859:
+            }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#178: FILE: lib/netdev-offload-dpdk.c:1937:
+            add_set_flow_action(ipv4_tos, RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#178: FILE: lib/netdev-offload-dpdk.c:1937:
+            add_set_flow_action(ipv4_tos, RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#186: FILE: lib/netdev-offload-dpdk.c:1950:
+            add_set_flow_action(ipv6_tclass,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#186: FILE: lib/netdev-offload-dpdk.c:1950:
+            add_set_flow_action(ipv6_tclass,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#187: FILE: lib/netdev-offload-dpdk.c:1951:
+                                RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#187: FILE: lib/netdev-offload-dpdk.c:1951:
+                                RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP);$

total: 22 errors, 29 warnings, 68 lines checked

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

end of thread, other threads:[~2024-07-09 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240709121418.9732-1-sunyang.wu@jaguarmicro.com>
2024-07-09 11:54 ` |WARNING| pw142263 [PATCH v4] netdev-offload-dpdk: Support offload of set dscp action qemudev
2024-07-09 12:14 ` 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).