WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #48: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #125: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:73: + enum mlx5hws_action_type init_action_types[1] = { MLX5HWS_ACTION_TYP_LAST }; WARNING: line length of 90 exceeds 80 columns #131: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:79: + bwc_matcher->rules = kcalloc(bwc_queues, sizeof(*bwc_matcher->rules), GFP_KERNEL); WARNING: line length of 81 exceeds 80 columns #148: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:96: + action_types : init_action_types); WARNING: line length of 98 exceeds 80 columns #211: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:159: + is_complex = mlx5hws_bwc_match_params_is_complex(table->ctx, match_criteria_enable, mask); WARNING: line length of 90 exceeds 80 columns #294: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:242: + if (unlikely(comp[i].status != MLX5HWS_FLOW_OP_SUCCESS)) { WARNING: line length of 88 exceeds 80 columns #397: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:345: + ret = mlx5hws_send_queue_poll(ctx, rule_attr->queue_id, &completion, 1); WARNING: line length of 81 exceeds 80 columns #402: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:350: + bwc_rule->rule->status != MLX5HWS_RULE_STATUS_DELETING))) { WARNING: line length of 88 exceeds 80 columns #478: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:426: + ret = hws_bwc_queue_poll(ctx, rule_attr->queue_id, &expected_completions, true); WARNING: line length of 88 exceeds 80 columns #501: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:449: + ret = hws_bwc_queue_poll(ctx, rule_attr->queue_id, &expected_completions, true); WARNING: line length of 83 exceeds 80 columns #511: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:459: + struct mlx5hws_cmd_query_caps *caps = bwc_matcher->matcher->tbl->ctx->caps; WARNING: line length of 84 exceeds 80 columns #524: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:472: + if (unlikely((num_of_rules * 100 / MLX5HWS_BWC_MATCHER_REHASH_PERCENT_TH) >= WARNING: line length of 97 exceeds 80 columns #538: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:486: + rule_actions[i].action && (rule_actions[i].action->type != MLX5HWS_ACTION_TYP_LAST); WARNING: line length of 89 exceeds 80 columns #540: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:488: + action_types[i] = (enum mlx5hws_action_type)rule_actions[i].action->type; WARNING: line length of 86 exceeds 80 columns #578: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:526: + caps->ste_alloc_log_max - MLX5HWS_MATCHER_ASSURED_MAIN_TBL_DEPTH); WARNING: line length of 81 exceeds 80 columns #596: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:544: + rule_actions[j].action->type != MLX5HWS_ACTION_TYP_LAST) { WARNING: line length of 83 exceeds 80 columns #611: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:559: +static int hws_bwc_matcher_move_all_simple(struct mlx5hws_bwc_matcher *bwc_matcher) WARNING: line length of 81 exceeds 80 columns #648: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:596: + burst_th = hws_bwc_get_burst_th(ctx, rule_attr.queue_id); WARNING: line length of 92 exceeds 80 columns #652: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:600: + ret = mlx5hws_matcher_resize_rule_move(bwc_matcher->matcher, WARNING: line length of 90 exceeds 80 columns #653: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:601: + bwc_rules[i]->rule, WARNING: line length of 83 exceeds 80 columns #654: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:602: + &rule_attr); WARNING: line length of 85 exceeds 80 columns #664: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:612: + bwc_rules[i] = list_is_last(&bwc_rules[i]->list_node, WARNING: line length of 85 exceeds 80 columns #665: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:613: + &bwc_matcher->rules[i]) ? WARNING: line length of 95 exceeds 80 columns #666: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:614: + NULL : list_next_entry(bwc_rules[i], list_node); WARNING: line length of 81 exceeds 80 columns #668: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:616: + ret = hws_bwc_queue_poll(ctx, rule_attr.queue_id, WARNING: line length of 83 exceeds 80 columns #669: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:617: + &pending_rules[i], false); WARNING: line length of 84 exceeds 80 columns #681: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:629: + mlx5hws_send_engine_flush_queue(&ctx->send_queue[queue_id]); WARNING: line length of 85 exceeds 80 columns #760: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:708: + num_of_rules = __atomic_load_n(&bwc_matcher->num_of_rules, __ATOMIC_RELAXED); WARNING: line length of 88 exceeds 80 columns #805: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:753: + mlx5hws_bwc_rule_fill_attr(bwc_matcher, bwc_queue_idx, flow_source, &rule_attr); WARNING: line length of 89 exceeds 80 columns #837: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:785: + mlx5hws_action_template_destroy(bwc_matcher->at[at_idx]); WARNING: line length of 96 exceeds 80 columns #844: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:792: + "BWC rule insertion: rehash AT failed (%d)\n", ret); WARNING: line length of 86 exceeds 80 columns #856: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:804: + if (unlikely(hws_bwc_matcher_rehash_size_needed(bwc_matcher, num_of_rules))) { WARNING: line length of 94 exceeds 80 columns #865: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:813: + bwc_matcher->size_log - MLX5HWS_BWC_MATCHER_SIZE_LOG_STEP, WARNING: line length of 82 exceeds 80 columns #899: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:847: + mlx5hws_err(ctx, "BWC rule insertion: rehash failed (%d)\n", ret); WARNING: line length of 83 exceeds 80 columns #987: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:935: + ret = hws_bwc_matcher_extend_at(bwc_matcher, rule_actions); WARNING: line length of 99 exceeds 80 columns #990: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:938: + mlx5hws_err(ctx, "BWC rule update: failed extending AT (%d)", ret); WARNING: line length of 87 exceeds 80 columns #994: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:942: + /* action templates array was extended, we need the last idx */ WARNING: line length of 103 exceeds 80 columns #997: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:945: + ret = mlx5hws_matcher_attach_at(bwc_matcher->matcher, bwc_matcher->at[at_idx]); WARNING: line length of 81 exceeds 80 columns #999: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:947: + /* Action template attach failed, possibly due to WARNING: Block comments should align the * on each line #1000: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:948: + /* Action template attach failed, possibly due to + * requiring more action STEs. WARNING: line length of 97 exceeds 80 columns #1006: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:954: + mlx5hws_action_template_destroy(bwc_matcher->at[at_idx]); WARNING: line length of 106 exceeds 80 columns #1012: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:960: + mlx5hws_err(ctx, "BWC rule update: rehash AT failed (%d)\n", ret); WARNING: line length of 89 exceeds 80 columns #1095: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.h:43: +struct mlx5hws_bwc_rule *mlx5hws_bwc_rule_alloc(struct mlx5hws_bwc_matcher *bwc_matcher); WARNING: line length of 81 exceeds 80 columns #1212: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc_complex.c:81: +int mlx5hws_bwc_matcher_move_all_complex(struct mlx5hws_bwc_matcher *bwc_matcher) WARNING: line length of 82 exceeds 80 columns #1240: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc_complex.h:17: +void mlx5hws_bwc_matcher_destroy_complex(struct mlx5hws_bwc_matcher *bwc_matcher); WARNING: line length of 82 exceeds 80 columns #1242: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc_complex.h:19: +int mlx5hws_bwc_matcher_move_all_complex(struct mlx5hws_bwc_matcher *bwc_matcher); total: 0 errors, 46 warnings, 0 checks, 1182 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 d228f20de243 ("net/mlx5: HWS, added backward-compatible API handling") 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, 1182 lines checked