WARNING: line length of 81 exceeds 80 columns #72: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:79: + __get_str(devname), __entry->node, __entry->tsar_ix WARNING: line length of 84 exceeds 80 columns #166: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:73: + /* A computed value indicating relative min_rate between node's children. */ WARNING: line length of 98 exceeds 80 columns #189: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:87: +static void esw_qos_vport_set_parent(struct mlx5_vport *vport, struct mlx5_esw_sched_node *parent) WARNING: line length of 90 exceeds 80 columns #205: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:116: + u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) WARNING: line length of 87 exceeds 80 columns #215: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:123: + NL_SET_ERR_MSG_MOD(extack, "E-Switch modify node TSAR element failed"); WARNING: line length of 84 exceeds 80 columns #227: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:151: +static u32 esw_qos_calculate_node_min_rate_divider(struct mlx5_esw_sched_node *node) WARNING: line length of 82 exceeds 80 columns #337: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:253: + err = esw_qos_node_config(node, node->max_rate, bw_share, extack); WARNING: line length of 82 exceeds 80 columns #378: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:326: + u32 min_rate, struct netlink_ext_ack *extack) WARNING: line length of 84 exceeds 80 columns #400: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:343: + NL_SET_ERR_MSG_MOD(extack, "E-Switch node min rate setting failed"); WARNING: line length of 82 exceeds 80 columns #415: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:355: + u32 max_rate, struct netlink_ext_ack *extack) WARNING: line length of 88 exceeds 80 columns #434: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:369: + /* Any unlimited vports in the node should be set with the value of the node. */ WARNING: line length of 91 exceeds 80 columns #445: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:383: +static int esw_qos_create_node_sched_elem(struct mlx5_core_dev *dev, u32 parent_element_id, WARNING: line length of 88 exceeds 80 columns #477: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:447: + struct mlx5_esw_sched_node *curr_node, WARNING: line length of 87 exceeds 80 columns #478: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448: + struct mlx5_esw_sched_node *new_node, WARNING: line length of 81 exceeds 80 columns #479: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:449: + struct netlink_ext_ack *extack) WARNING: line length of 82 exceeds 80 columns #498: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:464: + max_rate = vport->qos.max_rate ? vport->qos.max_rate : new_node->max_rate; WARNING: line length of 83 exceeds 80 columns #512: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:475: + max_rate = vport->qos.max_rate ? vport->qos.max_rate : curr_node->max_rate; WARNING: line length of 89 exceeds 80 columns #543: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:497: + err = esw_qos_update_node_scheduling_element(vport, curr_node, new_node, extack); WARNING: line length of 91 exceeds 80 columns #564: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:511: +__esw_qos_alloc_rate_node(struct mlx5_eswitch *esw, u32 tsar_ix, enum sched_node_type type, WARNING: line length of 95 exceeds 80 columns #610: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:539: +__esw_qos_create_vports_rate_node(struct mlx5_eswitch *esw, struct mlx5_esw_sched_node *parent, WARNING: line length of 88 exceeds 80 columns #618: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:545: + err = esw_qos_create_node_sched_elem(esw->dev, esw->qos.root_tsar_ix, &tsar_ix); WARNING: line length of 83 exceeds 80 columns #621: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:547: + NL_SET_ERR_MSG_MOD(extack, "E-Switch create TSAR for node failed"); WARNING: line length of 92 exceeds 80 columns #628: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:551: + node = __esw_qos_alloc_rate_node(esw, tsar_ix, SCHED_NODE_TYPE_VPORTS_TSAR, parent); WARNING: line length of 82 exceeds 80 columns #639: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:560: + NL_SET_ERR_MSG_MOD(extack, "E-Switch nodes normalization failed"); WARNING: line length of 84 exceeds 80 columns #658: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:573: + NL_SET_ERR_MSG_MOD(extack, "E-Switch destroy TSAR for node failed"); WARNING: line length of 89 exceeds 80 columns #668: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:581: +esw_qos_create_vports_rate_node(struct mlx5_eswitch *esw, struct netlink_ext_ack *extack) WARNING: line length of 82 exceeds 80 columns #713: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:618: + NL_SET_ERR_MSG_MOD(extack, "E-Switch nodes normalization failed"); WARNING: line length of 82 exceeds 80 columns #722: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:632: + err = esw_qos_create_node_sched_elem(esw->dev, 0, &esw->qos.root_tsar_ix); WARNING: line length of 86 exceeds 80 columns #730: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:639: + esw->qos.node0 = __esw_qos_create_vports_rate_node(esw, NULL, extack); WARNING: line length of 91 exceeds 80 columns #735: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:642: + * Create a software-only node0 using the root TSAR to attach vport QoS to. WARNING: line length of 82 exceeds 80 columns #741: FILE: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:645: + SCHED_NODE_TYPE_VPORTS_TSAR, NULL)) total: 0 errors, 31 warnings, 0 checks, 887 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 a29c113a5341 ("net/mlx5: Introduce node struct and rename group terminology to node") 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, 31 warnings, 0 checks, 887 lines checked