[dpdk-test-report] |WARNING| pw50447 [6/6] net/dpaa2: add basic support for generic flow

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Feb 22 12:17:34 CET 2019


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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#432: FILE: drivers/net/dpaa2/dpaa2_flow.c:160:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#433: FILE: drivers/net/dpaa2/dpaa2_flow.c:161:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#434: FILE: drivers/net/dpaa2/dpaa2_flow.c:162:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_ETH_SA;

WARNING:LONG_LINE: line over 90 characters
#439: FILE: drivers/net/dpaa2/dpaa2_flow.c:167:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#440: FILE: drivers/net/dpaa2/dpaa2_flow.c:168:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#441: FILE: drivers/net/dpaa2/dpaa2_flow.c:169:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_ETH_DA;

WARNING:LONG_LINE: line over 90 characters
#446: FILE: drivers/net/dpaa2/dpaa2_flow.c:174:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#447: FILE: drivers/net/dpaa2/dpaa2_flow.c:175:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#448: FILE: drivers/net/dpaa2/dpaa2_flow.c:176:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_ETH_TYPE;

WARNING:LONG_LINE: line over 90 characters
#458: FILE: drivers/net/dpaa2/dpaa2_flow.c:186:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#459: FILE: drivers/net/dpaa2/dpaa2_flow.c:187:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#460: FILE: drivers/net/dpaa2/dpaa2_flow.c:188:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_ETH_SA;

WARNING:LONG_LINE: line over 90 characters
#465: FILE: drivers/net/dpaa2/dpaa2_flow.c:193:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#466: FILE: drivers/net/dpaa2/dpaa2_flow.c:194:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#467: FILE: drivers/net/dpaa2/dpaa2_flow.c:195:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_ETH_DA;

WARNING:LONG_LINE: line over 90 characters
#472: FILE: drivers/net/dpaa2/dpaa2_flow.c:200:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#473: FILE: drivers/net/dpaa2/dpaa2_flow.c:201:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_ETH;

WARNING:LONG_LINE: line over 90 characters
#474: FILE: drivers/net/dpaa2/dpaa2_flow.c:202:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_ETH_TYPE;

WARNING:LONG_LINE: line over 90 characters
#588: FILE: drivers/net/dpaa2/dpaa2_flow.c:316:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#589: FILE: drivers/net/dpaa2/dpaa2_flow.c:317:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_VLAN;

WARNING:LONG_LINE: line over 90 characters
#590: FILE: drivers/net/dpaa2/dpaa2_flow.c:318:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_VLAN_TCI;

WARNING:LONG_LINE: line over 90 characters
#598: FILE: drivers/net/dpaa2/dpaa2_flow.c:326:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#599: FILE: drivers/net/dpaa2/dpaa2_flow.c:327:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_VLAN;

WARNING:LONG_LINE: line over 90 characters
#600: FILE: drivers/net/dpaa2/dpaa2_flow.c:328:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_VLAN_TCI;

WARNING:LONG_LINE: line over 90 characters
#695: FILE: drivers/net/dpaa2/dpaa2_flow.c:423:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#696: FILE: drivers/net/dpaa2/dpaa2_flow.c:424:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#697: FILE: drivers/net/dpaa2/dpaa2_flow.c:425:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_SRC;

WARNING:LONG_LINE: line over 90 characters
#702: FILE: drivers/net/dpaa2/dpaa2_flow.c:430:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#703: FILE: drivers/net/dpaa2/dpaa2_flow.c:431:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#704: FILE: drivers/net/dpaa2/dpaa2_flow.c:432:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_DST;

WARNING:LONG_LINE: line over 90 characters
#709: FILE: drivers/net/dpaa2/dpaa2_flow.c:437:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#710: FILE: drivers/net/dpaa2/dpaa2_flow.c:438:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#711: FILE: drivers/net/dpaa2/dpaa2_flow.c:439:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#721: FILE: drivers/net/dpaa2/dpaa2_flow.c:449:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#722: FILE: drivers/net/dpaa2/dpaa2_flow.c:450:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#723: FILE: drivers/net/dpaa2/dpaa2_flow.c:451:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_SRC;

WARNING:LONG_LINE: line over 90 characters
#728: FILE: drivers/net/dpaa2/dpaa2_flow.c:456:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#729: FILE: drivers/net/dpaa2/dpaa2_flow.c:457:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#730: FILE: drivers/net/dpaa2/dpaa2_flow.c:458:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_DST;

WARNING:LONG_LINE: line over 90 characters
#735: FILE: drivers/net/dpaa2/dpaa2_flow.c:463:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#736: FILE: drivers/net/dpaa2/dpaa2_flow.c:464:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#737: FILE: drivers/net/dpaa2/dpaa2_flow.c:465:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#848: FILE: drivers/net/dpaa2/dpaa2_flow.c:576:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#849: FILE: drivers/net/dpaa2/dpaa2_flow.c:577:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#850: FILE: drivers/net/dpaa2/dpaa2_flow.c:578:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_SRC;

WARNING:LONG_LINE: line over 90 characters
#855: FILE: drivers/net/dpaa2/dpaa2_flow.c:583:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#856: FILE: drivers/net/dpaa2/dpaa2_flow.c:584:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#857: FILE: drivers/net/dpaa2/dpaa2_flow.c:585:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_DST;

WARNING:LONG_LINE: line over 90 characters
#867: FILE: drivers/net/dpaa2/dpaa2_flow.c:595:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#868: FILE: drivers/net/dpaa2/dpaa2_flow.c:596:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#869: FILE: drivers/net/dpaa2/dpaa2_flow.c:597:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_SRC;

WARNING:LONG_LINE: line over 90 characters
#874: FILE: drivers/net/dpaa2/dpaa2_flow.c:602:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#875: FILE: drivers/net/dpaa2/dpaa2_flow.c:603:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#876: FILE: drivers/net/dpaa2/dpaa2_flow.c:604:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_DST;

WARNING:LONG_LINE: line over 90 characters
#981: FILE: drivers/net/dpaa2/dpaa2_flow.c:709:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#982: FILE: drivers/net/dpaa2/dpaa2_flow.c:710:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_ICMP;

WARNING:LONG_LINE: line over 90 characters
#983: FILE: drivers/net/dpaa2/dpaa2_flow.c:711:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_ICMP_TYPE;

WARNING:LONG_LINE: line over 90 characters
#988: FILE: drivers/net/dpaa2/dpaa2_flow.c:716:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#989: FILE: drivers/net/dpaa2/dpaa2_flow.c:717:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_ICMP;

WARNING:LONG_LINE: line over 90 characters
#990: FILE: drivers/net/dpaa2/dpaa2_flow.c:718:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_ICMP_CODE;

WARNING:LONG_LINE: line over 90 characters
#1000: FILE: drivers/net/dpaa2/dpaa2_flow.c:728:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1001: FILE: drivers/net/dpaa2/dpaa2_flow.c:729:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_ICMP;

WARNING:LONG_LINE: line over 90 characters
#1002: FILE: drivers/net/dpaa2/dpaa2_flow.c:730:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_ICMP_TYPE;

WARNING:LONG_LINE: line over 90 characters
#1007: FILE: drivers/net/dpaa2/dpaa2_flow.c:735:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1008: FILE: drivers/net/dpaa2/dpaa2_flow.c:736:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_ICMP;

WARNING:LONG_LINE: line over 90 characters
#1009: FILE: drivers/net/dpaa2/dpaa2_flow.c:737:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_ICMP_CODE;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 25)
#1078: FILE: drivers/net/dpaa2/dpaa2_flow.c:806:
+		} else {
+			 entry_found = 1;

WARNING:LONG_LINE: line over 90 characters
#1114: FILE: drivers/net/dpaa2/dpaa2_flow.c:842:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1115: FILE: drivers/net/dpaa2/dpaa2_flow.c:843:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1116: FILE: drivers/net/dpaa2/dpaa2_flow.c:844:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1121: FILE: drivers/net/dpaa2/dpaa2_flow.c:849:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1122: FILE: drivers/net/dpaa2/dpaa2_flow.c:850:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_UDP;

WARNING:LONG_LINE: line over 90 characters
#1123: FILE: drivers/net/dpaa2/dpaa2_flow.c:851:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_UDP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1127: FILE: drivers/net/dpaa2/dpaa2_flow.c:855:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1128: FILE: drivers/net/dpaa2/dpaa2_flow.c:856:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_UDP;

WARNING:LONG_LINE: line over 90 characters
#1129: FILE: drivers/net/dpaa2/dpaa2_flow.c:857:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_UDP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1139: FILE: drivers/net/dpaa2/dpaa2_flow.c:867:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1140: FILE: drivers/net/dpaa2/dpaa2_flow.c:868:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1141: FILE: drivers/net/dpaa2/dpaa2_flow.c:869:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1146: FILE: drivers/net/dpaa2/dpaa2_flow.c:874:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1147: FILE: drivers/net/dpaa2/dpaa2_flow.c:875:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_UDP;

WARNING:LONG_LINE: line over 90 characters
#1148: FILE: drivers/net/dpaa2/dpaa2_flow.c:876:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_UDP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1153: FILE: drivers/net/dpaa2/dpaa2_flow.c:881:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1154: FILE: drivers/net/dpaa2/dpaa2_flow.c:882:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_UDP;

WARNING:LONG_LINE: line over 90 characters
#1155: FILE: drivers/net/dpaa2/dpaa2_flow.c:883:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_UDP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1263: FILE: drivers/net/dpaa2/dpaa2_flow.c:991:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1264: FILE: drivers/net/dpaa2/dpaa2_flow.c:992:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1265: FILE: drivers/net/dpaa2/dpaa2_flow.c:993:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1270: FILE: drivers/net/dpaa2/dpaa2_flow.c:998:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1271: FILE: drivers/net/dpaa2/dpaa2_flow.c:999:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_TCP;

WARNING:LONG_LINE: line over 90 characters
#1272: FILE: drivers/net/dpaa2/dpaa2_flow.c:1000:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_TCP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1277: FILE: drivers/net/dpaa2/dpaa2_flow.c:1005:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1278: FILE: drivers/net/dpaa2/dpaa2_flow.c:1006:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_TCP;

WARNING:LONG_LINE: line over 90 characters
#1279: FILE: drivers/net/dpaa2/dpaa2_flow.c:1007:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_TCP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1289: FILE: drivers/net/dpaa2/dpaa2_flow.c:1017:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1290: FILE: drivers/net/dpaa2/dpaa2_flow.c:1018:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1291: FILE: drivers/net/dpaa2/dpaa2_flow.c:1019:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1296: FILE: drivers/net/dpaa2/dpaa2_flow.c:1024:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1297: FILE: drivers/net/dpaa2/dpaa2_flow.c:1025:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_TCP;

WARNING:LONG_LINE: line over 90 characters
#1298: FILE: drivers/net/dpaa2/dpaa2_flow.c:1026:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_TCP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1303: FILE: drivers/net/dpaa2/dpaa2_flow.c:1031:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1304: FILE: drivers/net/dpaa2/dpaa2_flow.c:1032:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_TCP;

WARNING:LONG_LINE: line over 90 characters
#1305: FILE: drivers/net/dpaa2/dpaa2_flow.c:1033:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_TCP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1413: FILE: drivers/net/dpaa2/dpaa2_flow.c:1141:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1414: FILE: drivers/net/dpaa2/dpaa2_flow.c:1142:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1415: FILE: drivers/net/dpaa2/dpaa2_flow.c:1143:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1420: FILE: drivers/net/dpaa2/dpaa2_flow.c:1148:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1421: FILE: drivers/net/dpaa2/dpaa2_flow.c:1149:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_SCTP;

WARNING:LONG_LINE: line over 90 characters
#1422: FILE: drivers/net/dpaa2/dpaa2_flow.c:1150:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_SCTP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1427: FILE: drivers/net/dpaa2/dpaa2_flow.c:1155:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1428: FILE: drivers/net/dpaa2/dpaa2_flow.c:1156:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_SCTP;

WARNING:LONG_LINE: line over 90 characters
#1429: FILE: drivers/net/dpaa2/dpaa2_flow.c:1157:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_SCTP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1439: FILE: drivers/net/dpaa2/dpaa2_flow.c:1167:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1440: FILE: drivers/net/dpaa2/dpaa2_flow.c:1168:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_IP;

WARNING:LONG_LINE: line over 90 characters
#1441: FILE: drivers/net/dpaa2/dpaa2_flow.c:1169:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_IP_PROTO;

WARNING:LONG_LINE: line over 90 characters
#1446: FILE: drivers/net/dpaa2/dpaa2_flow.c:1174:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1447: FILE: drivers/net/dpaa2/dpaa2_flow.c:1175:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_SCTP;

WARNING:LONG_LINE: line over 90 characters
#1448: FILE: drivers/net/dpaa2/dpaa2_flow.c:1176:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_SCTP_PORT_SRC;

WARNING:LONG_LINE: line over 90 characters
#1453: FILE: drivers/net/dpaa2/dpaa2_flow.c:1181:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1454: FILE: drivers/net/dpaa2/dpaa2_flow.c:1182:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_SCTP;

WARNING:LONG_LINE: line over 90 characters
#1455: FILE: drivers/net/dpaa2/dpaa2_flow.c:1183:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_SCTP_PORT_DST;

WARNING:LONG_LINE: line over 90 characters
#1562: FILE: drivers/net/dpaa2/dpaa2_flow.c:1290:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1563: FILE: drivers/net/dpaa2/dpaa2_flow.c:1291:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.prot = NET_PROT_GRE;

WARNING:LONG_LINE: line over 90 characters
#1564: FILE: drivers/net/dpaa2/dpaa2_flow.c:1292:
+		priv->extract.qos_key_cfg.extracts[index].extract.from_hdr.field = NH_FLD_GRE_TYPE;

WARNING:LONG_LINE: line over 90 characters
#1574: FILE: drivers/net/dpaa2/dpaa2_flow.c:1302:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.type = DPKG_FULL_FIELD;

WARNING:LONG_LINE: line over 90 characters
#1575: FILE: drivers/net/dpaa2/dpaa2_flow.c:1303:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.prot = NET_PROT_GRE;

WARNING:LONG_LINE: line over 90 characters
#1576: FILE: drivers/net/dpaa2/dpaa2_flow.c:1304:
+		priv->extract.fs_key_cfg[group].extracts[index].extract.from_hdr.field = NH_FLD_GRE_TYPE;

WARNING:LONG_LINE: line over 90 characters
#1713: FILE: drivers/net/dpaa2/dpaa2_flow.c:1441:
+			dest_queue = (const struct rte_flow_action_queue *)(actions[j].conf);

WARNING:LONG_LINE: line over 90 characters
#1720: FILE: drivers/net/dpaa2/dpaa2_flow.c:1448:
+							 (uint8_t *)(size_t)priv->extract.qos_extract_param) < 0) {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1721: FILE: drivers/net/dpaa2/dpaa2_flow.c:1449:
+					DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1729: FILE: drivers/net/dpaa2/dpaa2_flow.c:1457:
+				qos_cfg.key_cfg_iova = (size_t)priv->extract.qos_extract_param;

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1733: FILE: drivers/net/dpaa2/dpaa2_flow.c:1461:
+					DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1740: FILE: drivers/net/dpaa2/dpaa2_flow.c:1468:
+				if (dpkg_prepare_key_cfg(&priv->extract.fs_key_cfg[flow->tc_id],

WARNING:LONG_LINE: line over 90 characters
#1741: FILE: drivers/net/dpaa2/dpaa2_flow.c:1469:
+						(uint8_t *)(size_t)priv->extract.fs_extract_param[flow->tc_id]) < 0) {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1742: FILE: drivers/net/dpaa2/dpaa2_flow.c:1470:
+					DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1751: FILE: drivers/net/dpaa2/dpaa2_flow.c:1479:
+					(uint64_t)priv->extract.fs_extract_param[flow->tc_id];

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1758: FILE: drivers/net/dpaa2/dpaa2_flow.c:1486:
+					DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1769: FILE: drivers/net/dpaa2/dpaa2_flow.c:1497:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1781: FILE: drivers/net/dpaa2/dpaa2_flow.c:1509:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1791: FILE: drivers/net/dpaa2/dpaa2_flow.c:1519:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1800: FILE: drivers/net/dpaa2/dpaa2_flow.c:1528:
+				DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1807: FILE: drivers/net/dpaa2/dpaa2_flow.c:1535:
+				if (rss_conf->queue[i] < (attr->group * nic_attr.num_queues) ||

WARNING:LONG_LINE: line over 90 characters
#1808: FILE: drivers/net/dpaa2/dpaa2_flow.c:1536:
+				    rss_conf->queue[i] >= ((attr->group + 1) * nic_attr.num_queues)) {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1809: FILE: drivers/net/dpaa2/dpaa2_flow.c:1537:
+					DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1819: FILE: drivers/net/dpaa2/dpaa2_flow.c:1547:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1832: FILE: drivers/net/dpaa2/dpaa2_flow.c:1560:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1848: FILE: drivers/net/dpaa2/dpaa2_flow.c:1576:
+				DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1857: FILE: drivers/net/dpaa2/dpaa2_flow.c:1585:
+					(uint8_t *)(size_t)priv->extract.qos_extract_param) < 0) {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1858: FILE: drivers/net/dpaa2/dpaa2_flow.c:1586:
+					DPAA2_PMD_ERR(

WARNING:LONG_LINE: line over 90 characters
#1866: FILE: drivers/net/dpaa2/dpaa2_flow.c:1594:
+				qos_cfg.key_cfg_iova = (size_t)priv->extract.qos_extract_param;

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1870: FILE: drivers/net/dpaa2/dpaa2_flow.c:1598:
+					DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1883: FILE: drivers/net/dpaa2/dpaa2_flow.c:1611:
+				DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1918: FILE: drivers/net/dpaa2/dpaa2_flow.c:1646:
+		DPAA2_PMD_ERR(

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pattern[j].last'
#1990: FILE: drivers/net/dpaa2/dpaa2_flow.c:1718:
+		if ((pattern[j].last) && (!pattern[j].mask))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!pattern[j].mask'
#1990: FILE: drivers/net/dpaa2/dpaa2_flow.c:1718:
+		if ((pattern[j].last) && (!pattern[j].mask))

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32)
#1997: FILE: drivers/net/dpaa2/dpaa2_flow.c:1725:
+		for (j = 0; j < MAX_TCS + 1; j++) {
+				for (k = 0; k < DPKG_MAX_NUM_OF_EXTRACTS; j++) {

WARNING:LONG_LINE: line over 90 characters
#1999: FILE: drivers/net/dpaa2/dpaa2_flow.c:1727:
+					if (dev_priv->pattern[j].pattern_type[k] == pattern[i].type)

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'actions[j].type != RTE_FLOW_ACTION_TYPE_DROP'
#2028: FILE: drivers/net/dpaa2/dpaa2_flow.c:1756:
+		if ((actions[j].type != RTE_FLOW_ACTION_TYPE_DROP) && (!actions[j].conf))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!actions[j].conf'
#2028: FILE: drivers/net/dpaa2/dpaa2_flow.c:1756:
+		if ((actions[j].type != RTE_FLOW_ACTION_TYPE_DROP) && (!actions[j].conf))

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2050: FILE: drivers/net/dpaa2/dpaa2_flow.c:1778:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2059: FILE: drivers/net/dpaa2/dpaa2_flow.c:1787:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2066: FILE: drivers/net/dpaa2/dpaa2_flow.c:1794:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2073: FILE: drivers/net/dpaa2/dpaa2_flow.c:1801:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2100: FILE: drivers/net/dpaa2/dpaa2_flow.c:1828:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2106: FILE: drivers/net/dpaa2/dpaa2_flow.c:1834:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2120: FILE: drivers/net/dpaa2/dpaa2_flow.c:1848:
+			DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2158: FILE: drivers/net/dpaa2/dpaa2_flow.c:1886:
+			DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2167: FILE: drivers/net/dpaa2/dpaa2_flow.c:1895:
+			DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2176: FILE: drivers/net/dpaa2/dpaa2_flow.c:1904:
+			DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2182: FILE: drivers/net/dpaa2/dpaa2_flow.c:1910:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2212: FILE: drivers/net/dpaa2/dpaa2_flow.c:1940:
+		DPAA2_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2221: FILE: drivers/net/dpaa2/dpaa2_flow.c:1949:
+			DPAA2_PMD_ERR(

total: 0 errors, 139 warnings, 33 checks, 2783 lines checked


More information about the test-report mailing list