|WARNING| pw160690 [PATCH 4/6] net/ice: add L2TPv2 flow patterns and FDIR support

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Feb 2 10:46:05 CET 2026


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

_coding style issues_


WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#125: FILE: drivers/net/intel/ice/ice_fdir_filter.c:160:
+	{pattern_eth_ipv4_gtpu,				ICE_FDIR_INSET_IPV4_GTPU,	ICE_FDIR_INSET_IPV4_GTPU,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#126: FILE: drivers/net/intel/ice/ice_fdir_filter.c:161:
+	{pattern_eth_ipv4_gtpu_eh,			ICE_FDIR_INSET_IPV4_GTPU_EH,	ICE_FDIR_INSET_IPV4_GTPU_EH,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#127: FILE: drivers/net/intel/ice/ice_fdir_filter.c:162:
+	{pattern_eth_ipv6_gtpu,				ICE_FDIR_INSET_IPV6_GTPU,	ICE_FDIR_INSET_IPV6_GTPU,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#128: FILE: drivers/net/intel/ice/ice_fdir_filter.c:163:
+	{pattern_eth_ipv6_gtpu_eh,			ICE_FDIR_INSET_IPV6_GTPU_EH,	ICE_FDIR_INSET_IPV6_GTPU_EH,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#129: FILE: drivers/net/intel/ice/ice_fdir_filter.c:164:
+	{pattern_eth_ipv4_udp_l2tpv2,			ICE_FDIR_INSET_L2TPV2,		ICE_INSET_NONE,				ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#130: FILE: drivers/net/intel/ice/ice_fdir_filter.c:165:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp,		ICE_FDIR_INSET_L2TPV2,		ICE_INSET_NONE,				ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#131: FILE: drivers/net/intel/ice/ice_fdir_filter.c:166:
+	{pattern_eth_ipv6_udp_l2tpv2,			ICE_FDIR_INSET_L2TPV2,		ICE_INSET_NONE,				ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#132: FILE: drivers/net/intel/ice/ice_fdir_filter.c:167:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp,		ICE_FDIR_INSET_L2TPV2,		ICE_INSET_NONE,				ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#133: FILE: drivers/net/intel/ice/ice_fdir_filter.c:168:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv4,		ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#134: FILE: drivers/net/intel/ice/ice_fdir_filter.c:169:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv4_udp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4_UDP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#135: FILE: drivers/net/intel/ice/ice_fdir_filter.c:170:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv4_tcp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4_TCP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#136: FILE: drivers/net/intel/ice/ice_fdir_filter.c:171:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv4,		ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#137: FILE: drivers/net/intel/ice/ice_fdir_filter.c:172:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv4_udp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4_UDP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#138: FILE: drivers/net/intel/ice/ice_fdir_filter.c:173:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv4_tcp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV4_TCP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#139: FILE: drivers/net/intel/ice/ice_fdir_filter.c:174:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv6,		ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#140: FILE: drivers/net/intel/ice/ice_fdir_filter.c:175:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv6_udp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6_UDP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#141: FILE: drivers/net/intel/ice/ice_fdir_filter.c:176:
+	{pattern_eth_ipv4_udp_l2tpv2_ppp_ipv6_tcp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6_TCP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#142: FILE: drivers/net/intel/ice/ice_fdir_filter.c:177:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv6,		ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6,		ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#143: FILE: drivers/net/intel/ice/ice_fdir_filter.c:178:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv6_udp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6_UDP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 144 exceeds 100 columns
#144: FILE: drivers/net/intel/ice/ice_fdir_filter.c:179:
+	{pattern_eth_ipv6_udp_l2tpv2_ppp_ipv6_tcp,	ICE_FDIR_INSET_L2TPV2,		ICE_FDIR_INSET_L2TPV2_PPP_IPV6_TCP,	ICE_INSET_NONE},

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#292: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2144:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#298: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2150:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#431: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2325:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#437: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2331:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#485: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2386:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#491: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2392:
+				if (tunnel_type && !is_outer && tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#583: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2594:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type3.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#584: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2595:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type3.session_id);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#588: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2599:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type7.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#589: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2600:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type7.session_id);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#592: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2603:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type6.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#593: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2604:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type6.session_id);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#595: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2606:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type5.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#596: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2607:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type5.session_id);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#600: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2611:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type4.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#601: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2612:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type4.session_id);

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#602: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2613:
+				l2tpv2_be.offset_size = rte_cpu_to_be_16(l2tpv2_spec->hdr.type4.offset_size);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#605: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2616:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type3.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#606: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2617:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type3.session_id);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#611: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2622:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type2.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#612: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2623:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type2.session_id);

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#613: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2624:
+				l2tpv2_be.offset_size = rte_cpu_to_be_16(l2tpv2_spec->hdr.type2.offset_size);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#615: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2626:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type1.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#616: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2627:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type1.session_id);

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#619: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2630:
+				l2tpv2_be.offset_size = rte_cpu_to_be_16(l2tpv2_spec->hdr.type1.offset_size);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#622: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2633:
+				l2tpv2_be.tunnel_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type0.tunnel_id);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#623: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2634:
+				l2tpv2_be.session_id = rte_cpu_to_be_16(l2tpv2_spec->hdr.type0.session_id);

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#626: FILE: drivers/net/intel/ice/ice_fdir_filter.c:2637:
+				l2tpv2_be.offset_size = rte_cpu_to_be_16(l2tpv2_spec->hdr.type0.offset_size);

total: 0 errors, 48 warnings, 0 checks, 838 lines checked


More information about the test-report mailing list