WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #22: new file mode 100755 WARNING: line length of 86 exceeds 80 columns #280: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:254: + echo "before ${swp1_rx_packets_before} after ${swp1_rx_packets_after}" WARNING: line length of 83 exceeds 80 columns #284: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:258: + # Test if any packets were transmitted on swp2, we will tx before and after WARNING: line length of 86 exceeds 80 columns #287: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:261: + echo "before ${swp2_tx_packets_before} after ${swp2_tx_packets_after}" WARNING: line length of 83 exceeds 80 columns #291: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:265: + # tx/rx_hi counted in bytes. So, we need to compare the difference in bytes WARNING: line length of 82 exceeds 80 columns #292: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:266: + local swp1_rx_bytes_diff=$(($swp1_rx_bytes_after - $swp1_rx_bytes_before)) WARNING: line length of 82 exceeds 80 columns #293: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:267: + local swp2_tx_bytes_diff=$(($swp2_tx_bytes_after - $swp2_tx_bytes_before)) WARNING: line length of 95 exceeds 80 columns #301: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:275: + echo "Not expected amount of high priority packets received on ${swp1}" WARNING: line length of 108 exceeds 80 columns #302: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:276: + echo "RX hi diff: ${swp1_rx_hi_diff}, expected RX bytes diff: ${swp1_rx_bytes_diff}" WARNING: line length of 93 exceeds 80 columns #307: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:281: + echo "Unexpected amount of high priority packets received on ${swp1}" WARNING: line length of 98 exceeds 80 columns #317: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:291: + echo "Not expected amount of high priority packets transmitted on ${swp2}" WARNING: line length of 108 exceeds 80 columns #318: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:292: + echo "TX hi diff: ${swp2_tx_hi_diff}, expected TX bytes diff: ${swp2_tx_bytes_diff}" WARNING: line length of 96 exceeds 80 columns #323: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:297: + echo "Unexpected amount of high priority packets transmitted on ${swp2}" WARNING: line length of 81 exceeds 80 columns #385: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:359: + if [[ "$orig_apptrust" != "$(port_get_default_apptrust ${swp1})" ]]; then WARNING: line length of 81 exceeds 80 columns #423: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:397: + if [[ "$order" != "$(port_get_default_apptrust ${swp1})" ]]; then WARNING: line length of 81 exceeds 80 columns #463: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:437: + # in this test. High priority packets should be received and transmitted. WARNING: line length of 92 exceeds 80 columns #473: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:447: + run_test_dscp "Apptrust, PCP and DSCP are enabled. DSCP-prio ${dscp}:${dscp_prio}" \ WARNING: line length of 113 exceeds 80 columns #483: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:457: + run_test_dscp_pcp "Apptrust, PCP and DSCP are enabled. PCP ${pcp_prio}, DSCP-prio ${dscp}:${dscp_prio}" \ WARNING: line length of 88 exceeds 80 columns #484: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:458: + "${apptrust_order}" ${port_prio} ${dscp_prio} ${dscp} ${pcp_prio} ${pcp} WARNING: line length of 113 exceeds 80 columns #492: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:466: + run_test_dscp_pcp "Apptrust, PCP and DSCP are enabled. PCP ${pcp_prio}, DSCP-prio ${dscp}:${dscp_prio}" \ WARNING: line length of 88 exceeds 80 columns #493: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:467: + "${apptrust_order}" ${port_prio} ${dscp_prio} ${dscp} ${pcp_prio} ${pcp} WARNING: line length of 81 exceeds 80 columns #496: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:470: + # PCP priority. High priority packets should be received and transmitted. WARNING: line length of 113 exceeds 80 columns #499: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:473: + run_test_dscp_pcp "Apptrust, PCP and DSCP are enabled. PCP ${pcp_prio}, DSCP-prio ${dscp}:${dscp_prio}" \ WARNING: line length of 88 exceeds 80 columns #500: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:474: + "${apptrust_order}" ${port_prio} ${dscp_prio} ${dscp} ${pcp_prio} ${pcp} WARNING: line length of 113 exceeds 80 columns #505: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:479: + run_test_dscp_pcp "Apptrust, PCP and DSCP are enabled. PCP ${pcp_prio}, DSCP-prio ${dscp}:${dscp_prio}" \ WARNING: line length of 88 exceeds 80 columns #506: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:480: + "${apptrust_order}" ${port_prio} ${dscp_prio} ${dscp} ${pcp_prio} ${pcp} WARNING: line length of 82 exceeds 80 columns #573: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:547: + if ! compare_dscp_maps "$old_prios" "$current_prios" $dscp $new_prio; then WARNING: line length of 118 exceeds 80 columns #574: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:548: + echo "Error: Unintended changes detected in DSCP map for $port after setting DSCP $dscp to $new_prio." WARNING: line length of 82 exceeds 80 columns #598: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:572: + echo "Error: Failed to restore original DSCP priorities for $port" WARNING: line length of 85 exceeds 80 columns #647: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:621: + # do it for each port. This is to test if the global DSCP map WARNING: line length of 87 exceeds 80 columns #650: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:624: + if ! set_and_verify_dscp "$port" $dscp $dscp_prio; then WARNING: line length of 87 exceeds 80 columns #655: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:629: + # Test if the DSCP priority is correctly applied to the packets WARNING: line length of 95 exceeds 80 columns #656: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:630: + run_test_dscp "DSCP (${dscp}) QoS classification, prio: ${dscp_prio}" \ WARNING: line length of 85 exceeds 80 columns #657: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:631: + "${apptrust_order}" ${port_prio} ${dscp_prio} ${dscp} WARNING: line length of 82 exceeds 80 columns #665: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:639: + if ! restore_priorities "${ports[0]}" "${original_dscp_prios_port0}"; then WARNING: line length of 81 exceeds 80 columns #670: FILE: tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh:644: + if [[ "$orig_apptrust" != "$(port_get_default_apptrust ${swp1})" ]]; then total: 0 errors, 36 warnings, 0 checks, 668 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 a66fddf108a3 ("selftests: microchip: add test for QoS support on KSZ9477 switch family") 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, 36 warnings, 0 checks, 668 lines checked