WARNING: line length of 85 exceeds 80 columns #87: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:114: +esw_qos_nodes_set_parent(struct list_head *nodes, struct mlx5_esw_sched_node *parent) WARNING: line length of 86 exceeds 80 columns #118: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:161: + "E-Switch %s scheduling element failed (err=%d)\n", op, err); WARNING: line length of 98 exceeds 80 columns #164: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:505: + if (!__esw_qos_alloc_node(esw, esw->qos.root_tsar_ix, SCHED_NODE_TYPE_VPORTS_TSAR, WARNING: line length of 87 exceeds 80 columns #168: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:509: + list_add_tail(&esw->qos.node0->entry, &esw->qos.domain->nodes); WARNING: line length of 84 exceeds 80 columns #176: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:567: +static void esw_qos_tc_arbiter_scheduling_teardown(struct mlx5_esw_sched_node *node, WARNING: line length of 82 exceeds 80 columns #177: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:568: + struct netlink_ext_ack *extack) WARNING: line length of 90 exceeds 80 columns #194: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:740: +static void esw_qos_switch_vport_tcs_to_vport(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 97 exceeds 80 columns #200: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:746: + vports_tc_node = list_first_entry(&tc_arbiter_node->children, struct mlx5_esw_sched_node, WARNING: line length of 86 exceeds 80 columns #203: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:749: + list_for_each_entry_safe(vport_tc_node, tmp, &vports_tc_node->children, entry) WARNING: line length of 96 exceeds 80 columns #207: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:753: +static int esw_qos_switch_tc_arbiter_node_to_vports(struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 85 exceeds 80 columns #208: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:754: + struct mlx5_esw_sched_node *node, WARNING: line length of 83 exceeds 80 columns #209: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:755: + struct netlink_ext_ack *extack) WARNING: line length of 91 exceeds 80 columns #211: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:757: + u32 parent_tsar_ix = node->parent ? node->parent->ix : node->esw->qos.root_tsar_ix; WARNING: line length of 88 exceeds 80 columns #214: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:760: + err = esw_qos_create_node_sched_elem(node->esw->dev, parent_tsar_ix, &node->ix); WARNING: line length of 85 exceeds 80 columns #229: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:775: +static int esw_qos_switch_vports_node_to_tc_arbiter(struct mlx5_esw_sched_node *node, WARNING: line length of 96 exceeds 80 columns #230: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:776: + struct mlx5_esw_sched_node *tc_arbiter_node, WARNING: line length of 83 exceeds 80 columns #231: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:777: + struct netlink_ext_ack *extack) WARNING: line length of 82 exceeds 80 columns #240: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:786: + err = esw_qos_vport_update_parent(vport, tc_arbiter_node, extack); WARNING: line length of 96 exceeds 80 columns #246: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:792: + err = mlx5_destroy_scheduling_element_cmd(node->esw->dev, SCHEDULING_HIERARCHY_E_SWITCH, WARNING: line length of 91 exceeds 80 columns #259: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:805: +static struct mlx5_esw_sched_node *esw_qos_move_node(struct mlx5_esw_sched_node *curr_node) WARNING: line length of 94 exceeds 80 columns #263: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:809: + new_node = __esw_qos_alloc_node(curr_node->esw, curr_node->ix, curr_node->type, NULL); WARNING: line length of 85 exceeds 80 columns #280: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:826: + * for restoring the vports back to this node after disabling TC arbitration. WARNING: line length of 83 exceeds 80 columns #312: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:858: + /* Allocate a new node that will store the information of the current node. WARNING: line length of 84 exceeds 80 columns #352: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1016: +static bool esw_qos_validate_unsupported_tc_bw(struct mlx5_eswitch *esw, u32 *tc_bw) WARNING: line length of 95 exceeds 80 columns #391: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:1114: + NL_SET_ERR_MSG_MOD(extack, "E-Switch traffic classes number is not supported"); total: 0 errors, 25 warnings, 0 checks, 343 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 aae07dbd71a1 ("net/mlx5: Add support for setting tc-bw on nodes") 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, 25 warnings, 0 checks, 343 lines checked