WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #47: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #124: 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 #130: 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 #147: 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 #210: 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 #293: 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 #396: 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 #401: 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 #477: 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 #500: 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 #510: 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 #523: 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 #537: 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 #539: 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 #577: 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 #595: 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 #610: 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 #647: 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 #651: 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 #652: 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 #653: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:602: + &rule_attr); WARNING: line length of 85 exceeds 80 columns #663: 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 #664: 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 #665: 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 #667: 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 #668: 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 #680: 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 #759: 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 #804: 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 #836: 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 #843: 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 #855: 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 #864: 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 #898: 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 #986: 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 #989: 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 #993: 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 81 exceeds 80 columns #997: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:946: + 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:948: + /* Action template attach failed, possibly due to WARNING: line length of 97 exceeds 80 columns #1006: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_bwc.c:955: + mlx5hws_action_template_destroy(bwc_matcher->at[at_idx]); WARNING: line length of 89 exceeds 80 columns #1097: 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 #1214: 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 #1242: 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 #1244: 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, 44 warnings, 0 checks, 1185 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 945472cd2e44 ("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, 44 warnings, 0 checks, 1185 lines checked