WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #243: new file mode 100755 WARNING: line length of 94 exceeds 80 columns #258: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:11: +# ┌-----------------┐ ┌------------------┐ WARNING: line length of 86 exceeds 80 columns #259: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:12: +# | SOURCE_NS | | SINK_NS | WARNING: line length of 86 exceeds 80 columns #260: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:13: +# | NAMESPACE | | NAMESPACE | WARNING: line length of 86 exceeds 80 columns #261: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:14: +# |(iperf3 clients) | | (iperf3 servers) | WARNING: line length of 86 exceeds 80 columns #262: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:15: +# | | | | WARNING: line length of 86 exceeds 80 columns #263: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:16: +# | | | | WARNING: line length of 90 exceeds 80 columns #264: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:17: +# | ┌-----------| nexthops |---------┐ | WARNING: line length of 88 exceeds 80 columns #265: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:18: +# | |veth_source|<------------------------------------------->|veth_sink|<-┐ | WARNING: line length of 90 exceeds 80 columns #266: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:19: +# | └-----------| 2001:0DB8:1::0:1/96 2001:0DB8:1::1:1/96 |---------┘ | | WARNING: line length of 86 exceeds 80 columns #267: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:20: +# | | ^ 2001:0DB8:1::1:2/96 | | | WARNING: line length of 86 exceeds 80 columns #268: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:21: +# | | . . | | fwd | WARNING: line length of 90 exceeds 80 columns #269: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:22: +# | ┌---------┐ | . . | | | WARNING: line length of 86 exceeds 80 columns #270: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:23: +# | | IPv6 | | . . | V | WARNING: line length of 90 exceeds 80 columns #271: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:24: +# | | routing | | . 2001:0DB8:1::1:80/96| ┌-----┐ | WARNING: line length of 86 exceeds 80 columns #272: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:25: +# | | table | | . | | lo | | WARNING: line length of 94 exceeds 80 columns #273: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:26: +# | | nexthop | | . └---------┴-----┴--┘ WARNING: line length of 86 exceeds 80 columns #274: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:27: +# | | update | | ..................................> 2001:0DB8:2::1:1/128 WARNING: line length of 88 exceeds 80 columns #342: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:95: + echo "info: cleaning up namespaces and terminating all processes within them..." WARNING: line length of 83 exceeds 80 columns #346: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:99: + kill -9 $(pgrep -f "ip netns list | grep -q ${source_ns}") > /dev/null 2>&1 WARNING: line length of 118 exceeds 80 columns #349: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:102: + # Check if any iperf3 instances are still running. This could occur if a core has entered an infinite loop and WARNING: line length of 118 exceeds 80 columns #350: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:103: + # the timeout for the soft lockup to be detected has not expired yet, but either the test interval has already WARNING: line length of 126 exceeds 80 columns #353: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:106: + echo "FAIL: unable to terminate some iperf3 instances. Soft lockup is underway. A kernel panic is on the way!" WARNING: line length of 108 exceeds 80 columns #359: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:112: + echo "PASS: No kernel soft lockup occurred during this ${TEST_DURATION} second test" WARNING: line length of 117 exceeds 80 columns #371: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:124: + ip -n ${source_ns} link add name ${SOURCE_TEST_IFACE} type veth peer name ${SINK_TEST_IFACE} netns ${sink_ns} WARNING: line length of 83 exceeds 80 columns #374: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:127: + ip -n ${source_ns} addr add ${SOURCE_TEST_IP_ADDR} dev ${SOURCE_TEST_IFACE} WARNING: line length of 82 exceeds 80 columns #377: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:130: + ip netns exec ${source_ns} sysctl -qw net.ipv6.fib_multipath_hash_policy=1 WARNING: line length of 110 exceeds 80 columns #380: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:133: + ip -n ${sink_ns} addr add ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK} dev ${SINK_LOOPBACK_IFACE} WARNING: line length of 93 exceeds 80 columns #382: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:135: + ip netns exec ${sink_ns} sysctl -qw net.ipv6.conf.${SINK_LOOPBACK_IFACE}.forwarding=1 WARNING: line length of 89 exceeds 80 columns #385: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:138: + ip netns exec ${sink_ns} sysctl -qw net.ipv6.conf.${SINK_TEST_IFACE}.forwarding=1 WARNING: line length of 90 exceeds 80 columns #388: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:141: + # Populating Nexthop IPv6 addresses on the test interface of the sink_ns namespace WARNING: line length of 113 exceeds 80 columns #389: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:142: + echo "info: populating ${IPV6_NEXTHOP_ADDR_COUNT} IPv6 addresses on the ${SINK_TEST_IFACE} interface ..." WARNING: line length of 140 exceeds 80 columns #391: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:144: + ip -n ${sink_ns} addr add ${IPV6_NEXTHOP_PREFIX}::$(printf "1:%x" "${IP}")/${IPV6_NEXTHOP_ADDR_MASK} dev ${SINK_TEST_IFACE}; WARNING: line length of 141 exceeds 80 columns #396: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:149: + nexthop_ip_list=$nexthop_ip_list" nexthop via ${IPV6_NEXTHOP_PREFIX}::$(printf "1:%x" $IP) dev ${SOURCE_TEST_IFACE} weight 1" WARNING: line length of 101 exceeds 80 columns #402: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:155: + # Start num_of_iperf_servers iperf3 servers in the sink_ns namespace, each listening on ports WARNING: line length of 97 exceeds 80 columns #404: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:157: + echo "info: starting ${num_of_iperf_servers} iperf3 servers in the sink_ns namespace ..." WARNING: line length of 106 exceeds 80 columns #406: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:159: + cmd="iperf3 --bind ${SINK_LOOPBACK_IP_ADDR} -s -p $(printf '5%03d' ${i}) > /dev/null 2>&1" WARNING: line length of 86 exceeds 80 columns #413: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:166: + # Continuously refresh the routing table in background in the Source namespase WARNING: line length of 109 exceeds 80 columns #416: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:169: + ip -6 route add ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK} ${nexthop_ip_list}; WARNING: line length of 93 exceeds 80 columns #418: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:171: + ip -6 route delete ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK}; WARNING: line length of 141 exceeds 80 columns #421: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:174: + # Start num_of_iperf_servers iperf3 clients in the source_ns namespace, each sending TCP traffic on sequential ports starting at 5001 WARNING: line length of 99 exceeds 80 columns #422: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:175: + echo "info: starting ${num_of_iperf_servers} iperf3 clients in the source_ns namespace ..." WARNING: line length of 144 exceeds 80 columns #424: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:177: + cmd="iperf3 -c ${SINK_LOOPBACK_IP_ADDR} -p $(printf '5%03d' ${i}) --length 64 --bitrate ${IPERF3_BITRATE} -t 0 > /dev/null 2>&1" WARNING: line length of 82 exceeds 80 columns #425: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:178: + ip netns exec ${source_ns} bash -c "while true; do ${cmd}; done &" WARNING: line length of 155 exceeds 80 columns #428: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:181: + echo "info: IPv6 routing table is being updated at the rate of $(echo "1/${ROUTING_TABLE_REFRESH_PERIOD}" | bc)/s for ${TEST_DURATION} seconds ..." WARNING: line length of 82 exceeds 80 columns #429: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:182: + echo "info: A kernel soft lockup, if detected, results in a kernel panic!" total: 0 errors, 46 warnings, 0 checks, 355 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 270c4df2212b ("ipv6: Fix soft lockups in fib6_select_path under high next hop churn") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 46 warnings, 0 checks, 355 lines checked