* [dpdk-test-report] |WARNING| pw48193 [RFC] net/i40e: Match on outer and inner headers for tunneled packets
[not found] <1542641649-34059-1-git-send-email-subarna.kar@intel.com>
@ 2018-11-19 23:59 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-11-19 23:59 UTC (permalink / raw)
To: test-report; +Cc: subarna.kar
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/48193
_coding style issues_
WARNING:LONG_LINE: line over 90 characters
#42: FILE: drivers/net/i40e/i40e_ethdev.c:8924:
+ I40E_INSET_TUNNEL_IPV4_DST | I40E_INSET_TUNNEL_DST_PORT | I40E_INSET_TUNNEL_IPV6_DST ,
ERROR:SPACING: space prohibited before that ',' (ctx:WxE)
#42: FILE: drivers/net/i40e/i40e_ethdev.c:8924:
+ I40E_INSET_TUNNEL_IPV4_DST | I40E_INSET_TUNNEL_DST_PORT | I40E_INSET_TUNNEL_IPV6_DST ,
^
WARNING:LONG_LINE: line over 90 characters
#52: FILE: drivers/net/i40e/i40e_ethdev.c:8964:
+ I40E_INSET_IPV6_TC | I40E_INSET_IPV6_HOP_LIMIT | I40E_INSET_IPV6_NEXT_HDR |
CHECK:SPACING: space preferred before that '|' (ctx:VxE)
#53: FILE: drivers/net/i40e/i40e_ethdev.c:8965:
+ I40E_INSET_SRC_PORT | I40E_INSET_DST_PORT|
^
CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#209: FILE: drivers/net/i40e/i40e_ethdev.h:636:
+ bool tunnel; /*if its tunnel pkts, then allow inner headers. */
ERROR:CODE_INDENT: code indent should use tabs where possible
#220: FILE: drivers/net/i40e/i40e_ethdev.h:859:
+ I40E_TUNNEL_TYPE_MPLSoUDP,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#220: FILE: drivers/net/i40e/i40e_ethdev.h:859:
+ I40E_TUNNEL_TYPE_MPLSoUDP,$
CHECK:CAMELCASE: Avoid CamelCase: <I40E_TUNNEL_TYPE_MPLSoUDP>
#220: FILE: drivers/net/i40e/i40e_ethdev.h:859:
+ I40E_TUNNEL_TYPE_MPLSoUDP,
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#276: FILE: drivers/net/i40e/i40e_fdir.c:975:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv4>
#278: FILE: drivers/net/i40e/i40e_fdir.c:977:
+ *ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#279: FILE: drivers/net/i40e/i40e_fdir.c:978:
+^I^Iip->version_ihl = $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#282: FILE: drivers/net/i40e/i40e_fdir.c:981:
+^I^Iip->total_length = $
ERROR:SPACING: space required before the open parenthesis '('
#288: FILE: drivers/net/i40e/i40e_fdir.c:987:
+ if(fdir_input->flow_ext.tunnel_val == MPLSOGRE)
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#296: FILE: drivers/net/i40e/i40e_fdir.c:995:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) {
+
CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv6>
#298: FILE: drivers/net/i40e/i40e_fdir.c:997:
+ *ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv6);
CHECK:CAMELCASE: Avoid CamelCase: <I40E_FDIR_IPv6_DEFAULT_VTC_FLOW>
#299: FILE: drivers/net/i40e/i40e_fdir.c:998:
+ ip6->vtc_flow = rte_cpu_to_be_32(I40E_FDIR_IPv6_DEFAULT_VTC_FLOW);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#300: FILE: drivers/net/i40e/i40e_fdir.c:999:
+^I^Iip6->payload_len =^I$
CHECK:CAMELCASE: Avoid CamelCase: <I40E_FDIR_IPv6_PAYLOAD_LEN>
#301: FILE: drivers/net/i40e/i40e_fdir.c:1000:
+ rte_cpu_to_be_16(I40E_FDIR_IPv6_PAYLOAD_LEN);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#302: FILE: drivers/net/i40e/i40e_fdir.c:1001:
+^I^Iip6->hop_limits = ^I$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#302: FILE: drivers/net/i40e/i40e_fdir.c:1001:
+^I^Iip6->hop_limits = ^I$
CHECK:CAMELCASE: Avoid CamelCase: <I40E_FDIR_IPv6_DEFAULT_HOP_LIMITS>
#303: FILE: drivers/net/i40e/i40e_fdir.c:1002:
+ I40E_FDIR_IPv6_DEFAULT_HOP_LIMITS;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#305: FILE: drivers/net/i40e/i40e_fdir.c:1004:
+^I^Irte_memcpy(&ip6->src_addr, $
WARNING:LONG_LINE: line over 90 characters
#306: FILE: drivers/net/i40e/i40e_fdir.c:1005:
+ &fdir_input->flow.mpls6udp4_flow.outer6_udp.ip.src_ip, IPV6_ADDR_LEN);
WARNING:LONG_LINE: line over 90 characters
#308: FILE: drivers/net/i40e/i40e_fdir.c:1007:
+ &fdir_input->flow.mpls6udp4_flow.outer6_udp.ip.dst_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#312: FILE: drivers/net/i40e/i40e_fdir.c:1011:
+ ^Iif (fdir_input->flow_ext.tunnel_val == MPLSOGRE) {$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#312: FILE: drivers/net/i40e/i40e_fdir.c:1011:
+ ^Iif (fdir_input->flow_ext.tunnel_val == MPLSOGRE) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#312: FILE: drivers/net/i40e/i40e_fdir.c:1011:
+ ^Iif (fdir_input->flow_ext.tunnel_val == MPLSOGRE) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#313: FILE: drivers/net/i40e/i40e_fdir.c:1012:
+ ^I$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#313: FILE: drivers/net/i40e/i40e_fdir.c:1012:
+ ^I$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#313: FILE: drivers/net/i40e/i40e_fdir.c:1012:
+ ^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#313: FILE: drivers/net/i40e/i40e_fdir.c:1012:
+ if (fdir_input->flow_ext.tunnel_val == MPLSOGRE) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#315: FILE: drivers/net/i40e/i40e_fdir.c:1014:
+^I^Igre->protocol = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#317: FILE: drivers/net/i40e/i40e_fdir.c:1016:
+^I len += sizeof(struct rte_flow_item_gre);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#318: FILE: drivers/net/i40e/i40e_fdir.c:1017:
+^I raw_pkt += sizeof(struct rte_flow_item_gre);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#319: FILE: drivers/net/i40e/i40e_fdir.c:1018:
+ ^I} else {^I//now put UDP info for VXLAN and MPLSoUDP$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#319: FILE: drivers/net/i40e/i40e_fdir.c:1018:
+ ^I} else {^I//now put UDP info for VXLAN and MPLSoUDP$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#319: FILE: drivers/net/i40e/i40e_fdir.c:1018:
+ ^I} else {^I//now put UDP info for VXLAN and MPLSoUDP$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 17)
#319: FILE: drivers/net/i40e/i40e_fdir.c:1018:
+ } else { //now put UDP info for VXLAN and MPLSoUDP
[...]
+ udp = (struct udp_hdr *)raw_pkt;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#320: FILE: drivers/net/i40e/i40e_fdir.c:1019:
+^I $
ERROR:CODE_INDENT: code indent should use tabs where possible
#322: FILE: drivers/net/i40e/i40e_fdir.c:1021:
+^I if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){$
WARNING:TABSTOP: Statements should start on a tabstop
#322: FILE: drivers/net/i40e/i40e_fdir.c:1021:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:SPACING: space required before the open brace '{'
#322: FILE: drivers/net/i40e/i40e_fdir.c:1021:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:TRAILING_WHITESPACE: trailing whitespace
#323: FILE: drivers/net/i40e/i40e_fdir.c:1022:
+^I^I ^Iudp->src_port = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#323: FILE: drivers/net/i40e/i40e_fdir.c:1022:
+^I^I ^Iudp->src_port = $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#323: FILE: drivers/net/i40e/i40e_fdir.c:1022:
+^I^I ^Iudp->src_port = $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#325: FILE: drivers/net/i40e/i40e_fdir.c:1024:
+^I^I ^Iudp->dst_port = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#325: FILE: drivers/net/i40e/i40e_fdir.c:1024:
+^I^I ^Iudp->dst_port = $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#325: FILE: drivers/net/i40e/i40e_fdir.c:1024:
+^I^I ^Iudp->dst_port = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#327: FILE: drivers/net/i40e/i40e_fdir.c:1026:
+^I ^I} else {$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#327: FILE: drivers/net/i40e/i40e_fdir.c:1026:
+^I ^I} else {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#328: FILE: drivers/net/i40e/i40e_fdir.c:1027:
+^I $
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#328: FILE: drivers/net/i40e/i40e_fdir.c:1027:
+ } else {
+
WARNING:LONG_LINE: line over 90 characters
#329: FILE: drivers/net/i40e/i40e_fdir.c:1028:
+ udp->src_port = fdir_input->flow.mpls6udp4_flow.outer6_udp.src_port;
WARNING:LONG_LINE: line over 90 characters
#330: FILE: drivers/net/i40e/i40e_fdir.c:1029:
+ udp->dst_port = fdir_input->flow.mpls6udp4_flow.outer6_udp.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#330: FILE: drivers/net/i40e/i40e_fdir.c:1029:
+^I^I udp->dst_port = fdir_input->flow.mpls6udp4_flow.outer6_udp.dst_port;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#331: FILE: drivers/net/i40e/i40e_fdir.c:1030:
+^I ^I}$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#331: FILE: drivers/net/i40e/i40e_fdir.c:1030:
+^I ^I}$
ERROR:CODE_INDENT: code indent should use tabs where possible
#332: FILE: drivers/net/i40e/i40e_fdir.c:1031:
+^I ^Iudp->dgram_len = rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN);$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#332: FILE: drivers/net/i40e/i40e_fdir.c:1031:
+^I ^Iudp->dgram_len = rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#333: FILE: drivers/net/i40e/i40e_fdir.c:1032:
+^I ^Ilen += sizeof(struct udp_hdr);$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#333: FILE: drivers/net/i40e/i40e_fdir.c:1032:
+^I ^Ilen += sizeof(struct udp_hdr);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: drivers/net/i40e/i40e_fdir.c:1033:
+^I ^Iraw_pkt += sizeof(struct udp_hdr);$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#334: FILE: drivers/net/i40e/i40e_fdir.c:1033:
+^I ^Iraw_pkt += sizeof(struct udp_hdr);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#335: FILE: drivers/net/i40e/i40e_fdir.c:1034:
+ ^I}$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#335: FILE: drivers/net/i40e/i40e_fdir.c:1034:
+ ^I}$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#335: FILE: drivers/net/i40e/i40e_fdir.c:1034:
+ ^I}$
ERROR:CODE_INDENT: code indent should use tabs where possible
#336: FILE: drivers/net/i40e/i40e_fdir.c:1035:
+ if (fdir_input->flow_ext.tunnel_val == VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#336: FILE: drivers/net/i40e/i40e_fdir.c:1035:
+ if (fdir_input->flow_ext.tunnel_val == VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#337: FILE: drivers/net/i40e/i40e_fdir.c:1036:
+ $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#337: FILE: drivers/net/i40e/i40e_fdir.c:1036:
+ $
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#337: FILE: drivers/net/i40e/i40e_fdir.c:1036:
+ if (fdir_input->flow_ext.tunnel_val == VXLAN) {
+
ERROR:CODE_INDENT: code indent should use tabs where possible
#339: FILE: drivers/net/i40e/i40e_fdir.c:1038:
+^I if(fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {$
ERROR:SPACING: space required before the open parenthesis '('
#339: FILE: drivers/net/i40e/i40e_fdir.c:1038:
+ if(fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#340: FILE: drivers/net/i40e/i40e_fdir.c:1039:
+^I^I^Ivxlan->vni[0] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#341: FILE: drivers/net/i40e/i40e_fdir.c:1040:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[0];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#341: FILE: drivers/net/i40e/i40e_fdir.c:1040:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[0];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#342: FILE: drivers/net/i40e/i40e_fdir.c:1041:
+^I^I^Ivxlan->vni[1] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#343: FILE: drivers/net/i40e/i40e_fdir.c:1042:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[1];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#343: FILE: drivers/net/i40e/i40e_fdir.c:1042:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[1];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#344: FILE: drivers/net/i40e/i40e_fdir.c:1043:
+^I^I vxlan->vni[2] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#344: FILE: drivers/net/i40e/i40e_fdir.c:1043:
+^I^I vxlan->vni[2] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#345: FILE: drivers/net/i40e/i40e_fdir.c:1044:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[2];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#345: FILE: drivers/net/i40e/i40e_fdir.c:1044:
+ fdir_input->flow.vxlanudp4_flow.vxlan.vni[2];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#346: FILE: drivers/net/i40e/i40e_fdir.c:1045:
+^I ^I} else {$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#346: FILE: drivers/net/i40e/i40e_fdir.c:1045:
+^I ^I} else {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#347: FILE: drivers/net/i40e/i40e_fdir.c:1046:
+^I $
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#347: FILE: drivers/net/i40e/i40e_fdir.c:1046:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#348: FILE: drivers/net/i40e/i40e_fdir.c:1047:
+^I^I vxlan->vni[0] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#348: FILE: drivers/net/i40e/i40e_fdir.c:1047:
+^I^I vxlan->vni[0] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#349: FILE: drivers/net/i40e/i40e_fdir.c:1048:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[0];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#349: FILE: drivers/net/i40e/i40e_fdir.c:1048:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[0];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#350: FILE: drivers/net/i40e/i40e_fdir.c:1049:
+^I^I vxlan->vni[1] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#350: FILE: drivers/net/i40e/i40e_fdir.c:1049:
+^I^I vxlan->vni[1] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#351: FILE: drivers/net/i40e/i40e_fdir.c:1050:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[1];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#351: FILE: drivers/net/i40e/i40e_fdir.c:1050:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[1];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#352: FILE: drivers/net/i40e/i40e_fdir.c:1051:
+^I^I vxlan->vni[2] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#352: FILE: drivers/net/i40e/i40e_fdir.c:1051:
+^I^I vxlan->vni[2] = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#353: FILE: drivers/net/i40e/i40e_fdir.c:1052:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[2];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#353: FILE: drivers/net/i40e/i40e_fdir.c:1052:
+ fdir_input->flow.vxlan6udp4_flow.vxlan.vni[2];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#354: FILE: drivers/net/i40e/i40e_fdir.c:1053:
+^I ^I}$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#354: FILE: drivers/net/i40e/i40e_fdir.c:1053:
+^I ^I}$
ERROR:CODE_INDENT: code indent should use tabs where possible
#355: FILE: drivers/net/i40e/i40e_fdir.c:1054:
+^I vxlan->flags = VXLAN_DEFAULT_FLAG;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#356: FILE: drivers/net/i40e/i40e_fdir.c:1055:
+^I len += sizeof(struct rte_flow_item_vxlan);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#357: FILE: drivers/net/i40e/i40e_fdir.c:1056:
+ } else {$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (6, 11)
#357: FILE: drivers/net/i40e/i40e_fdir.c:1056:
+ } else {
[...]
+ mpls = (struct rte_flow_item_mpls *)raw_pkt;
ERROR:CODE_INDENT: code indent should use tabs where possible
#359: FILE: drivers/net/i40e/i40e_fdir.c:1058:
+ ^I mpls = (struct rte_flow_item_mpls *)raw_pkt;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#359: FILE: drivers/net/i40e/i40e_fdir.c:1058:
+ ^I mpls = (struct rte_flow_item_mpls *)raw_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#359: FILE: drivers/net/i40e/i40e_fdir.c:1058:
+ ^I mpls = (struct rte_flow_item_mpls *)raw_pkt;$
WARNING:TABSTOP: Statements should start on a tabstop
#360: FILE: drivers/net/i40e/i40e_fdir.c:1059:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (11, 19)
#360: FILE: drivers/net/i40e/i40e_fdir.c:1059:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
[...]
+ mpls->label_tc_s[0] =
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#361: FILE: drivers/net/i40e/i40e_fdir.c:1060:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#362: FILE: drivers/net/i40e/i40e_fdir.c:1061:
+^I^I mpls->label_tc_s[0] = $
WARNING:LONG_LINE: line over 90 characters
#363: FILE: drivers/net/i40e/i40e_fdir.c:1062:
+ fdir_input->flow.mplsudp4_flow.mpls.label_tc_s[0];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#364: FILE: drivers/net/i40e/i40e_fdir.c:1063:
+^I^I mpls->label_tc_s[1] = $
WARNING:LONG_LINE: line over 90 characters
#365: FILE: drivers/net/i40e/i40e_fdir.c:1064:
+ fdir_input->flow.mplsudp4_flow.mpls.label_tc_s[1];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#366: FILE: drivers/net/i40e/i40e_fdir.c:1065:
+^I^I mpls->label_tc_s[2] = $
WARNING:LONG_LINE: line over 90 characters
#367: FILE: drivers/net/i40e/i40e_fdir.c:1066:
+ fdir_input->flow.mplsudp4_flow.mpls.label_tc_s[2];
WARNING:TABSTOP: Statements should start on a tabstop
#368: FILE: drivers/net/i40e/i40e_fdir.c:1067:
+ } else {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (11, 19)
#368: FILE: drivers/net/i40e/i40e_fdir.c:1067:
+ } else {
[...]
+ mpls->label_tc_s[0] =
ERROR:TRAILING_WHITESPACE: trailing whitespace
#369: FILE: drivers/net/i40e/i40e_fdir.c:1068:
+ ^I $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#369: FILE: drivers/net/i40e/i40e_fdir.c:1068:
+ ^I $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#369: FILE: drivers/net/i40e/i40e_fdir.c:1068:
+ ^I $
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#369: FILE: drivers/net/i40e/i40e_fdir.c:1068:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#370: FILE: drivers/net/i40e/i40e_fdir.c:1069:
+^I^I mpls->label_tc_s[0] = $
WARNING:LONG_LINE: line over 90 characters
#371: FILE: drivers/net/i40e/i40e_fdir.c:1070:
+ fdir_input->flow.mpls6udp4_flow.mpls.label_tc_s[0];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#372: FILE: drivers/net/i40e/i40e_fdir.c:1071:
+^I^I mpls->label_tc_s[1] = $
WARNING:LONG_LINE: line over 90 characters
#373: FILE: drivers/net/i40e/i40e_fdir.c:1072:
+ fdir_input->flow.mpls6udp4_flow.mpls.label_tc_s[1];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#374: FILE: drivers/net/i40e/i40e_fdir.c:1073:
+^I^I mpls->label_tc_s[2] = $
WARNING:LONG_LINE: line over 90 characters
#375: FILE: drivers/net/i40e/i40e_fdir.c:1074:
+ fdir_input->flow.mpls6udp4_flow.mpls.label_tc_s[2];
WARNING:TABSTOP: Statements should start on a tabstop
#376: FILE: drivers/net/i40e/i40e_fdir.c:1075:
+ }
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#378: FILE: drivers/net/i40e/i40e_fdir.c:1077:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#379: FILE: drivers/net/i40e/i40e_fdir.c:1078:
+ return len;$
ERROR:SPACING: space required before the open parenthesis '('
#417: FILE: drivers/net/i40e/i40e_fdir.c:1143:
+ if(outer_len) { //we have a tunneled pkt
ERROR:TRAILING_WHITESPACE: trailing whitespace
#418: FILE: drivers/net/i40e/i40e_fdir.c:1144:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#420: FILE: drivers/net/i40e/i40e_fdir.c:1146:
+ if (fdir_input->flow_ext.tunnel_val != VXLAN) {
+
WARNING:LONG_LINE: line over 90 characters
#421: FILE: drivers/net/i40e/i40e_fdir.c:1147:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:SPACING: space required before the open brace '{'
#421: FILE: drivers/net/i40e/i40e_fdir.c:1147:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#422: FILE: drivers/net/i40e/i40e_fdir.c:1148:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#423: FILE: drivers/net/i40e/i40e_fdir.c:1149:
+^I^I^I^I^Iip->time_to_live = $
WARNING:LONG_LINE: line over 90 characters
#424: FILE: drivers/net/i40e/i40e_fdir.c:1150:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.ttl ?
WARNING:LONG_LINE: line over 90 characters
#425: FILE: drivers/net/i40e/i40e_fdir.c:1151:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.ttl :
ERROR:CODE_INDENT: code indent should use tabs where possible
#425: FILE: drivers/net/i40e/i40e_fdir.c:1151:
+^I ^I ^I^I^I^I^I fdir_input->flow.mplsudp4_flow.inner_udp.ip.ttl :$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#425: FILE: drivers/net/i40e/i40e_fdir.c:1151:
+^I ^I ^I^I^I^I^I fdir_input->flow.mplsudp4_flow.inner_udp.ip.ttl :$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#427: FILE: drivers/net/i40e/i40e_fdir.c:1153:
+^I^I^I^I^Iip->total_length = ^I$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#427: FILE: drivers/net/i40e/i40e_fdir.c:1153:
+^I^I^I^I^Iip->total_length = ^I$
WARNING:LONG_LINE: line over 90 characters
#428: FILE: drivers/net/i40e/i40e_fdir.c:1154:
+ rte_cpu_to_be_16(I40E_FDIR_IP_DEFAULT_LEN_INNER);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#429: FILE: drivers/net/i40e/i40e_fdir.c:1155:
+^I^I^I^I^Iip->type_of_service = $
WARNING:LONG_LINE: line over 90 characters
#430: FILE: drivers/net/i40e/i40e_fdir.c:1156:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.tos;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#431: FILE: drivers/net/i40e/i40e_fdir.c:1157:
+^I^I^I^I^Iip->src_addr = $
WARNING:LONG_LINE: line over 90 characters
#432: FILE: drivers/net/i40e/i40e_fdir.c:1158:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.dst_ip;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#433: FILE: drivers/net/i40e/i40e_fdir.c:1159:
+^I^I^I^I^Iip->dst_addr = $
WARNING:LONG_LINE: line over 90 characters
#434: FILE: drivers/net/i40e/i40e_fdir.c:1160:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.src_ip;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#435: FILE: drivers/net/i40e/i40e_fdir.c:1161:
+^I^I^I^I^Iip->next_proto_id = $
WARNING:LONG_LINE: line over 90 characters
#436: FILE: drivers/net/i40e/i40e_fdir.c:1162:
+ fdir_input->flow.mplsudp4_flow.inner_udp.ip.proto;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#438: FILE: drivers/net/i40e/i40e_fdir.c:1164:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#438: FILE: drivers/net/i40e/i40e_fdir.c:1164:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#439: FILE: drivers/net/i40e/i40e_fdir.c:1165:
+^I^I^I^I^Iip->time_to_live = $
WARNING:LONG_LINE: line over 90 characters
#440: FILE: drivers/net/i40e/i40e_fdir.c:1166:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.ttl ?
WARNING:LONG_LINE: line over 90 characters
#441: FILE: drivers/net/i40e/i40e_fdir.c:1167:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.ttl :
ERROR:CODE_INDENT: code indent should use tabs where possible
#442: FILE: drivers/net/i40e/i40e_fdir.c:1168:
+^I^I^I^I^I^I I40E_FDIR_IP_DEFAULT_TTL;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#443: FILE: drivers/net/i40e/i40e_fdir.c:1169:
+^I^I^I^I^Iip->total_length = ^I$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#443: FILE: drivers/net/i40e/i40e_fdir.c:1169:
+^I^I^I^I^Iip->total_length = ^I$
WARNING:LONG_LINE: line over 90 characters
#444: FILE: drivers/net/i40e/i40e_fdir.c:1170:
+ rte_cpu_to_be_16(I40E_FDIR_IP_DEFAULT_LEN_INNER);
ERROR:CODE_INDENT: code indent should use tabs where possible
#444: FILE: drivers/net/i40e/i40e_fdir.c:1170:
+^I^I^I^I^I^I rte_cpu_to_be_16(I40E_FDIR_IP_DEFAULT_LEN_INNER);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#445: FILE: drivers/net/i40e/i40e_fdir.c:1171:
+^I^I^I^I^Iip->type_of_service = $
WARNING:LONG_LINE: line over 90 characters
#446: FILE: drivers/net/i40e/i40e_fdir.c:1172:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.tos;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#447: FILE: drivers/net/i40e/i40e_fdir.c:1173:
+^I^I^I^I^Iip->src_addr = $
WARNING:LONG_LINE: line over 90 characters
#448: FILE: drivers/net/i40e/i40e_fdir.c:1174:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.dst_ip;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#449: FILE: drivers/net/i40e/i40e_fdir.c:1175:
+^I^I^I^I^Iip->dst_addr = $
WARNING:LONG_LINE: line over 90 characters
#450: FILE: drivers/net/i40e/i40e_fdir.c:1176:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.src_ip;
ERROR:CODE_INDENT: code indent should use tabs where possible
#450: FILE: drivers/net/i40e/i40e_fdir.c:1176:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.src_ip;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#450: FILE: drivers/net/i40e/i40e_fdir.c:1176:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.src_ip;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#451: FILE: drivers/net/i40e/i40e_fdir.c:1177:
+^I^I^I^I^Iip->next_proto_id = $
WARNING:LONG_LINE: line over 90 characters
#452: FILE: drivers/net/i40e/i40e_fdir.c:1178:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.ip.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#452: FILE: drivers/net/i40e/i40e_fdir.c:1178:
+ ^I^I^I^I^I^I^I fdir_input->flow.mpls6udp4_flow.inner_udp.ip.proto;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#452: FILE: drivers/net/i40e/i40e_fdir.c:1178:
+ ^I^I^I^I^I^I^I fdir_input->flow.mpls6udp4_flow.inner_udp.ip.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#452: FILE: drivers/net/i40e/i40e_fdir.c:1178:
+ ^I^I^I^I^I^I^I fdir_input->flow.mpls6udp4_flow.inner_udp.ip.proto;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#456: FILE: drivers/net/i40e/i40e_fdir.c:1182:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#456: FILE: drivers/net/i40e/i40e_fdir.c:1182:
+ } else {
+
WARNING:LONG_LINE: line over 90 characters
#457: FILE: drivers/net/i40e/i40e_fdir.c:1183:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#458: FILE: drivers/net/i40e/i40e_fdir.c:1184:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#459: FILE: drivers/net/i40e/i40e_fdir.c:1185:
+^I^I^I^I^Iip->time_to_live = $
WARNING:LONG_LINE: line over 90 characters
#460: FILE: drivers/net/i40e/i40e_fdir.c:1186:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.ttl ?
WARNING:LONG_LINE: line over 90 characters
#461: FILE: drivers/net/i40e/i40e_fdir.c:1187:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.ttl :
ERROR:TRAILING_WHITESPACE: trailing whitespace
#463: FILE: drivers/net/i40e/i40e_fdir.c:1189:
+^I^I^I^I^Iip->total_length = $
WARNING:LONG_LINE: line over 90 characters
#464: FILE: drivers/net/i40e/i40e_fdir.c:1190:
+ rte_cpu_to_be_16(I40E_FDIR_IP_DEFAULT_LEN_INNER);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#465: FILE: drivers/net/i40e/i40e_fdir.c:1191:
+^I^I^I^I^Iip->type_of_service = $
WARNING:LONG_LINE: line over 90 characters
#466: FILE: drivers/net/i40e/i40e_fdir.c:1192:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.tos;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#467: FILE: drivers/net/i40e/i40e_fdir.c:1193:
+^I^I^I^I^Iip->src_addr = $
WARNING:LONG_LINE: line over 90 characters
#468: FILE: drivers/net/i40e/i40e_fdir.c:1194:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.dst_ip;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#469: FILE: drivers/net/i40e/i40e_fdir.c:1195:
+^I^I^I^I^Iip->dst_addr = $
WARNING:LONG_LINE: line over 90 characters
#470: FILE: drivers/net/i40e/i40e_fdir.c:1196:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.src_ip;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#471: FILE: drivers/net/i40e/i40e_fdir.c:1197:
+^I^I^I^I^Iip->next_proto_id = $
WARNING:LONG_LINE: line over 90 characters
#472: FILE: drivers/net/i40e/i40e_fdir.c:1198:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.ip.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#472: FILE: drivers/net/i40e/i40e_fdir.c:1198:
+ ^I^I^I^I^I^I^I fdir_input->flow.vxlanudp4_flow.inner_udp.ip.proto;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#472: FILE: drivers/net/i40e/i40e_fdir.c:1198:
+ ^I^I^I^I^I^I^I fdir_input->flow.vxlanudp4_flow.inner_udp.ip.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#472: FILE: drivers/net/i40e/i40e_fdir.c:1198:
+ ^I^I^I^I^I^I^I fdir_input->flow.vxlanudp4_flow.inner_udp.ip.proto;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#474: FILE: drivers/net/i40e/i40e_fdir.c:1200:
+^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#474: FILE: drivers/net/i40e/i40e_fdir.c:1200:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#475: FILE: drivers/net/i40e/i40e_fdir.c:1201:
+^I^I^I^I^Iip->time_to_live = $
WARNING:LONG_LINE: line over 90 characters
#476: FILE: drivers/net/i40e/i40e_fdir.c:1202:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl ?
ERROR:CODE_INDENT: code indent should use tabs where possible
#476: FILE: drivers/net/i40e/i40e_fdir.c:1202:
+ ^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl ?$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#476: FILE: drivers/net/i40e/i40e_fdir.c:1202:
+ ^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl ?$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#476: FILE: drivers/net/i40e/i40e_fdir.c:1202:
+ ^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl ?$
WARNING:LONG_LINE: line over 90 characters
#477: FILE: drivers/net/i40e/i40e_fdir.c:1203:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl :
ERROR:CODE_INDENT: code indent should use tabs where possible
#477: FILE: drivers/net/i40e/i40e_fdir.c:1203:
+^I^I ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl :$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#477: FILE: drivers/net/i40e/i40e_fdir.c:1203:
+^I^I ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.ttl :$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#479: FILE: drivers/net/i40e/i40e_fdir.c:1205:
+^I^I^I^I^Iip->total_length = $
WARNING:LONG_LINE: line over 90 characters
#480: FILE: drivers/net/i40e/i40e_fdir.c:1206:
+ rte_cpu_to_be_16(I40E_FDIR_IP_DEFAULT_LEN_INNER);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#481: FILE: drivers/net/i40e/i40e_fdir.c:1207:
+^I^I^I^I^Iip->type_of_service = $
WARNING:LONG_LINE: line over 90 characters
#482: FILE: drivers/net/i40e/i40e_fdir.c:1208:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.tos;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#483: FILE: drivers/net/i40e/i40e_fdir.c:1209:
+^I^I^I^I^Iip->src_addr = $
WARNING:LONG_LINE: line over 90 characters
#484: FILE: drivers/net/i40e/i40e_fdir.c:1210:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.dst_ip;
ERROR:CODE_INDENT: code indent should use tabs where possible
#484: FILE: drivers/net/i40e/i40e_fdir.c:1210:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.dst_ip;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#484: FILE: drivers/net/i40e/i40e_fdir.c:1210:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.dst_ip;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#484: FILE: drivers/net/i40e/i40e_fdir.c:1210:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.dst_ip;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#485: FILE: drivers/net/i40e/i40e_fdir.c:1211:
+^I^I^I^I^Iip->dst_addr = $
WARNING:LONG_LINE: line over 90 characters
#486: FILE: drivers/net/i40e/i40e_fdir.c:1212:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.src_ip;
ERROR:CODE_INDENT: code indent should use tabs where possible
#486: FILE: drivers/net/i40e/i40e_fdir.c:1212:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.src_ip;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#486: FILE: drivers/net/i40e/i40e_fdir.c:1212:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.src_ip;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#486: FILE: drivers/net/i40e/i40e_fdir.c:1212:
+ ^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.src_ip;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#487: FILE: drivers/net/i40e/i40e_fdir.c:1213:
+^I^I^I^I^Iip->next_proto_id = $
WARNING:LONG_LINE: line over 90 characters
#488: FILE: drivers/net/i40e/i40e_fdir.c:1214:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#488: FILE: drivers/net/i40e/i40e_fdir.c:1214:
+ ^I^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.proto;$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#488: FILE: drivers/net/i40e/i40e_fdir.c:1214:
+ ^I^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#488: FILE: drivers/net/i40e/i40e_fdir.c:1214:
+ ^I^I^I^I^I^I fdir_input->flow.vxlan6udp4_flow.inner_udp.ip.proto;$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#493: FILE: drivers/net/i40e/i40e_fdir.c:1219:
+ } else {
+
WARNING:LONG_LINE: line over 90 characters
#497: FILE: drivers/net/i40e/i40e_fdir.c:1223:
+ fdir_input->flow.ip4_flow.ttl :I40E_FDIR_IP_DEFAULT_TTL;
ERROR:CODE_INDENT: code indent should use tabs where possible
#497: FILE: drivers/net/i40e/i40e_fdir.c:1223:
+^I^I^I^I fdir_input->flow.ip4_flow.ttl :I40E_FDIR_IP_DEFAULT_TTL;$
ERROR:SPACING: spaces required around that ':' (ctx:WxV)
#497: FILE: drivers/net/i40e/i40e_fdir.c:1223:
+ fdir_input->flow.ip4_flow.ttl :I40E_FDIR_IP_DEFAULT_TTL;
^
ERROR:TRAILING_WHITESPACE: trailing whitespace
#509: FILE: drivers/net/i40e/i40e_fdir.c:1243:
+^I^Ilen += sizeof(struct ipv4_hdr); $
ERROR:CODE_INDENT: code indent should use tabs where possible
#510: FILE: drivers/net/i40e/i40e_fdir.c:1244:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#510: FILE: drivers/net/i40e/i40e_fdir.c:1244:
+ }$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#522: FILE: drivers/net/i40e/i40e_fdir.c:1255:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#522: FILE: drivers/net/i40e/i40e_fdir.c:1255:
+ if (outer_len) {
+
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#527: FILE: drivers/net/i40e/i40e_fdir.c:1260:
+ if (fdir_input->flow_ext.tunnel_val != VXLAN) {
+
WARNING:LONG_LINE: line over 90 characters
#528: FILE: drivers/net/i40e/i40e_fdir.c:1261:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#529: FILE: drivers/net/i40e/i40e_fdir.c:1262:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#530: FILE: drivers/net/i40e/i40e_fdir.c:1263:
+^I^I^I^I ^Iip6->proto = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#530: FILE: drivers/net/i40e/i40e_fdir.c:1263:
+^I^I^I^I ^Iip6->proto = $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#530: FILE: drivers/net/i40e/i40e_fdir.c:1263:
+^I^I^I^I ^Iip6->proto = $
WARNING:LONG_LINE: line over 90 characters
#531: FILE: drivers/net/i40e/i40e_fdir.c:1264:
+ fdir_input->flow.mplsudp6_flow.inner6_udp.ip.proto;
WARNING:LONG_LINE: line over 90 characters
#533: FILE: drivers/net/i40e/i40e_fdir.c:1266:
+ &fdir_input->flow.mplsudp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#533: FILE: drivers/net/i40e/i40e_fdir.c:1266:
+^I^I^I^I^I &fdir_input->flow.mplsudp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#534: FILE: drivers/net/i40e/i40e_fdir.c:1267:
+ ^I^I^I^I rte_memcpy(&ip6->dst_addr, $
ERROR:CODE_INDENT: code indent should use tabs where possible
#534: FILE: drivers/net/i40e/i40e_fdir.c:1267:
+ ^I^I^I^I rte_memcpy(&ip6->dst_addr, $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#534: FILE: drivers/net/i40e/i40e_fdir.c:1267:
+ ^I^I^I^I rte_memcpy(&ip6->dst_addr, $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#534: FILE: drivers/net/i40e/i40e_fdir.c:1267:
+ ^I^I^I^I rte_memcpy(&ip6->dst_addr, $
WARNING:LONG_LINE: line over 90 characters
#535: FILE: drivers/net/i40e/i40e_fdir.c:1268:
+ &fdir_input->flow.mplsudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#535: FILE: drivers/net/i40e/i40e_fdir.c:1268:
+ &fdir_input->flow.mplsudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#535: FILE: drivers/net/i40e/i40e_fdir.c:1268:
+ &fdir_input->flow.mplsudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#536: FILE: drivers/net/i40e/i40e_fdir.c:1269:
+^I^I^I ^I} else {$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#536: FILE: drivers/net/i40e/i40e_fdir.c:1269:
+^I^I^I ^I} else {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#537: FILE: drivers/net/i40e/i40e_fdir.c:1270:
+^I^I^I $
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#537: FILE: drivers/net/i40e/i40e_fdir.c:1270:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#538: FILE: drivers/net/i40e/i40e_fdir.c:1271:
+^I^I^I^I^Iip6->proto = $
WARNING:LONG_LINE: line over 90 characters
#539: FILE: drivers/net/i40e/i40e_fdir.c:1272:
+ fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#539: FILE: drivers/net/i40e/i40e_fdir.c:1272:
+^I^I^I^I^I fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.proto;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#540: FILE: drivers/net/i40e/i40e_fdir.c:1273:
+^I^I^I^I ^Irte_memcpy(&ip6->src_addr,$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#540: FILE: drivers/net/i40e/i40e_fdir.c:1273:
+^I^I^I^I ^Irte_memcpy(&ip6->src_addr,$
WARNING:LONG_LINE: line over 90 characters
#541: FILE: drivers/net/i40e/i40e_fdir.c:1274:
+ &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#541: FILE: drivers/net/i40e/i40e_fdir.c:1274:
+ ^I &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#541: FILE: drivers/net/i40e/i40e_fdir.c:1274:
+ ^I &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#541: FILE: drivers/net/i40e/i40e_fdir.c:1274:
+ ^I &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#542: FILE: drivers/net/i40e/i40e_fdir.c:1275:
+^I^I^I^I ^Irte_memcpy(&ip6->dst_addr, $
ERROR:CODE_INDENT: code indent should use tabs where possible
#542: FILE: drivers/net/i40e/i40e_fdir.c:1275:
+^I^I^I^I ^Irte_memcpy(&ip6->dst_addr, $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#542: FILE: drivers/net/i40e/i40e_fdir.c:1275:
+^I^I^I^I ^Irte_memcpy(&ip6->dst_addr, $
WARNING:LONG_LINE: line over 90 characters
#543: FILE: drivers/net/i40e/i40e_fdir.c:1276:
+ &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#543: FILE: drivers/net/i40e/i40e_fdir.c:1276:
+^I^I^I^I^I &fdir_input->flow.mpls6udp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
WARNING:TABSTOP: Statements should start on a tabstop
#544: FILE: drivers/net/i40e/i40e_fdir.c:1277:
+ }
ERROR:TRAILING_WHITESPACE: trailing whitespace
#546: FILE: drivers/net/i40e/i40e_fdir.c:1279:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#546: FILE: drivers/net/i40e/i40e_fdir.c:1279:
+ } else {
+
WARNING:LONG_LINE: line over 90 characters
#547: FILE: drivers/net/i40e/i40e_fdir.c:1280:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:SPACING: space required before the open brace '{'
#547: FILE: drivers/net/i40e/i40e_fdir.c:1280:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:TRAILING_WHITESPACE: trailing whitespace
#548: FILE: drivers/net/i40e/i40e_fdir.c:1281:
+^I^I^I^I^Iip6->proto = $
WARNING:LONG_LINE: line over 90 characters
#549: FILE: drivers/net/i40e/i40e_fdir.c:1282:
+ fdir_input->flow.vxlanudp6_flow.inner6_udp.ip.proto;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#550: FILE: drivers/net/i40e/i40e_fdir.c:1283:
+^I^I^I^I^Irte_memcpy(&ip6->src_addr, $
WARNING:LONG_LINE: line over 90 characters
#551: FILE: drivers/net/i40e/i40e_fdir.c:1284:
+ &fdir_input->flow.vxlanudp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#552: FILE: drivers/net/i40e/i40e_fdir.c:1285:
+^I^I^I^I^Irte_memcpy(&ip6->dst_addr, $
WARNING:LONG_LINE: line over 90 characters
#553: FILE: drivers/net/i40e/i40e_fdir.c:1286:
+ &fdir_input->flow.vxlanudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#553: FILE: drivers/net/i40e/i40e_fdir.c:1286:
+ &fdir_input->flow.vxlanudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#553: FILE: drivers/net/i40e/i40e_fdir.c:1286:
+ &fdir_input->flow.vxlanudp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#555: FILE: drivers/net/i40e/i40e_fdir.c:1288:
+^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#555: FILE: drivers/net/i40e/i40e_fdir.c:1288:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#556: FILE: drivers/net/i40e/i40e_fdir.c:1289:
+^I^I^I^I^Iip6->proto = $
WARNING:LONG_LINE: line over 90 characters
#557: FILE: drivers/net/i40e/i40e_fdir.c:1290:
+ fdir_input->flow.vxlan6udp6_flow.inner6_udp.ip.proto;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#558: FILE: drivers/net/i40e/i40e_fdir.c:1291:
+^I^I^I^I^Irte_memcpy(&ip6->src_addr, $
WARNING:LONG_LINE: line over 90 characters
#559: FILE: drivers/net/i40e/i40e_fdir.c:1292:
+ &fdir_input->flow.vxlan6udp6_flow.inner6_udp.ip.dst_ip, IPV6_ADDR_LEN);
WARNING:LONG_LINE: line over 90 characters
#561: FILE: drivers/net/i40e/i40e_fdir.c:1294:
+ &fdir_input->flow.vxlan6udp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);
ERROR:CODE_INDENT: code indent should use tabs where possible
#561: FILE: drivers/net/i40e/i40e_fdir.c:1294:
+^I^I^I^I^I &fdir_input->flow.vxlan6udp6_flow.inner6_udp.ip.src_ip, IPV6_ADDR_LEN);$
ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#566: FILE: drivers/net/i40e/i40e_fdir.c:1299:
+ }
+ else {
CHECK:BRACES: Unbalanced braces around else statement
#566: FILE: drivers/net/i40e/i40e_fdir.c:1299:
+ else {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#599: FILE: drivers/net/i40e/i40e_fdir.c:1317:
+^I^I^Irte_memcpy(&ip6->src_addr, $
WARNING:BRACES: braces {} are not necessary for single statement blocks
#623: FILE: drivers/net/i40e/i40e_fdir.c:1366:
+ if (fdir_input->flow_ext.tunnel) {
+
+ outer_len = i40e_flow_fdir_fill_outer_header(fdir_input, raw_pkt);
+ }
ERROR:TRAILING_WHITESPACE: trailing whitespace
#624: FILE: drivers/net/i40e/i40e_fdir.c:1367:
+^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#624: FILE: drivers/net/i40e/i40e_fdir.c:1367:
+ if (fdir_input->flow_ext.tunnel) {
+
ERROR:CODE_INDENT: code indent should use tabs where possible
#632: FILE: drivers/net/i40e/i40e_fdir.c:1374:
+ outer_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#632: FILE: drivers/net/i40e/i40e_fdir.c:1374:
+ outer_len);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#644: FILE: drivers/net/i40e/i40e_fdir.c:1388:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#644: FILE: drivers/net/i40e/i40e_fdir.c:1388:
+ if (fdir_input->flow_ext.tunnel_val != VXLAN) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#646: FILE: drivers/net/i40e/i40e_fdir.c:1390:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#646: FILE: drivers/net/i40e/i40e_fdir.c:1390:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#647: FILE: drivers/net/i40e/i40e_fdir.c:1391:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#648: FILE: drivers/net/i40e/i40e_fdir.c:1392:
+ fdir_input->flow.mplsudp4_flow.inner_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#649: FILE: drivers/net/i40e/i40e_fdir.c:1393:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#650: FILE: drivers/net/i40e/i40e_fdir.c:1394:
+ fdir_input->flow.mplsudp4_flow.inner_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#651: FILE: drivers/net/i40e/i40e_fdir.c:1395:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#652: FILE: drivers/net/i40e/i40e_fdir.c:1396:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#654: FILE: drivers/net/i40e/i40e_fdir.c:1398:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#655: FILE: drivers/net/i40e/i40e_fdir.c:1399:
+^I^I^I^Iudp->src_port = ^I$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#655: FILE: drivers/net/i40e/i40e_fdir.c:1399:
+^I^I^I^Iudp->src_port = ^I$
WARNING:LONG_LINE: line over 90 characters
#656: FILE: drivers/net/i40e/i40e_fdir.c:1400:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#657: FILE: drivers/net/i40e/i40e_fdir.c:1401:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#658: FILE: drivers/net/i40e/i40e_fdir.c:1402:
+ fdir_input->flow.mpls6udp4_flow.inner_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#659: FILE: drivers/net/i40e/i40e_fdir.c:1403:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#660: FILE: drivers/net/i40e/i40e_fdir.c:1404:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#663: FILE: drivers/net/i40e/i40e_fdir.c:1407:
+ }
+ else if (fdir_input->flow_ext.tunnel_val == VXLAN) {
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#664: FILE: drivers/net/i40e/i40e_fdir.c:1408:
+ else if (fdir_input->flow_ext.tunnel_val == VXLAN) {
+
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#666: FILE: drivers/net/i40e/i40e_fdir.c:1410:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#667: FILE: drivers/net/i40e/i40e_fdir.c:1411:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#668: FILE: drivers/net/i40e/i40e_fdir.c:1412:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#669: FILE: drivers/net/i40e/i40e_fdir.c:1413:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#670: FILE: drivers/net/i40e/i40e_fdir.c:1414:
+ fdir_input->flow.vxlanudp4_flow.inner_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#671: FILE: drivers/net/i40e/i40e_fdir.c:1415:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#672: FILE: drivers/net/i40e/i40e_fdir.c:1416:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#674: FILE: drivers/net/i40e/i40e_fdir.c:1418:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#675: FILE: drivers/net/i40e/i40e_fdir.c:1419:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#676: FILE: drivers/net/i40e/i40e_fdir.c:1420:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#677: FILE: drivers/net/i40e/i40e_fdir.c:1421:
+ fdir_input->flow.vxlan6udp4_flow.inner_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#678: FILE: drivers/net/i40e/i40e_fdir.c:1422:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#679: FILE: drivers/net/i40e/i40e_fdir.c:1423:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:SPACING: space required before the open brace '{'
#681: FILE: drivers/net/i40e/i40e_fdir.c:1425:
+ } else{
ERROR:SPACING: space required before the open brace '{'
#696: FILE: drivers/net/i40e/i40e_fdir.c:1464:
+ if (fdir_input->flow_ext.tunnel_val != VXLAN){
ERROR:TRAILING_WHITESPACE: trailing whitespace
#697: FILE: drivers/net/i40e/i40e_fdir.c:1465:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#697: FILE: drivers/net/i40e/i40e_fdir.c:1465:
+ if (fdir_input->flow_ext.tunnel_val != VXLAN){
+
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#699: FILE: drivers/net/i40e/i40e_fdir.c:1467:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#700: FILE: drivers/net/i40e/i40e_fdir.c:1468:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#701: FILE: drivers/net/i40e/i40e_fdir.c:1469:
+ fdir_input->flow.mplsudp6_flow.inner6_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#702: FILE: drivers/net/i40e/i40e_fdir.c:1470:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#703: FILE: drivers/net/i40e/i40e_fdir.c:1471:
+ fdir_input->flow.mplsudp6_flow.inner6_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#704: FILE: drivers/net/i40e/i40e_fdir.c:1472:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#705: FILE: drivers/net/i40e/i40e_fdir.c:1473:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:SPACING: space required after that close brace '}'
#706: FILE: drivers/net/i40e/i40e_fdir.c:1474:
+ }else {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#707: FILE: drivers/net/i40e/i40e_fdir.c:1475:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#707: FILE: drivers/net/i40e/i40e_fdir.c:1475:
+ }else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#708: FILE: drivers/net/i40e/i40e_fdir.c:1476:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#709: FILE: drivers/net/i40e/i40e_fdir.c:1477:
+ fdir_input->flow.mpls6udp6_flow.inner6_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#710: FILE: drivers/net/i40e/i40e_fdir.c:1478:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#711: FILE: drivers/net/i40e/i40e_fdir.c:1479:
+ fdir_input->flow.mpls6udp6_flow.inner6_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#712: FILE: drivers/net/i40e/i40e_fdir.c:1480:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#713: FILE: drivers/net/i40e/i40e_fdir.c:1481:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:SPACING: space required after that close brace '}'
#715: FILE: drivers/net/i40e/i40e_fdir.c:1483:
+ }else if (fdir_input->flow_ext.tunnel_val == VXLAN) {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#716: FILE: drivers/net/i40e/i40e_fdir.c:1484:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#716: FILE: drivers/net/i40e/i40e_fdir.c:1484:
+ }else if (fdir_input->flow_ext.tunnel_val == VXLAN) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#718: FILE: drivers/net/i40e/i40e_fdir.c:1486:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#718: FILE: drivers/net/i40e/i40e_fdir.c:1486:
+ if (fdir_input->flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#719: FILE: drivers/net/i40e/i40e_fdir.c:1487:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#720: FILE: drivers/net/i40e/i40e_fdir.c:1488:
+ fdir_input->flow.vxlanudp6_flow.inner6_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#721: FILE: drivers/net/i40e/i40e_fdir.c:1489:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#722: FILE: drivers/net/i40e/i40e_fdir.c:1490:
+ fdir_input->flow.vxlanudp6_flow.inner6_udp.src_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#723: FILE: drivers/net/i40e/i40e_fdir.c:1491:
+^I^I^I^Iudp->dgram_len = $
WARNING:LONG_LINE: line over 90 characters
#724: FILE: drivers/net/i40e/i40e_fdir.c:1492:
+ rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:TRAILING_WHITESPACE: trailing whitespace
#725: FILE: drivers/net/i40e/i40e_fdir.c:1493:
+^I^I^I}else{^I^I^I$
ERROR:SPACING: space required before the open brace '{'
#725: FILE: drivers/net/i40e/i40e_fdir.c:1493:
+ }else{
ERROR:SPACING: space required after that close brace '}'
#725: FILE: drivers/net/i40e/i40e_fdir.c:1493:
+ }else{
ERROR:TRAILING_WHITESPACE: trailing whitespace
#726: FILE: drivers/net/i40e/i40e_fdir.c:1494:
+^I^I^I^Iudp->src_port = $
WARNING:LONG_LINE: line over 90 characters
#727: FILE: drivers/net/i40e/i40e_fdir.c:1495:
+ fdir_input->flow.vxlan6udp6_flow.inner6_udp.dst_port;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#728: FILE: drivers/net/i40e/i40e_fdir.c:1496:
+^I^I^I^Iudp->dst_port = $
WARNING:LONG_LINE: line over 90 characters
#729: FILE: drivers/net/i40e/i40e_fdir.c:1497:
+ fdir_input->flow.vxlan6udp6_flow.inner6_udp.src_port;
WARNING:LONG_LINE: line over 90 characters
#730: FILE: drivers/net/i40e/i40e_fdir.c:1498:
+ udp->dgram_len = rte_cpu_to_be_16(I40E_FDIR_UDP_DEFAULT_LEN_INNER);
ERROR:SPACING: space required after that close brace '}'
#732: FILE: drivers/net/i40e/i40e_fdir.c:1500:
+ }else {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#735: FILE: drivers/net/i40e/i40e_fdir.c:1503:
+^I^I^Iudp->dgram_len = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#736: FILE: drivers/net/i40e/i40e_fdir.c:1504:
+ rte_cpu_to_be_16(I40E_FDIR_IPv6_PAYLOAD_LEN);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#736: FILE: drivers/net/i40e/i40e_fdir.c:1504:
+ rte_cpu_to_be_16(I40E_FDIR_IPv6_PAYLOAD_LEN);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#767: FILE: drivers/net/i40e/i40e_flow.c:84:
+^I ^I^I^I^I const struct rte_flow_attr *attr,$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#767: FILE: drivers/net/i40e/i40e_flow.c:84:
+^I ^I^I^I^I const struct rte_flow_attr *attr,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#768: FILE: drivers/net/i40e/i40e_flow.c:85:
+^I^I^I ^I const struct rte_flow_item pattern[],$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#768: FILE: drivers/net/i40e/i40e_flow.c:85:
+^I^I^I ^I const struct rte_flow_item pattern[],$
ERROR:CODE_INDENT: code indent should use tabs where possible
#769: FILE: drivers/net/i40e/i40e_flow.c:86:
+^I const struct rte_flow_action actions[],$
ERROR:CODE_INDENT: code indent should use tabs where possible
#770: FILE: drivers/net/i40e/i40e_flow.c:87:
+^I struct rte_flow_error *error,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#771: FILE: drivers/net/i40e/i40e_flow.c:88:
+ ^I union i40e_filter_t *filter);$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#771: FILE: drivers/net/i40e/i40e_flow.c:88:
+ ^I union i40e_filter_t *filter);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#771: FILE: drivers/net/i40e/i40e_flow.c:88:
+ ^I union i40e_filter_t *filter);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#967: FILE: drivers/net/i40e/i40e_flow.c:2570:
+^I const struct rte_flow_item *pattern,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#968: FILE: drivers/net/i40e/i40e_flow.c:2571:
+^I struct rte_flow_error *error,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#969: FILE: drivers/net/i40e/i40e_flow.c:2572:
+^I struct i40e_fdir_filter_conf *filter)$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#985: FILE: drivers/net/i40e/i40e_flow.c:2588:
+^Ibool outer_ip = true; $
ERROR:CODE_INDENT: code indent should use tabs where possible
#986: FILE: drivers/net/i40e/i40e_flow.c:2589:
+ bool outer_udp = true;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#986: FILE: drivers/net/i40e/i40e_flow.c:2589:
+ bool outer_udp = true;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#997: FILE: drivers/net/i40e/i40e_flow.c:2600:
+^I ^I^Irte_flow_error_set(error, EINVAL,$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#997: FILE: drivers/net/i40e/i40e_flow.c:2600:
+^I ^I^Irte_flow_error_set(error, EINVAL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1013: FILE: drivers/net/i40e/i40e_flow.c:2616:
+^I^I^I^I^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1014: FILE: drivers/net/i40e/i40e_flow.c:2617:
+^I^I^I^I^I^I item,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1015: FILE: drivers/net/i40e/i40e_flow.c:2618:
+^I^I^I^I^I^I "Invalid MAC_addr mask.");$
ERROR:SPACING: spaces prohibited around that '->' (ctx:WxW)
#1035: FILE: drivers/net/i40e/i40e_flow.c:2638:
+ ipv4_mask -> hdr.src_addr ||
^
ERROR:SPACING: spaces prohibited around that '->' (ctx:WxW)
#1036: FILE: drivers/net/i40e/i40e_flow.c:2639:
+ ipv4_mask -> hdr.type_of_service ||
^
WARNING:LONG_LINE: line over 90 characters
#1037: FILE: drivers/net/i40e/i40e_flow.c:2640:
+ ipv4_mask->hdr.time_to_live || ipv4_mask->hdr.next_proto_id ||
ERROR:CODE_INDENT: code indent should use tabs where possible
#1040: FILE: drivers/net/i40e/i40e_flow.c:2643:
+^I^I^I^I^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1052: FILE: drivers/net/i40e/i40e_flow.c:2655:
+ } else if (!ipv4_spec && !ipv4_mask && !outer_ip) { //no spec and mask for Inner IP
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1060: FILE: drivers/net/i40e/i40e_flow.c:2663:
+ } else if ((ipv4_spec || ipv4_mask) && !outer_ip) { //spec and mask for inner IP, set pctype and input_set
ERROR:SPACING: spaces prohibited around that '->' (ctx:WxW)
#1068: FILE: drivers/net/i40e/i40e_flow.c:2671:
+ ipv4_mask -> hdr.type_of_service ||
^
ERROR:SPACING: space required before the open parenthesis '('
#1078: FILE: drivers/net/i40e/i40e_flow.c:2681:
+ if(ipv4_mask->hdr.src_addr == UINT32_MAX)
ERROR:SPACING: space required before the open parenthesis '('
#1080: FILE: drivers/net/i40e/i40e_flow.c:2683:
+ if(ipv4_mask->hdr.dst_addr == UINT32_MAX)
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1092: FILE: drivers/net/i40e/i40e_flow.c:2695:
+^I^I^I^Iif(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 && $
WARNING:LONG_LINE: line over 90 characters
#1092: FILE: drivers/net/i40e/i40e_flow.c:2695:
+ if(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 &&
ERROR:SPACING: space required before the open parenthesis '('
#1092: FILE: drivers/net/i40e/i40e_flow.c:2695:
+ if(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1093: FILE: drivers/net/i40e/i40e_flow.c:2696:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1093: FILE: drivers/net/i40e/i40e_flow.c:2696:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1095: FILE: drivers/net/i40e/i40e_flow.c:2698:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.ip.dst_ip = $
WARNING:LONG_LINE: line over 90 characters
#1095: FILE: drivers/net/i40e/i40e_flow.c:2698:
+ filter->input.flow.mplsudp4_flow.inner_udp.ip.dst_ip =
WARNING:LONG_LINE: line over 90 characters
#1096: FILE: drivers/net/i40e/i40e_flow.c:2699:
+ ipv4_spec->hdr.dst_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1096: FILE: drivers/net/i40e/i40e_flow.c:2699:
+ ipv4_spec->hdr.dst_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1096: FILE: drivers/net/i40e/i40e_flow.c:2699:
+ ipv4_spec->hdr.dst_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1097: FILE: drivers/net/i40e/i40e_flow.c:2700:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.ip.src_ip = $
WARNING:LONG_LINE: line over 90 characters
#1097: FILE: drivers/net/i40e/i40e_flow.c:2700:
+ filter->input.flow.mplsudp4_flow.inner_udp.ip.src_ip =
WARNING:LONG_LINE: line over 90 characters
#1098: FILE: drivers/net/i40e/i40e_flow.c:2701:
+ ipv4_spec->hdr.src_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1098: FILE: drivers/net/i40e/i40e_flow.c:2701:
+ ipv4_spec->hdr.src_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1098: FILE: drivers/net/i40e/i40e_flow.c:2701:
+ ipv4_spec->hdr.src_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1099: FILE: drivers/net/i40e/i40e_flow.c:2702:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1099: FILE: drivers/net/i40e/i40e_flow.c:2702:
+ filter->input.flow.mplsudp4_flow.inner_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1100: FILE: drivers/net/i40e/i40e_flow.c:2703:
+ ipv4_spec->hdr.next_proto_id;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1100: FILE: drivers/net/i40e/i40e_flow.c:2703:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1100: FILE: drivers/net/i40e/i40e_flow.c:2703:
+ ipv4_spec->hdr.next_proto_id;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1101: FILE: drivers/net/i40e/i40e_flow.c:2704:
+^I^I^I^I} else if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6 && $
WARNING:LONG_LINE: line over 90 characters
#1101: FILE: drivers/net/i40e/i40e_flow.c:2704:
+ } else if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1102: FILE: drivers/net/i40e/i40e_flow.c:2705:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1102: FILE: drivers/net/i40e/i40e_flow.c:2705:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1104: FILE: drivers/net/i40e/i40e_flow.c:2707:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.inner_udp.ip.dst_ip = $
WARNING:LONG_LINE: line over 90 characters
#1104: FILE: drivers/net/i40e/i40e_flow.c:2707:
+ filter->input.flow.mpls6udp4_flow.inner_udp.ip.dst_ip =
WARNING:LONG_LINE: line over 90 characters
#1105: FILE: drivers/net/i40e/i40e_flow.c:2708:
+ ipv4_spec->hdr.dst_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1105: FILE: drivers/net/i40e/i40e_flow.c:2708:
+ ipv4_spec->hdr.dst_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1105: FILE: drivers/net/i40e/i40e_flow.c:2708:
+ ipv4_spec->hdr.dst_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1106: FILE: drivers/net/i40e/i40e_flow.c:2709:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.inner_udp.ip.src_ip = $
WARNING:LONG_LINE: line over 90 characters
#1106: FILE: drivers/net/i40e/i40e_flow.c:2709:
+ filter->input.flow.mpls6udp4_flow.inner_udp.ip.src_ip =
WARNING:LONG_LINE: line over 90 characters
#1107: FILE: drivers/net/i40e/i40e_flow.c:2710:
+ ipv4_spec->hdr.src_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1107: FILE: drivers/net/i40e/i40e_flow.c:2710:
+ ipv4_spec->hdr.src_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1107: FILE: drivers/net/i40e/i40e_flow.c:2710:
+ ipv4_spec->hdr.src_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1108: FILE: drivers/net/i40e/i40e_flow.c:2711:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.inner_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1108: FILE: drivers/net/i40e/i40e_flow.c:2711:
+ filter->input.flow.mpls6udp4_flow.inner_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1109: FILE: drivers/net/i40e/i40e_flow.c:2712:
+ ipv4_spec->hdr.next_proto_id;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1109: FILE: drivers/net/i40e/i40e_flow.c:2712:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1109: FILE: drivers/net/i40e/i40e_flow.c:2712:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LONG_LINE: line over 90 characters
#1110: FILE: drivers/net/i40e/i40e_flow.c:2713:
+ } else if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1111: FILE: drivers/net/i40e/i40e_flow.c:2714:
+ filter->input.flow_ext.tunnel_val == VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1111: FILE: drivers/net/i40e/i40e_flow.c:2714:
+ filter->input.flow_ext.tunnel_val == VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1113: FILE: drivers/net/i40e/i40e_flow.c:2716:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.inner_udp.ip.dst_ip = $
WARNING:LONG_LINE: line over 90 characters
#1113: FILE: drivers/net/i40e/i40e_flow.c:2716:
+ filter->input.flow.vxlanudp4_flow.inner_udp.ip.dst_ip =
WARNING:LONG_LINE: line over 90 characters
#1114: FILE: drivers/net/i40e/i40e_flow.c:2717:
+ ipv4_spec->hdr.dst_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1114: FILE: drivers/net/i40e/i40e_flow.c:2717:
+ ipv4_spec->hdr.dst_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1114: FILE: drivers/net/i40e/i40e_flow.c:2717:
+ ipv4_spec->hdr.dst_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1115: FILE: drivers/net/i40e/i40e_flow.c:2718:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.inner_udp.ip.src_ip = $
WARNING:LONG_LINE: line over 90 characters
#1115: FILE: drivers/net/i40e/i40e_flow.c:2718:
+ filter->input.flow.vxlanudp4_flow.inner_udp.ip.src_ip =
WARNING:LONG_LINE: line over 90 characters
#1116: FILE: drivers/net/i40e/i40e_flow.c:2719:
+ ipv4_spec->hdr.src_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1116: FILE: drivers/net/i40e/i40e_flow.c:2719:
+ ipv4_spec->hdr.src_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1116: FILE: drivers/net/i40e/i40e_flow.c:2719:
+ ipv4_spec->hdr.src_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1117: FILE: drivers/net/i40e/i40e_flow.c:2720:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.inner_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1117: FILE: drivers/net/i40e/i40e_flow.c:2720:
+ filter->input.flow.vxlanudp4_flow.inner_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1118: FILE: drivers/net/i40e/i40e_flow.c:2721:
+ ipv4_spec->hdr.next_proto_id;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1118: FILE: drivers/net/i40e/i40e_flow.c:2721:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1118: FILE: drivers/net/i40e/i40e_flow.c:2721:
+ ipv4_spec->hdr.next_proto_id;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1121: FILE: drivers/net/i40e/i40e_flow.c:2724:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.inner_udp.ip.dst_ip = $
WARNING:LONG_LINE: line over 90 characters
#1121: FILE: drivers/net/i40e/i40e_flow.c:2724:
+ filter->input.flow.vxlan6udp4_flow.inner_udp.ip.dst_ip =
WARNING:LONG_LINE: line over 90 characters
#1122: FILE: drivers/net/i40e/i40e_flow.c:2725:
+ ipv4_spec->hdr.dst_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1122: FILE: drivers/net/i40e/i40e_flow.c:2725:
+ ipv4_spec->hdr.dst_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1122: FILE: drivers/net/i40e/i40e_flow.c:2725:
+ ipv4_spec->hdr.dst_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1123: FILE: drivers/net/i40e/i40e_flow.c:2726:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.inner_udp.ip.src_ip = $
WARNING:LONG_LINE: line over 90 characters
#1123: FILE: drivers/net/i40e/i40e_flow.c:2726:
+ filter->input.flow.vxlan6udp4_flow.inner_udp.ip.src_ip =
WARNING:LONG_LINE: line over 90 characters
#1124: FILE: drivers/net/i40e/i40e_flow.c:2727:
+ ipv4_spec->hdr.src_addr;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1124: FILE: drivers/net/i40e/i40e_flow.c:2727:
+ ipv4_spec->hdr.src_addr;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1124: FILE: drivers/net/i40e/i40e_flow.c:2727:
+ ipv4_spec->hdr.src_addr;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1125: FILE: drivers/net/i40e/i40e_flow.c:2728:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.inner_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1125: FILE: drivers/net/i40e/i40e_flow.c:2728:
+ filter->input.flow.vxlan6udp4_flow.inner_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1126: FILE: drivers/net/i40e/i40e_flow.c:2729:
+ ipv4_spec->hdr.next_proto_id;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1126: FILE: drivers/net/i40e/i40e_flow.c:2729:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1126: FILE: drivers/net/i40e/i40e_flow.c:2729:
+ ipv4_spec->hdr.next_proto_id;$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1140: FILE: drivers/net/i40e/i40e_flow.c:2743:
+ /* Check IPv6 mask and update input set, we take only dst IP */
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1156: FILE: drivers/net/i40e/i40e_flow.c:2759:
+^I^I^I^Ifilter->input.flow.mpls6udp4_flow.outer6_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1157: FILE: drivers/net/i40e/i40e_flow.c:2760:
+ ipv6_spec->hdr.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1157: FILE: drivers/net/i40e/i40e_flow.c:2760:
+ ipv6_spec->hdr.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1157: FILE: drivers/net/i40e/i40e_flow.c:2760:
+ ipv6_spec->hdr.proto;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1158: FILE: drivers/net/i40e/i40e_flow.c:2761:
+^I^I^I^Irte_memcpy(filter->input.flow.mpls6udp4_flow.outer6_udp.ip.dst_ip, $
WARNING:LONG_LINE: line over 90 characters
#1158: FILE: drivers/net/i40e/i40e_flow.c:2761:
+ rte_memcpy(filter->input.flow.mpls6udp4_flow.outer6_udp.ip.dst_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1159: FILE: drivers/net/i40e/i40e_flow.c:2762:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1159: FILE: drivers/net/i40e/i40e_flow.c:2762:
+ ipv6_spec->hdr.dst_addr, 16);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1160: FILE: drivers/net/i40e/i40e_flow.c:2763:
+^I^I^I^Ifilter->input.flow_ext.iip_type = $
ERROR:CODE_INDENT: code indent should use tabs where possible
#1161: FILE: drivers/net/i40e/i40e_flow.c:2764:
+ I40E_FDIR_IPTYPE_IPV6;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1161: FILE: drivers/net/i40e/i40e_flow.c:2764:
+ I40E_FDIR_IPTYPE_IPV6;$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1163: FILE: drivers/net/i40e/i40e_flow.c:2766:
+ } else if (!ipv6_spec && !ipv6_mask && !outer_ip) { //no spec,mask for inner IPv6
ERROR:CODE_INDENT: code indent should use tabs where possible
#1165: FILE: drivers/net/i40e/i40e_flow.c:2768:
+^I^I^I^I ^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1165: FILE: drivers/net/i40e/i40e_flow.c:2768:
+^I^I^I^I ^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1169: FILE: drivers/net/i40e/i40e_flow.c:2772:
+ } else if ((ipv6_spec || ipv6_mask) && !outer_ip) { //spec,mask mentioned for inner IPv6
WARNING:LONG_LINE: line over 90 characters
#1198: FILE: drivers/net/i40e/i40e_flow.c:2801:
+ if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1199: FILE: drivers/net/i40e/i40e_flow.c:2802:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1199: FILE: drivers/net/i40e/i40e_flow.c:2802:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1200: FILE: drivers/net/i40e/i40e_flow.c:2803:
+^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1200: FILE: drivers/net/i40e/i40e_flow.c:2803:
+ filter->input.flow_ext.tunnel_val != VXLAN) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1201: FILE: drivers/net/i40e/i40e_flow.c:2804:
+^I^I^I^I^Ifilter->input.flow.mplsudp6_flow.inner6_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1201: FILE: drivers/net/i40e/i40e_flow.c:2804:
+ filter->input.flow.mplsudp6_flow.inner6_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1202: FILE: drivers/net/i40e/i40e_flow.c:2805:
+ ipv6_spec->hdr.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1202: FILE: drivers/net/i40e/i40e_flow.c:2805:
+ ipv6_spec->hdr.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1202: FILE: drivers/net/i40e/i40e_flow.c:2805:
+ ipv6_spec->hdr.proto;$
WARNING:LONG_LINE: line over 90 characters
#1203: FILE: drivers/net/i40e/i40e_flow.c:2806:
+ rte_memcpy(filter->input.flow.mplsudp6_flow.inner6_udp.ip.src_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1204: FILE: drivers/net/i40e/i40e_flow.c:2807:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1204: FILE: drivers/net/i40e/i40e_flow.c:2807:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1205: FILE: drivers/net/i40e/i40e_flow.c:2808:
+ rte_memcpy(filter->input.flow.mplsudp6_flow.inner6_udp.ip.dst_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1206: FILE: drivers/net/i40e/i40e_flow.c:2809:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1206: FILE: drivers/net/i40e/i40e_flow.c:2809:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1208: FILE: drivers/net/i40e/i40e_flow.c:2811:
+ } else if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1209: FILE: drivers/net/i40e/i40e_flow.c:2812:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1209: FILE: drivers/net/i40e/i40e_flow.c:2812:
+ filter->input.flow_ext.tunnel_val != VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1210: FILE: drivers/net/i40e/i40e_flow.c:2813:
+^I^I^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1210: FILE: drivers/net/i40e/i40e_flow.c:2813:
+ filter->input.flow_ext.tunnel_val != VXLAN) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1211: FILE: drivers/net/i40e/i40e_flow.c:2814:
+^I^I^I^I^Ifilter->input.flow.mpls6udp6_flow.inner6_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1211: FILE: drivers/net/i40e/i40e_flow.c:2814:
+ filter->input.flow.mpls6udp6_flow.inner6_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1212: FILE: drivers/net/i40e/i40e_flow.c:2815:
+ ipv6_spec->hdr.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1212: FILE: drivers/net/i40e/i40e_flow.c:2815:
+ ipv6_spec->hdr.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1212: FILE: drivers/net/i40e/i40e_flow.c:2815:
+ ipv6_spec->hdr.proto;$
WARNING:LONG_LINE: line over 90 characters
#1213: FILE: drivers/net/i40e/i40e_flow.c:2816:
+ rte_memcpy(filter->input.flow.mpls6udp6_flow.inner6_udp.ip.src_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1214: FILE: drivers/net/i40e/i40e_flow.c:2817:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1214: FILE: drivers/net/i40e/i40e_flow.c:2817:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1215: FILE: drivers/net/i40e/i40e_flow.c:2818:
+ rte_memcpy(filter->input.flow.mpls6udp6_flow.inner6_udp.ip.dst_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1216: FILE: drivers/net/i40e/i40e_flow.c:2819:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1216: FILE: drivers/net/i40e/i40e_flow.c:2819:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1218: FILE: drivers/net/i40e/i40e_flow.c:2821:
+ } else if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4 &&
ERROR:CODE_INDENT: code indent should use tabs where possible
#1219: FILE: drivers/net/i40e/i40e_flow.c:2822:
+ filter->input.flow_ext.tunnel_val == VXLAN) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1219: FILE: drivers/net/i40e/i40e_flow.c:2822:
+ filter->input.flow_ext.tunnel_val == VXLAN) {$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1220: FILE: drivers/net/i40e/i40e_flow.c:2823:
+^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1220: FILE: drivers/net/i40e/i40e_flow.c:2823:
+ filter->input.flow_ext.tunnel_val == VXLAN) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1221: FILE: drivers/net/i40e/i40e_flow.c:2824:
+^I^I^I^I^Ifilter->input.flow.vxlanudp6_flow.inner6_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1221: FILE: drivers/net/i40e/i40e_flow.c:2824:
+ filter->input.flow.vxlanudp6_flow.inner6_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1222: FILE: drivers/net/i40e/i40e_flow.c:2825:
+ ipv6_spec->hdr.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1222: FILE: drivers/net/i40e/i40e_flow.c:2825:
+ ipv6_spec->hdr.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1222: FILE: drivers/net/i40e/i40e_flow.c:2825:
+ ipv6_spec->hdr.proto;$
WARNING:LONG_LINE: line over 90 characters
#1223: FILE: drivers/net/i40e/i40e_flow.c:2826:
+ rte_memcpy(filter->input.flow.vxlanudp6_flow.inner6_udp.ip.src_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1224: FILE: drivers/net/i40e/i40e_flow.c:2827:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1224: FILE: drivers/net/i40e/i40e_flow.c:2827:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1225: FILE: drivers/net/i40e/i40e_flow.c:2828:
+ rte_memcpy(filter->input.flow.vxlanudp6_flow.inner6_udp.ip.dst_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1226: FILE: drivers/net/i40e/i40e_flow.c:2829:
+ ipv6_spec->hdr.dst_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1226: FILE: drivers/net/i40e/i40e_flow.c:2829:
+ ipv6_spec->hdr.dst_addr, 16);$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1229: FILE: drivers/net/i40e/i40e_flow.c:2832:
+^I^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1229: FILE: drivers/net/i40e/i40e_flow.c:2832:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1230: FILE: drivers/net/i40e/i40e_flow.c:2833:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp6_flow.inner6_udp.ip.proto = $
WARNING:LONG_LINE: line over 90 characters
#1230: FILE: drivers/net/i40e/i40e_flow.c:2833:
+ filter->input.flow.vxlan6udp6_flow.inner6_udp.ip.proto =
WARNING:LONG_LINE: line over 90 characters
#1231: FILE: drivers/net/i40e/i40e_flow.c:2834:
+ ipv6_spec->hdr.proto;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1231: FILE: drivers/net/i40e/i40e_flow.c:2834:
+ ipv6_spec->hdr.proto;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1231: FILE: drivers/net/i40e/i40e_flow.c:2834:
+ ipv6_spec->hdr.proto;$
WARNING:LONG_LINE: line over 90 characters
#1232: FILE: drivers/net/i40e/i40e_flow.c:2835:
+ rte_memcpy(filter->input.flow.vxlan6udp6_flow.inner6_udp.ip.src_ip,
ERROR:CODE_INDENT: code indent should use tabs where possible
#1233: FILE: drivers/net/i40e/i40e_flow.c:2836:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1233: FILE: drivers/net/i40e/i40e_flow.c:2836:
+ ipv6_spec->hdr.src_addr, 16);$
WARNING:LONG_LINE: line over 90 characters
#1234: FILE: drivers/net/i40e/i40e_flow.c:2837:
+ rte_memcpy(filter->input.flow.vxlan6udp6_flow.inner6_udp.ip.dst_ip,
CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#1237: FILE: drivers/net/i40e/i40e_flow.c:2840:
+
+ }
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1252: FILE: drivers/net/i40e/i40e_flow.c:2855:
+ if (gre_spec && gre_mask) {
+
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1262: FILE: drivers/net/i40e/i40e_flow.c:2865:
+ input_set |= I40E_INSET_TUNNEL_DST_PORT; //the location for gre protocol is same as outer DST port in field vector
WARNING:LONG_LINE: line over 90 characters
#1265: FILE: drivers/net/i40e/i40e_flow.c:2868:
+ filter->input.flow.mplsgre4_flow.outer_gre.gre.protocol = gre_spec->protocol;
WARNING:LONG_LINE: line over 90 characters
#1267: FILE: drivers/net/i40e/i40e_flow.c:2870:
+ filter->input.flow.mpls6gre4_flow.outer6_gre.gre.protocol = gre_spec->protocol;
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1270: FILE: drivers/net/i40e/i40e_flow.c:2873:
+^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1270: FILE: drivers/net/i40e/i40e_flow.c:2873:
+ } else {
+
ERROR:CODE_INDENT: code indent should use tabs where possible
#1290: FILE: drivers/net/i40e/i40e_flow.c:2893:
+^I^I^I udp_mask->hdr.dgram_cksum) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1292: FILE: drivers/net/i40e/i40e_flow.c:2895:
+^I^I^I^I^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1293: FILE: drivers/net/i40e/i40e_flow.c:2896:
+^I^I^I^I^I^I item,$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1300: FILE: drivers/net/i40e/i40e_flow.c:2903:
+ if (l3 == RTE_FLOW_ITEM_TYPE_IPV4) { //outer UDP for outer IPv4
WARNING:LONG_LINE: line over 90 characters
#1301: FILE: drivers/net/i40e/i40e_flow.c:2904:
+ filter->input.flow.mplsudp4_flow.outer_udp.dst_port =
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (32, 48)
#1303: FILE: drivers/net/i40e/i40e_flow.c:2906:
+ } else
+ filter->input.flow.mpls6udp4_flow.outer6_udp.dst_port =
CHECK:BRACES: Unbalanced braces around else statement
#1303: FILE: drivers/net/i40e/i40e_flow.c:2906:
+ } else
WARNING:LONG_LINE: line over 90 characters
#1304: FILE: drivers/net/i40e/i40e_flow.c:2907:
+ filter->input.flow.mpls6udp4_flow.outer6_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1305: FILE: drivers/net/i40e/i40e_flow.c:2908:
+ udp_spec->hdr.dst_port;
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1307: FILE: drivers/net/i40e/i40e_flow.c:2910:
+ } else if (!udp_spec && !udp_mask && !outer_udp) { //no spec and mask for Inner UDP
ERROR:CODE_INDENT: code indent should use tabs where possible
#1310: FILE: drivers/net/i40e/i40e_flow.c:2913:
+^I^I^I^I^I RTE_FLOW_ERROR_TYPE_ITEM,$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1316: FILE: drivers/net/i40e/i40e_flow.c:2919:
+ } else if ((udp_spec || udp_mask) && !outer_udp) {
+
ERROR:SPACING: spaces required around that '=' (ctx:WxV)
#1318: FILE: drivers/net/i40e/i40e_flow.c:2921:
+ pctype =I40E_FILTER_PCTYPE_NONF_IPV4_UDP;
^
ERROR:SPACING: space required before the open brace '{'
#1336: FILE: drivers/net/i40e/i40e_flow.c:2939:
+ if(filter->input.flow_ext.tunnel_val != VXLAN){
ERROR:SPACING: space required before the open parenthesis '('
#1336: FILE: drivers/net/i40e/i40e_flow.c:2939:
+ if(filter->input.flow_ext.tunnel_val != VXLAN){
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1337: FILE: drivers/net/i40e/i40e_flow.c:2940:
+ if(filter->input.flow_ext.tunnel_val != VXLAN){
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1338: FILE: drivers/net/i40e/i40e_flow.c:2941:
+^I^I^I^I^Iif (l3 == RTE_FLOW_ITEM_TYPE_IPV4 && $
WARNING:LONG_LINE: line over 90 characters
#1339: FILE: drivers/net/i40e/i40e_flow.c:2942:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4
ERROR:CODE_INDENT: code indent should use tabs where possible
#1339: FILE: drivers/net/i40e/i40e_flow.c:2942:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1339: FILE: drivers/net/i40e/i40e_flow.c:2942:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1340: FILE: drivers/net/i40e/i40e_flow.c:2943:
+^I^I^I^I^I^I$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1341: FILE: drivers/net/i40e/i40e_flow.c:2944:
+ ^I^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1341: FILE: drivers/net/i40e/i40e_flow.c:2944:
+ filter->input.flow.mplsudp4_flow.inner_udp.dst_port =
ERROR:CODE_INDENT: code indent should use tabs where possible
#1341: FILE: drivers/net/i40e/i40e_flow.c:2944:
+ ^I^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.dst_port = $
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1341: FILE: drivers/net/i40e/i40e_flow.c:2944:
+ ^I^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.dst_port = $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1341: FILE: drivers/net/i40e/i40e_flow.c:2944:
+ ^I^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1342: FILE: drivers/net/i40e/i40e_flow.c:2945:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1342: FILE: drivers/net/i40e/i40e_flow.c:2945:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1342: FILE: drivers/net/i40e/i40e_flow.c:2945:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1343: FILE: drivers/net/i40e/i40e_flow.c:2946:
+^I^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.inner_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1343: FILE: drivers/net/i40e/i40e_flow.c:2946:
+ filter->input.flow.mplsudp4_flow.inner_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1344: FILE: drivers/net/i40e/i40e_flow.c:2947:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1344: FILE: drivers/net/i40e/i40e_flow.c:2947:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1344: FILE: drivers/net/i40e/i40e_flow.c:2947:
+ udp_spec->hdr.src_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1345: FILE: drivers/net/i40e/i40e_flow.c:2948:
+^I^I^I^I^I} else if (l3 == RTE_FLOW_ITEM_TYPE_IPV4 && $
WARNING:LONG_LINE: line over 90 characters
#1346: FILE: drivers/net/i40e/i40e_flow.c:2949:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6
ERROR:CODE_INDENT: code indent should use tabs where possible
#1346: FILE: drivers/net/i40e/i40e_flow.c:2949:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1346: FILE: drivers/net/i40e/i40e_flow.c:2949:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1347: FILE: drivers/net/i40e/i40e_flow.c:2950:
+^I^I^I^I^I^I$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1348: FILE: drivers/net/i40e/i40e_flow.c:2951:
+^I^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.inner_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1348: FILE: drivers/net/i40e/i40e_flow.c:2951:
+ filter->input.flow.mpls6udp4_flow.inner_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1349: FILE: drivers/net/i40e/i40e_flow.c:2952:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1349: FILE: drivers/net/i40e/i40e_flow.c:2952:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1349: FILE: drivers/net/i40e/i40e_flow.c:2952:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1350: FILE: drivers/net/i40e/i40e_flow.c:2953:
+^I^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.inner_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1350: FILE: drivers/net/i40e/i40e_flow.c:2953:
+ filter->input.flow.mpls6udp4_flow.inner_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1351: FILE: drivers/net/i40e/i40e_flow.c:2954:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1351: FILE: drivers/net/i40e/i40e_flow.c:2954:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1351: FILE: drivers/net/i40e/i40e_flow.c:2954:
+ udp_spec->hdr.src_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1352: FILE: drivers/net/i40e/i40e_flow.c:2955:
+^I^I^I^I^I} else if (l3 == RTE_FLOW_ITEM_TYPE_IPV6 && $
WARNING:LONG_LINE: line over 90 characters
#1353: FILE: drivers/net/i40e/i40e_flow.c:2956:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6
ERROR:CODE_INDENT: code indent should use tabs where possible
#1353: FILE: drivers/net/i40e/i40e_flow.c:2956:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1353: FILE: drivers/net/i40e/i40e_flow.c:2956:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1354: FILE: drivers/net/i40e/i40e_flow.c:2957:
+^I^I^I^I^I^I$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1355: FILE: drivers/net/i40e/i40e_flow.c:2958:
+^I^I^I^I^I^Ifilter->input.flow.mplsudp6_flow.inner6_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1355: FILE: drivers/net/i40e/i40e_flow.c:2958:
+ filter->input.flow.mplsudp6_flow.inner6_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1356: FILE: drivers/net/i40e/i40e_flow.c:2959:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1356: FILE: drivers/net/i40e/i40e_flow.c:2959:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1356: FILE: drivers/net/i40e/i40e_flow.c:2959:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1357: FILE: drivers/net/i40e/i40e_flow.c:2960:
+^I^I^I^I^I^Ifilter->input.flow.mplsudp6_flow.inner6_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1357: FILE: drivers/net/i40e/i40e_flow.c:2960:
+ filter->input.flow.mplsudp6_flow.inner6_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1358: FILE: drivers/net/i40e/i40e_flow.c:2961:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1358: FILE: drivers/net/i40e/i40e_flow.c:2961:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1358: FILE: drivers/net/i40e/i40e_flow.c:2961:
+ udp_spec->hdr.src_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1360: FILE: drivers/net/i40e/i40e_flow.c:2963:
+^I^I^I^I^I^Ifilter->input.flow.mpls6udp6_flow.inner6_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1360: FILE: drivers/net/i40e/i40e_flow.c:2963:
+ filter->input.flow.mpls6udp6_flow.inner6_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1361: FILE: drivers/net/i40e/i40e_flow.c:2964:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1361: FILE: drivers/net/i40e/i40e_flow.c:2964:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1361: FILE: drivers/net/i40e/i40e_flow.c:2964:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1362: FILE: drivers/net/i40e/i40e_flow.c:2965:
+^I^I^I^I^I^Ifilter->input.flow.mpls6udp6_flow.inner6_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1362: FILE: drivers/net/i40e/i40e_flow.c:2965:
+ filter->input.flow.mpls6udp6_flow.inner6_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1363: FILE: drivers/net/i40e/i40e_flow.c:2966:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1363: FILE: drivers/net/i40e/i40e_flow.c:2966:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1363: FILE: drivers/net/i40e/i40e_flow.c:2966:
+ udp_spec->hdr.src_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1366: FILE: drivers/net/i40e/i40e_flow.c:2969:
+^I^I^I^I^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1366: FILE: drivers/net/i40e/i40e_flow.c:2969:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1367: FILE: drivers/net/i40e/i40e_flow.c:2970:
+^I^I^I^I^Iif (l3 == RTE_FLOW_ITEM_TYPE_IPV4 && $
WARNING:LONG_LINE: line over 90 characters
#1368: FILE: drivers/net/i40e/i40e_flow.c:2971:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4
ERROR:CODE_INDENT: code indent should use tabs where possible
#1368: FILE: drivers/net/i40e/i40e_flow.c:2971:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1368: FILE: drivers/net/i40e/i40e_flow.c:2971:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //both ipv4$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1369: FILE: drivers/net/i40e/i40e_flow.c:2972:
+^I^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.inner_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1369: FILE: drivers/net/i40e/i40e_flow.c:2972:
+ filter->input.flow.vxlanudp4_flow.inner_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1370: FILE: drivers/net/i40e/i40e_flow.c:2973:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1370: FILE: drivers/net/i40e/i40e_flow.c:2973:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1370: FILE: drivers/net/i40e/i40e_flow.c:2973:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1371: FILE: drivers/net/i40e/i40e_flow.c:2974:
+^I^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.inner_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1371: FILE: drivers/net/i40e/i40e_flow.c:2974:
+ filter->input.flow.vxlanudp4_flow.inner_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1372: FILE: drivers/net/i40e/i40e_flow.c:2975:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1372: FILE: drivers/net/i40e/i40e_flow.c:2975:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1372: FILE: drivers/net/i40e/i40e_flow.c:2975:
+ udp_spec->hdr.src_port;$
WARNING:LONG_LINE: line over 90 characters
#1374: FILE: drivers/net/i40e/i40e_flow.c:2977:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6
ERROR:CODE_INDENT: code indent should use tabs where possible
#1374: FILE: drivers/net/i40e/i40e_flow.c:2977:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1374: FILE: drivers/net/i40e/i40e_flow.c:2977:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV6) { //inner ipv4 and outer ipv6$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1375: FILE: drivers/net/i40e/i40e_flow.c:2978:
+^I^I^I^I^I^I^I$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1376: FILE: drivers/net/i40e/i40e_flow.c:2979:
+^I^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.inner_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1376: FILE: drivers/net/i40e/i40e_flow.c:2979:
+ filter->input.flow.vxlan6udp4_flow.inner_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1377: FILE: drivers/net/i40e/i40e_flow.c:2980:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1377: FILE: drivers/net/i40e/i40e_flow.c:2980:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1377: FILE: drivers/net/i40e/i40e_flow.c:2980:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1378: FILE: drivers/net/i40e/i40e_flow.c:2981:
+^I^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.inner_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1378: FILE: drivers/net/i40e/i40e_flow.c:2981:
+ filter->input.flow.vxlan6udp4_flow.inner_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1379: FILE: drivers/net/i40e/i40e_flow.c:2982:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1379: FILE: drivers/net/i40e/i40e_flow.c:2982:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1379: FILE: drivers/net/i40e/i40e_flow.c:2982:
+ udp_spec->hdr.src_port;$
WARNING:LONG_LINE: line over 90 characters
#1381: FILE: drivers/net/i40e/i40e_flow.c:2984:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6
ERROR:CODE_INDENT: code indent should use tabs where possible
#1381: FILE: drivers/net/i40e/i40e_flow.c:2984:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1381: FILE: drivers/net/i40e/i40e_flow.c:2984:
+ filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) { //outer ipv4 and inner ipv6$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1382: FILE: drivers/net/i40e/i40e_flow.c:2985:
+^I^I^I^I^I^I^I$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1383: FILE: drivers/net/i40e/i40e_flow.c:2986:
+^I^I^I^I^I^Ifilter->input.flow.vxlanudp6_flow.inner6_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1383: FILE: drivers/net/i40e/i40e_flow.c:2986:
+ filter->input.flow.vxlanudp6_flow.inner6_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1384: FILE: drivers/net/i40e/i40e_flow.c:2987:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1384: FILE: drivers/net/i40e/i40e_flow.c:2987:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1384: FILE: drivers/net/i40e/i40e_flow.c:2987:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1385: FILE: drivers/net/i40e/i40e_flow.c:2988:
+^I^I^I^I^I^Ifilter->input.flow.vxlanudp6_flow.inner6_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1385: FILE: drivers/net/i40e/i40e_flow.c:2988:
+ filter->input.flow.vxlanudp6_flow.inner6_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1386: FILE: drivers/net/i40e/i40e_flow.c:2989:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1386: FILE: drivers/net/i40e/i40e_flow.c:2989:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1386: FILE: drivers/net/i40e/i40e_flow.c:2989:
+ udp_spec->hdr.src_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1388: FILE: drivers/net/i40e/i40e_flow.c:2991:
+^I^I^I^I^I^Ifilter->input.flow.vxlan6udp6_flow.inner6_udp.dst_port = $
WARNING:LONG_LINE: line over 90 characters
#1388: FILE: drivers/net/i40e/i40e_flow.c:2991:
+ filter->input.flow.vxlan6udp6_flow.inner6_udp.dst_port =
WARNING:LONG_LINE: line over 90 characters
#1389: FILE: drivers/net/i40e/i40e_flow.c:2992:
+ udp_spec->hdr.dst_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1389: FILE: drivers/net/i40e/i40e_flow.c:2992:
+ udp_spec->hdr.dst_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1389: FILE: drivers/net/i40e/i40e_flow.c:2992:
+ udp_spec->hdr.dst_port;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1390: FILE: drivers/net/i40e/i40e_flow.c:2993:
+^I^I^I^I^I^Ifilter->input.flow.vxlan6udp6_flow.inner6_udp.src_port = $
WARNING:LONG_LINE: line over 90 characters
#1390: FILE: drivers/net/i40e/i40e_flow.c:2993:
+ filter->input.flow.vxlan6udp6_flow.inner6_udp.src_port =
WARNING:LONG_LINE: line over 90 characters
#1391: FILE: drivers/net/i40e/i40e_flow.c:2994:
+ udp_spec->hdr.src_port;
ERROR:CODE_INDENT: code indent should use tabs where possible
#1391: FILE: drivers/net/i40e/i40e_flow.c:2994:
+ udp_spec->hdr.src_port;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1391: FILE: drivers/net/i40e/i40e_flow.c:2994:
+ udp_spec->hdr.src_port;$
ERROR:OPEN_BRACE: that open brace { should be on the previous line
#1401: FILE: drivers/net/i40e/i40e_flow.c:3004:
+ if (mpls_spec && mpls_mask)
+ {
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1409: FILE: drivers/net/i40e/i40e_flow.c:3012:
+ return -rte_errno;
+ } else {
WARNING:LONG_LINE: line over 90 characters
#1412: FILE: drivers/net/i40e/i40e_flow.c:3015:
+ if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1413: FILE: drivers/net/i40e/i40e_flow.c:3016:
+ if (filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1414: FILE: drivers/net/i40e/i40e_flow.c:3017:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.mpls.label_tc_s[0] = $
WARNING:LONG_LINE: line over 90 characters
#1414: FILE: drivers/net/i40e/i40e_flow.c:3017:
+ filter->input.flow.mplsudp4_flow.mpls.label_tc_s[0] =
WARNING:LONG_LINE: line over 90 characters
#1415: FILE: drivers/net/i40e/i40e_flow.c:3018:
+ mpls_spec->label_tc_s[0];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1415: FILE: drivers/net/i40e/i40e_flow.c:3018:
+ mpls_spec->label_tc_s[0];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1415: FILE: drivers/net/i40e/i40e_flow.c:3018:
+ mpls_spec->label_tc_s[0];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1416: FILE: drivers/net/i40e/i40e_flow.c:3019:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.mpls.label_tc_s[1] = $
WARNING:LONG_LINE: line over 90 characters
#1416: FILE: drivers/net/i40e/i40e_flow.c:3019:
+ filter->input.flow.mplsudp4_flow.mpls.label_tc_s[1] =
WARNING:LONG_LINE: line over 90 characters
#1417: FILE: drivers/net/i40e/i40e_flow.c:3020:
+ mpls_spec->label_tc_s[1];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1417: FILE: drivers/net/i40e/i40e_flow.c:3020:
+ mpls_spec->label_tc_s[1];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1417: FILE: drivers/net/i40e/i40e_flow.c:3020:
+ mpls_spec->label_tc_s[1];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1418: FILE: drivers/net/i40e/i40e_flow.c:3021:
+^I^I^I^I^Ifilter->input.flow.mplsudp4_flow.mpls.label_tc_s[2] = $
WARNING:LONG_LINE: line over 90 characters
#1418: FILE: drivers/net/i40e/i40e_flow.c:3021:
+ filter->input.flow.mplsudp4_flow.mpls.label_tc_s[2] =
WARNING:LONG_LINE: line over 90 characters
#1419: FILE: drivers/net/i40e/i40e_flow.c:3022:
+ mpls_spec->label_tc_s[2];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1419: FILE: drivers/net/i40e/i40e_flow.c:3022:
+ mpls_spec->label_tc_s[2];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1419: FILE: drivers/net/i40e/i40e_flow.c:3022:
+ mpls_spec->label_tc_s[2];$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1422: FILE: drivers/net/i40e/i40e_flow.c:3025:
+ } else {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1423: FILE: drivers/net/i40e/i40e_flow.c:3026:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.mpls.label_tc_s[0] = $
WARNING:LONG_LINE: line over 90 characters
#1423: FILE: drivers/net/i40e/i40e_flow.c:3026:
+ filter->input.flow.mpls6udp4_flow.mpls.label_tc_s[0] =
WARNING:LONG_LINE: line over 90 characters
#1424: FILE: drivers/net/i40e/i40e_flow.c:3027:
+ mpls_spec->label_tc_s[0];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1424: FILE: drivers/net/i40e/i40e_flow.c:3027:
+ mpls_spec->label_tc_s[0];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1424: FILE: drivers/net/i40e/i40e_flow.c:3027:
+ mpls_spec->label_tc_s[0];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1425: FILE: drivers/net/i40e/i40e_flow.c:3028:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.mpls.label_tc_s[1] = $
WARNING:LONG_LINE: line over 90 characters
#1425: FILE: drivers/net/i40e/i40e_flow.c:3028:
+ filter->input.flow.mpls6udp4_flow.mpls.label_tc_s[1] =
WARNING:LONG_LINE: line over 90 characters
#1426: FILE: drivers/net/i40e/i40e_flow.c:3029:
+ mpls_spec->label_tc_s[1];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1426: FILE: drivers/net/i40e/i40e_flow.c:3029:
+ mpls_spec->label_tc_s[1];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1426: FILE: drivers/net/i40e/i40e_flow.c:3029:
+ mpls_spec->label_tc_s[1];$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1427: FILE: drivers/net/i40e/i40e_flow.c:3030:
+^I^I^I^I^Ifilter->input.flow.mpls6udp4_flow.mpls.label_tc_s[2] = $
WARNING:LONG_LINE: line over 90 characters
#1427: FILE: drivers/net/i40e/i40e_flow.c:3030:
+ filter->input.flow.mpls6udp4_flow.mpls.label_tc_s[2] =
WARNING:LONG_LINE: line over 90 characters
#1428: FILE: drivers/net/i40e/i40e_flow.c:3031:
+ mpls_spec->label_tc_s[2];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1428: FILE: drivers/net/i40e/i40e_flow.c:3031:
+ mpls_spec->label_tc_s[2];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1428: FILE: drivers/net/i40e/i40e_flow.c:3031:
+ mpls_spec->label_tc_s[2];$
WARNING:LONG_LINE_COMMENT: line over 90 characters
#1433: FILE: drivers/net/i40e/i40e_flow.c:3036:
+ if(filter->input.flow_ext.tunnel_val != MPLSOGRE) //it has not been set by GRE header before, then it must be MPLSoUDP
ERROR:SPACING: space required before the open parenthesis '('
#1433: FILE: drivers/net/i40e/i40e_flow.c:3036:
+ if(filter->input.flow_ext.tunnel_val != MPLSOGRE) //it has not been set by GRE header before, then it must be MPLSoUDP
ERROR:CODE_INDENT: code indent should use tabs where possible
#1453: FILE: drivers/net/i40e/i40e_flow.c:3056:
+^I ^Iif (memcmp(vxlan_mask->vni, vni_mask, 3)) {$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1453: FILE: drivers/net/i40e/i40e_flow.c:3056:
+^I ^Iif (memcmp(vxlan_mask->vni, vni_mask, 3)) {$
ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#1460: FILE: drivers/net/i40e/i40e_flow.c:3063:
+ }
+ else {
CHECK:BRACES: Unbalanced braces around else statement
#1460: FILE: drivers/net/i40e/i40e_flow.c:3063:
+ else {
WARNING:LONG_LINE: line over 90 characters
#1464: FILE: drivers/net/i40e/i40e_flow.c:3067:
+ if(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:SPACING: space required before the open brace '{'
#1464: FILE: drivers/net/i40e/i40e_flow.c:3067:
+ if(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:SPACING: space required before the open parenthesis '('
#1464: FILE: drivers/net/i40e/i40e_flow.c:3067:
+ if(filter->input.flow_ext.iip_type == I40E_FDIR_IPTYPE_IPV4){
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1465: FILE: drivers/net/i40e/i40e_flow.c:3068:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.vxlan.vni[0] = $
WARNING:LONG_LINE: line over 90 characters
#1466: FILE: drivers/net/i40e/i40e_flow.c:3069:
+ vxlan_spec->vni[0];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1467: FILE: drivers/net/i40e/i40e_flow.c:3070:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.vxlan.vni[1] = $
WARNING:LONG_LINE: line over 90 characters
#1468: FILE: drivers/net/i40e/i40e_flow.c:3071:
+ vxlan_spec->vni[1];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1469: FILE: drivers/net/i40e/i40e_flow.c:3072:
+^I^I^I^I^Ifilter->input.flow.vxlanudp4_flow.vxlan.vni[2] = $
WARNING:LONG_LINE: line over 90 characters
#1470: FILE: drivers/net/i40e/i40e_flow.c:3073:
+ vxlan_spec->vni[2];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1472: FILE: drivers/net/i40e/i40e_flow.c:3075:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.vxlan.vni[0] = $
WARNING:LONG_LINE: line over 90 characters
#1473: FILE: drivers/net/i40e/i40e_flow.c:3076:
+ vxlan_spec->vni[0];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1474: FILE: drivers/net/i40e/i40e_flow.c:3077:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.vxlan.vni[1] = $
WARNING:LONG_LINE: line over 90 characters
#1475: FILE: drivers/net/i40e/i40e_flow.c:3078:
+ vxlan_spec->vni[1];
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1476: FILE: drivers/net/i40e/i40e_flow.c:3079:
+^I^I^I^I^Ifilter->input.flow.vxlan6udp4_flow.vxlan.vni[2] = $
WARNING:LONG_LINE: line over 90 characters
#1477: FILE: drivers/net/i40e/i40e_flow.c:3080:
+ vxlan_spec->vni[2];
ERROR:CODE_INDENT: code indent should use tabs where possible
#1515: FILE: drivers/net/i40e/i40e_flow.c:3713:
+^I filter->input.flow_ext.tunnel=false;$
ERROR:SPACING: spaces required around that '=' (ctx:VxV)
#1515: FILE: drivers/net/i40e/i40e_flow.c:3713:
+ filter->input.flow_ext.tunnel=false;
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#1534: FILE: drivers/net/i40e/i40e_flow.c:3826:
+^I const struct rte_flow_attr *attr,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1535: FILE: drivers/net/i40e/i40e_flow.c:3827:
+^I const struct rte_flow_item pattern[],$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1536: FILE: drivers/net/i40e/i40e_flow.c:3828:
+^I const struct rte_flow_action actions[],$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1537: FILE: drivers/net/i40e/i40e_flow.c:3829:
+^I struct rte_flow_error *error,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1538: FILE: drivers/net/i40e/i40e_flow.c:3830:
+^I union i40e_filter_t *filter)$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#1545: FILE: drivers/net/i40e/i40e_flow.c:3837:
+ ret = i40e_flow_parse_fdir_tunnel_pattern(dev,pattern, error,
^
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1549: FILE: drivers/net/i40e/i40e_flow.c:3841:
+ $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1549: FILE: drivers/net/i40e/i40e_flow.c:3841:
+ $
ERROR:SPACING: space required before the open parenthesis '('
#1563: FILE: drivers/net/i40e/i40e_flow.c:3855:
+ if(ret != I40E_SUCCESS) {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1564: FILE: drivers/net/i40e/i40e_flow.c:3856:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1564: FILE: drivers/net/i40e/i40e_flow.c:3856:
+ if(ret != I40E_SUCCESS) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1565: FILE: drivers/net/i40e/i40e_flow.c:3857:
+^I^I^Irte_flow_error_set(error, ENOTSUP, $
ERROR:SPACING: space required before the open parenthesis '('
#1570: FILE: drivers/net/i40e/i40e_flow.c:3862:
+ if(ret < 0) {
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1571: FILE: drivers/net/i40e/i40e_flow.c:3863:
+^I^I$
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#1571: FILE: drivers/net/i40e/i40e_flow.c:3863:
+ if(ret < 0) {
+
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1572: FILE: drivers/net/i40e/i40e_flow.c:3864:
+^I^I^Irte_flow_error_set(error, ENOTSUP, $
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1581: FILE: drivers/net/i40e/i40e_flow.c:3873:
+ i40e_fdir_teardown(pf);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1582: FILE: drivers/net/i40e/i40e_flow.c:3874:
+ return -rte_errno;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1593: FILE: drivers/net/i40e/i40e_flow.c:5300:
+ bool rss = false;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1593: FILE: drivers/net/i40e/i40e_flow.c:5300:
+ bool rss = false;$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#1604: FILE: drivers/net/i40e/i40e_flow.c:5329:
+^Iif ((actions + i)->type == RTE_FLOW_ACTION_TYPE_RSS) {^I^I$
ERROR:SPACING: space required before the open brace '{'
#1614: FILE: drivers/net/i40e/i40e_flow.c:5363:
+ if (parse_filter){
ERROR:SPACING: space required before the open brace '{'
#1615: FILE: drivers/net/i40e/i40e_flow.c:5364:
+ if(parse_filter != TUNNEL_FDIR_FUNCTION && rss == true){
ERROR:SPACING: space required before the open parenthesis '('
#1615: FILE: drivers/net/i40e/i40e_flow.c:5364:
+ if(parse_filter != TUNNEL_FDIR_FUNCTION && rss == true){
CHECK:BRACES: Unbalanced braces around else statement
#1619: FILE: drivers/net/i40e/i40e_flow.c:5368:
+ } else
total: 357 errors, 353 warnings, 58 checks, 1543 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-19 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1542641649-34059-1-git-send-email-subarna.kar@intel.com>
2018-11-19 23:59 ` [dpdk-test-report] |WARNING| pw48193 [RFC] net/i40e: Match on outer and inner headers for tunneled packets 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).