WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #24: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #36: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.c:8: + return IS_BIT_SET(ctx->caps->rtc_reparse_mode, MLX5_IFC_RTC_REPARSE_BY_STC); WARNING: line length of 86 exceeds 80 columns #159: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.c:131: + if (!IS_BIT_SET(caps->rtc_index_mode, MLX5_IFC_RTC_STE_UPDATE_MODE_BY_HASH) || WARNING: line length of 88 exceeds 80 columns #160: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.c:132: + !IS_BIT_SET(caps->rtc_index_mode, MLX5_IFC_RTC_STE_UPDATE_MODE_BY_OFFSET)) { WARNING: line length of 87 exceeds 80 columns #166: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.c:138: + if (!IS_BIT_SET(caps->definer_format_sup, MLX5_IFC_DEFINER_FORMAT_ID_SELECT)) { WARNING: line length of 84 exceeds 80 columns #284: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.c:256: + if (xa_err(xa_store(&ctx->peer_ctx_xa, peer_vhca_id, peer_ctx, GFP_KERNEL))) WARNING: line length of 85 exceeds 80 columns #315: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_context.h:21: + struct mlx5hws_action_shared_stc *shared_stc[MLX5HWS_CONTEXT_SHARED_STC_MAX]; WARNING: line length of 83 exceeds 80 columns #397: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:33: + ste_attr.send_attr.len = MLX5HWS_WQE_SZ_GTA_CTRL + MLX5HWS_WQE_SZ_GTA_DATA; WARNING: line length of 96 exceeds 80 columns #404: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:40: + dep_wqe = &send_sq->dep_wqe[send_sq->tail_dep_idx++ & (queue->num_entries - 1)]; WARNING: line length of 96 exceeds 80 columns #407: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:43: + ste_attr.send_attr.notify_hw = (send_sq->tail_dep_idx == send_sq->head_dep_idx); WARNING: line length of 81 exceeds 80 columns #441: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:77: +void mlx5hws_send_engine_post_req_wqe(struct mlx5hws_send_engine_post_ctrl *ctrl, WARNING: line length of 81 exceeds 80 columns #465: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:101: + struct mlx5hws_wqe_ctrl_seg *doorbell_cseg) WARNING: line length of 84 exceeds 80 columns #518: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:154: + cpu_to_be32((attr->len + sizeof(struct mlx5hws_wqe_ctrl_seg)) / 16 | WARNING: line length of 83 exceeds 80 columns #632: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:268: + send_attr.len = MLX5_SEND_WQE_BB * 2 - sizeof(struct mlx5hws_wqe_ctrl_seg); WARNING: line length of 81 exceeds 80 columns #683: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:319: + /* Delete partially failed move rule using resize_info */ WARNING: line length of 81 exceeds 80 columns #692: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:328: + mlx5hws_rule_move_hws_remove(priv->rule, queue, priv->user_data); WARNING: line length of 82 exceeds 80 columns #737: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:373: + if (unlikely(priv->rule->status == MLX5HWS_RULE_STATUS_FAILING)) { WARNING: line length of 88 exceeds 80 columns #744: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:380: + /* Increase the status, this only works on good flow as the enum WARNING: line length of 88 exceeds 80 columns #745: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:381: + * is arrange it away creating -> created -> deleting -> deleted WARNING: line length of 81 exceeds 80 columns #749: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:385: + /* Rule was deleted now we can safely release action STEs WARNING: line length of 83 exceeds 80 columns #779: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:415: + hws_send_engine_update_rule(queue, priv, wqe_cnt, &status); WARNING: line length of 85 exceeds 80 columns #791: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:427: + mlx5hws_send_engine_gen_comp(queue, priv->user_data, status); WARNING: line length of 95 exceeds 80 columns #802: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:438: + mlx5_core_err(cq->mdev, "Bad OP in HWS SQ CQE: 0x%x\n", get_cqe_opcode(cqe64)); WARNING: line length of 90 exceeds 80 columns #803: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:439: + mlx5_core_err(cq->mdev, "vendor_err_synd=%x\n", err_cqe->vendor_err_synd); WARNING: line length of 82 exceeds 80 columns #865: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:501: + hws_send_engine_update(queue, NULL, priv, res, polled, res_nb, 0); WARNING: line length of 84 exceeds 80 columns #944: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:580: + sq->dep_wqe = kcalloc(queue->num_entries, sizeof(*sq->dep_wqe), GFP_KERNEL); WARNING: line length of 82 exceeds 80 columns #992: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:628: + ts_format = mlx5_is_real_time_sq(mdev) ? MLX5_TIMESTAMP_FORMAT_REAL_TIME : WARNING: line length of 84 exceeds 80 columns #993: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:629: + MLX5_TIMESTAMP_FORMAT_FREE_RUNNING; WARNING: line length of 93 exceeds 80 columns #998: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:634: + MLX5_SET(wq, wq, log_wq_pg_sz, sq->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); WARNING: line length of 81 exceeds 80 columns #1164: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:800: + (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas)); WARNING: line length of 96 exceeds 80 columns #1168: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:804: + MLX5_SET(cqc, cqc, log_page_size, cq->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); WARNING: line length of 81 exceeds 80 columns #1232: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:868: + err = hws_send_ring_open_cq(ctx->mdev, queue, numa_node, &ring->send_cq); WARNING: line length of 85 exceeds 80 columns #1350: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:986: + ctx->send_queue = kcalloc(ctx->queues, sizeof(*ctx->send_queue), GFP_KERNEL); WARNING: line length of 84 exceeds 80 columns #1357: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:993: + err = mlx5hws_send_queue_open(ctx, &ctx->send_queue[i], queue_size); WARNING: line length of 94 exceeds 80 columns #1435: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1071: + wqe_ctrl.opmod_idx_opcode = cpu_to_be32((send_attr->opmod << 24) | send_attr->opcode); WARNING: line length of 99 exceeds 80 columns #1436: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1072: + wqe_ctrl.qpn_ds = cpu_to_be32((send_attr->len + sizeof(struct mlx5hws_wqe_ctrl_seg)) / 16); WARNING: line length of 90 exceeds 80 columns #1442: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1078: + memcpy(gta_wqe_ctrl.stc_ix, send_wqe_ctrl->stc_ix, sizeof(send_wqe_ctrl->stc_ix)); WARNING: line length of 91 exceeds 80 columns #1448: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1084: + memcpy(>a_wqe_data0, send_wqe_match_data, sizeof(gta_wqe_data0)); WARNING: line length of 91 exceeds 80 columns #1450: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1086: + hws_send_wqe_set_tag(>a_wqe_data0, send_wqe_match_tag, is_jumbo); WARNING: line length of 92 exceeds 80 columns #1452: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1088: + gta_wqe_data0.rsvd1_definer = cpu_to_be32(send_attr->match_definer_id << 8); WARNING: line length of 91 exceeds 80 columns #1459: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1095: + memcpy(>a_wqe_data1, send_wqe_range_data, sizeof(gta_wqe_data1)); WARNING: line length of 88 exceeds 80 columns #1461: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1097: + hws_send_wqe_set_tag(>a_wqe_data1, send_wqe_range_tag, false); WARNING: line length of 92 exceeds 80 columns #1463: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1099: + gta_wqe_data1.rsvd1_definer = cpu_to_be32(send_attr->range_definer_id << 8); WARNING: line length of 91 exceeds 80 columns #1554: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1190: + mlx5hws_send_engine_gen_comp(queue, send_attr->user_data, MLX5HWS_FLOW_OP_SUCCESS); WARNING: line length of 81 exceeds 80 columns #1561: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1197: + MLX5HWS_RULE_STATUS_FAILED : MLX5HWS_RULE_STATUS_FAILING; WARNING: line length of 89 exceeds 80 columns #1563: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c:1199: + mlx5hws_send_engine_gen_comp(queue, send_attr->user_data, MLX5HWS_FLOW_OP_ERROR); WARNING: line length of 81 exceeds 80 columns #1785: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.h:215: +void mlx5hws_send_engine_post_req_wqe(struct mlx5hws_send_engine_post_ctrl *ctrl, WARNING: line length of 82 exceeds 80 columns #1813: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.h:243: +static inline void mlx5hws_send_engine_inc_rule(struct mlx5hws_send_engine *queue) WARNING: line length of 82 exceeds 80 columns #1818: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.h:248: +static inline void mlx5hws_send_engine_dec_rule(struct mlx5hws_send_engine *queue) WARNING: line length of 82 exceeds 80 columns #1823: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.h:253: +static inline void mlx5hws_send_engine_gen_comp(struct mlx5hws_send_engine *queue, total: 0 errors, 50 warnings, 0 checks, 1794 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 cb8c50f3d58c ("net/mlx5: HWS, added send engine and context 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, 50 warnings, 0 checks, 1794 lines checked