WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #35: new file mode 100644 WARNING: line length of 85 exceeds 80 columns #53: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:14: +static const u32 action_order_arr[MLX5HWS_TABLE_TYPE_MAX][MLX5HWS_ACTION_TYP_MAX] = { WARNING: line length of 87 exceeds 80 columns #117: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:78: + enum mlx5hws_context_shared_stc_type stc_type, WARNING: line length of 86 exceeds 80 columns #142: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:103: + stc_attr.remove_header.start_anchor = MLX5_HEADER_ANCHOR_PACKET_START; WARNING: line length of 81 exceeds 80 columns #143: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:104: + stc_attr.remove_header.end_anchor = MLX5_HEADER_ANCHOR_IPV6_IPV4; WARNING: line length of 89 exceeds 80 columns #149: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:110: + stc_attr.remove_words.start_anchor = MLX5_HEADER_ANCHOR_FIRST_VLAN_START; WARNING: line length of 84 exceeds 80 columns #150: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:111: + stc_attr.remove_words.num_of_words = MLX5HWS_ACTION_HDR_LEN_L2_VLAN; WARNING: line length of 83 exceeds 80 columns #181: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:142: + enum mlx5hws_context_shared_stc_type stc_type) WARNING: line length of 83 exceeds 80 columns #196: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:157: + ret = hws_action_get_shared_stc_nic(ctx, stc_type, MLX5HWS_TABLE_TYPE_FDB); WARNING: line length of 84 exceeds 80 columns #208: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:169: + enum mlx5hws_context_shared_stc_type stc_type) WARNING: line length of 83 exceeds 80 columns #238: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:199: + mlx5hws_err(ctx, " %s", mlx5hws_action_type_to_str(*user_actions)); WARNING: line length of 84 exceeds 80 columns #291: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:252: + fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_DROP; WARNING: line length of 82 exceeds 80 columns #292: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:253: + fixup_stc_attr->action_offset = MLX5HWS_ACTION_OFFSET_HIT; WARNING: line length of 94 exceeds 80 columns #298: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:259: + base_id = mlx5hws_pool_chunk_get_base_id(stc_attr->ste_table.ste_pool, WARNING: line length of 91 exceeds 80 columns #299: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:260: + &stc_attr->ste_table.ste); WARNING: line length of 99 exceeds 80 columns #302: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:263: + mlx5hws_pool_chunk_get_base_mirror_id(stc_attr->ste_table.ste_pool, WARNING: line length of 96 exceeds 80 columns #303: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:264: + &stc_attr->ste_table.ste); WARNING: line length of 83 exceeds 80 columns #312: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:273: + fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_NOP; WARNING: line length of 82 exceeds 80 columns #313: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:274: + fixup_stc_attr->action_offset = MLX5HWS_ACTION_OFFSET_DW5; WARNING: line length of 81 exceeds 80 columns #320: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:281: + if (fw_tbl_type == FS_FT_FDB_TX || fw_tbl_type == FS_FT_FDB_RX) { WARNING: line length of 93 exceeds 80 columns #321: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:282: + fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_VPORT; WARNING: line length of 85 exceeds 80 columns #324: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:285: + fixup_stc_attr->vport.esw_owner_vhca_id = ctx->caps->vhca_id; WARNING: line length of 98 exceeds 80 columns #325: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:286: + fixup_stc_attr->vport.vport_num = ctx->caps->eswitch_manager_vport_number; WARNING: line length of 81 exceeds 80 columns #336: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:297: + if (fw_tbl_type == FS_FT_FDB_TX || fw_tbl_type == FS_FT_FDB_RX) { WARNING: line length of 94 exceeds 80 columns #337: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:298: + /* The FW doesn't allow to go to wire in the TX/RX by JUMP_TO_VPORT */ WARNING: line length of 94 exceeds 80 columns #338: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:299: + fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_UPLINK; WARNING: line length of 100 exceeds 80 columns #342: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:303: + fixup_stc_attr->vport.esw_owner_vhca_id = stc_attr->vport.esw_owner_vhca_id; WARNING: line length of 81 exceeds 80 columns #357: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:318: + struct mlx5hws_cmd_stc_modify_attr *stc_attr, WARNING: line length of 97 exceeds 80 columns #384: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:345: + use_fixup = hws_action_fixup_stc_attr(ctx, stc_attr, &fixup_stc_attr, table_type, false); WARNING: line length of 85 exceeds 80 columns #403: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:364: + use_fixup ? &fixup_stc_attr : stc_attr); WARNING: line length of 81 exceeds 80 columns #463: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:424: + mlx5hws_err(ctx, "Unsupported action type: 0x%x\n", action_type); WARNING: line length of 87 exceeds 80 columns #500: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:461: + attr->modify_action.data = action->modify_header.single_action; WARNING: line length of 83 exceeds 80 columns #501: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:462: + attr->action_type = hws_action_get_mh_stc_type(action->ctx, WARNING: line length of 97 exceeds 80 columns #502: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:463: + attr->modify_action.data); WARNING: line length of 92 exceeds 80 columns #506: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:467: + MLX5_SET(set_action_in, &attr->modify_action.data, data, 0); WARNING: line length of 85 exceeds 80 columns #508: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:469: + attr->action_type = MLX5_IFC_STC_ACTION_TYPE_ACC_MODIFY_LIST; WARNING: line length of 82 exceeds 80 columns #509: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:470: + attr->modify_header.arg_id = action->modify_header.arg_id; WARNING: line length of 86 exceeds 80 columns #510: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:471: + attr->modify_header.pattern_id = action->modify_header.pat_id; WARNING: line length of 83 exceeds 80 columns #524: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:485: + attr->remove_header.start_anchor = MLX5_HEADER_ANCHOR_PACKET_START; WARNING: line length of 96 exceeds 80 columns #554: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:515: + attr->vport.eswitch_owner_vhca_id_valid = action->vport.esw_owner_vhca_id_valid; WARNING: line length of 86 exceeds 80 columns #560: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:521: + attr->remove_words.start_anchor = MLX5_HEADER_ANCHOR_FIRST_VLAN_START; WARNING: line length of 85 exceeds 80 columns #561: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:522: + attr->remove_words.num_of_words = MLX5HWS_ACTION_HDR_LEN_L2_VLAN / 2; WARNING: line length of 84 exceeds 80 columns #569: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:530: + attr->insert_header.insert_anchor = MLX5_HEADER_ANCHOR_PACKET_START; WARNING: line length of 83 exceeds 80 columns #570: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:531: + attr->insert_header.insert_offset = MLX5HWS_ACTION_HDR_LEN_L2_MACS; WARNING: line length of 81 exceeds 80 columns #571: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:532: + attr->insert_header.header_size = MLX5HWS_ACTION_HDR_LEN_L2_VLAN; WARNING: line length of 83 exceeds 80 columns #575: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:536: + attr->remove_header.decap = 0; /* the mode we support decap is 0 */ WARNING: line length of 83 exceeds 80 columns #583: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:544: + mlx5hws_err(action->ctx, "Invalid action type %d\n", action->type); WARNING: line length of 92 exceeds 80 columns #603: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:564: + &action->stc[MLX5HWS_TABLE_TYPE_FDB]); WARNING: line length of 85 exceeds 80 columns #627: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:588: + &action->stc[MLX5HWS_TABLE_TYPE_FDB]); WARNING: line length of 83 exceeds 80 columns #645: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:606: + if ((flags & MLX5HWS_ACTION_FLAG_HWS_FDB) && !ctx->caps->eswitch_manager) { WARNING: line length of 96 exceeds 80 columns #664: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:625: + "Action (type: %d) flags must specify only HWS FDB\n", action_type); WARNING: line length of 81 exceeds 80 columns #864: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:825: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_VPORT); WARNING: line length of 91 exceeds 80 columns #868: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:829: + if (!ctx->caps->merged_eswitch && vhca_id_valid && vhca_id != ctx->caps->vhca_id) { WARNING: line length of 82 exceeds 80 columns #881: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:842: + mlx5hws_err(ctx, "Failed creating stc for vport %d\n", vport_num); WARNING: line length of 85 exceeds 80 columns #898: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:859: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_PUSH_VLAN); WARNING: line length of 84 exceeds 80 columns #921: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:882: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_POP_VLAN); WARNING: line length of 87 exceeds 80 columns #925: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:886: + ret = hws_action_get_shared_stc(action, MLX5HWS_CONTEXT_SHARED_STC_DOUBLE_POP); WARNING: line length of 81 exceeds 80 columns #940: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:901: + hws_action_put_shared_stc(action, MLX5HWS_CONTEXT_SHARED_STC_DOUBLE_POP); WARNING: line length of 81 exceeds 80 columns #982: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:943: + if (action[i].type == MLX5HWS_ACTION_TYP_REFORMAT_L2_TO_TNL_L2 || WARNING: line length of 81 exceeds 80 columns #983: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:944: + action[i].type == MLX5HWS_ACTION_TYP_REFORMAT_L2_TO_TNL_L3) { WARNING: line length of 84 exceeds 80 columns #984: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:945: + action[i].reformat.anchor = MLX5_HEADER_ANCHOR_PACKET_START; WARNING: line length of 85 exceeds 80 columns #1015: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:976: + ret = hws_action_get_shared_stc(action, MLX5HWS_CONTEXT_SHARED_STC_DECAP_L3); WARNING: line length of 90 exceeds 80 columns #1106: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1067: + mlx5hws_action_prepare_decap_l3_data(hdrs->data, mh_data, num_of_actions); WARNING: line length of 94 exceeds 80 columns #1113: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1074: + action->flags & MLX5HWS_ACTION_FLAG_SHARED, WARNING: line length of 90 exceeds 80 columns #1120: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1081: + hws_action_prepare_decap_l3_actions(hdrs[i].sz, mh_data, &num_of_actions); WARNING: line length of 93 exceeds 80 columns #1123: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1084: + ret = mlx5hws_pat_get_pattern(ctx, (__be64 *)mh_data, mh_data_size, &pat_id); WARNING: line length of 87 exceeds 80 columns #1135: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1096: + mlx5hws_pat_require_reparse((__be64 *)mh_data, num_of_actions); WARNING: line length of 94 exceeds 80 columns #1169: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1130: + ret = hws_action_handle_insert_with_ptr(action, num_of_hdrs, hdrs, bulk_size); WARNING: line length of 94 exceeds 80 columns #1172: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1133: + ret = hws_action_handle_l2_to_tunnel_l3(action, num_of_hdrs, hdrs, bulk_size); WARNING: line length of 94 exceeds 80 columns #1175: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1136: + ret = hws_action_handle_tunnel_l3_to_l2(action, num_of_hdrs, hdrs, bulk_size); WARNING: line length of 88 exceeds 80 columns #1201: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1162: + action = hws_action_create_generic_bulk(ctx, flags, reformat_type, num_of_hdrs); WARNING: line length of 89 exceeds 80 columns #1205: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1166: + if ((flags & MLX5HWS_ACTION_FLAG_SHARED) && (log_bulk_size || num_of_hdrs > 1)) { WARNING: line length of 88 exceeds 80 columns #1206: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1167: + mlx5hws_err(ctx, "Reformat flags don't fit HWS (flags: 0x%x)\n", flags); WARNING: line length of 87 exceeds 80 columns #1210: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1171: + ret = hws_action_create_reformat_hws(action, num_of_hdrs, hdrs, log_bulk_size); WARNING: line length of 89 exceeds 80 columns #1261: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1222: + if (mlx5hws_arg_get_arg_log_size(max_mh_actions) >= MLX5HWS_ARG_CHUNK_SIZE_MAX) { WARNING: line length of 86 exceeds 80 columns #1275: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1236: + MLX5HWS_ACTION_FLAG_SHARED, WARNING: line length of 87 exceeds 80 columns #1282: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1243: + if (!mlx5hws_pat_verify_actions(ctx, pattern[i].data, pattern[i].sz)) { WARNING: line length of 82 exceeds 80 columns #1292: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1253: + mlx5hws_pat_require_reparse(pattern[i].data, num_actions); WARNING: line length of 83 exceeds 80 columns #1297: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1258: + action[i].modify_header.single_action = pattern[i].data[0]; WARNING: line length of 86 exceeds 80 columns #1299: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1260: + MLX5_GET(set_action_in, pattern[i].data, action_type); WARNING: line length of 85 exceeds 80 columns #1305: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1266: + pattern_sz = action[i].modify_header.num_of_actions * WARNING: line length of 85 exceeds 80 columns #1309: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1270: + &new_pattern[i * pat_max_sz], WARNING: line length of 85 exceeds 80 columns #1342: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1303: + mlx5hws_pat_put_pattern(ctx, action[i].modify_header.pat_id); WARNING: line length of 93 exceeds 80 columns #1372: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1333: + if ((flags & MLX5HWS_ACTION_FLAG_SHARED) && (log_bulk_size || num_of_patterns > 1)) { WARNING: line length of 82 exceeds 80 columns #1412: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1373: + if (flags == (MLX5HWS_ACTION_FLAG_HWS_FDB | MLX5HWS_ACTION_FLAG_SHARED)) { WARNING: line length of 85 exceeds 80 columns #1432: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1393: + dest_list[i].destination_id = dests[i].dest->dest_obj.obj_id; WARNING: line length of 83 exceeds 80 columns #1433: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1394: + fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; WARNING: line length of 82 exceeds 80 columns #1435: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1396: + /* ToDo: In SW steering we have a handling of 'go to WIRE' WARNING: line length of 84 exceeds 80 columns #1436: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1397: + * destination here by upper layer setting 'is_wire_ft' flag WARNING: line length of 82 exceeds 80 columns #1438: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1399: + * This is because uplink should be last dest in the list. WARNING: line length of 89 exceeds 80 columns #1442: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1403: + dest_list[i].destination_type = MLX5_FLOW_DESTINATION_TYPE_VPORT; WARNING: line length of 85 exceeds 80 columns #1443: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1404: + dest_list[i].destination_id = dests[i].dest->vport.vport_num; WARNING: line length of 83 exceeds 80 columns #1444: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1405: + fte_attr.action_flags |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; WARNING: line length of 83 exceeds 80 columns #1466: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1427: + fw_island = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); WARNING: line length of 86 exceeds 80 columns #1470: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1431: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_DEST_ARRAY); WARNING: line length of 90 exceeds 80 columns #1492: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1453: + dest_list[i].ext_reformat_id); WARNING: line length of 89 exceeds 80 columns #1510: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1471: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_INSERT_HEADER); WARNING: line length of 81 exceeds 80 columns #1514: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1475: + reformat_hdrs = kcalloc(num_of_hdrs, sizeof(*reformat_hdrs), GFP_KERNEL); WARNING: line length of 83 exceeds 80 columns #1552: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1513: + struct mlx5hws_action_remove_header_attr *attr, WARNING: line length of 89 exceeds 80 columns #1557: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1518: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_REMOVE_HEADER); WARNING: line length of 87 exceeds 80 columns #1598: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1559: + definer->dw_selector[0] = MLX5_IFC_DEFINER_FORMAT_OFFSET_OUTER_ETH_PKT_LEN / 4; WARNING: line length of 93 exceeds 80 columns #1634: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1595: + if (!IS_BIT_SET(ctx->caps->supp_ste_format_gen_wqe, MLX5_IFC_RTC_STE_FORMAT_RANGE)) { WARNING: line length of 94 exceeds 80 columns #1678: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1639: + rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(MLX5HWS_TABLE_TYPE_FDB, false); WARNING: line length of 85 exceeds 80 columns #1683: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1644: + obj_id = mlx5hws_pool_chunk_get_base_id(stc_pool, &default_stc->default_hit); WARNING: line length of 93 exceeds 80 columns #1695: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1656: + rtc_attr.table_type = mlx5hws_table_get_res_fw_ft_type(MLX5HWS_TABLE_TYPE_FDB, true); WARNING: line length of 92 exceeds 80 columns #1697: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1658: + obj_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, &default_stc->default_hit); WARNING: line length of 87 exceeds 80 columns #1722: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1683: + struct mlx5hws_matcher_action_ste *table_ste) WARNING: line length of 91 exceeds 80 columns #1736: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1697: + struct mlx5hws_matcher_action_ste *table_ste, WARNING: line length of 83 exceeds 80 columns #1737: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1698: + struct mlx5hws_action *hit_ft_action, WARNING: line length of 84 exceeds 80 columns #1738: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1699: + struct mlx5hws_definer *range_definer, WARNING: line length of 83 exceeds 80 columns #1763: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1724: + ste_attr.send_attr.len = MLX5HWS_WQE_SZ_GTA_CTRL + MLX5HWS_WQE_SZ_GTA_DATA; WARNING: line length of 84 exceeds 80 columns #1798: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1759: + ste_attr.send_attr.range_definer_id = mlx5hws_definer_get_id(range_definer); WARNING: line length of 85 exceeds 80 columns #1802: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1763: + * min_value_2 sets in DW0 in the STE and max_value_2 sets in DW1 in the STE. WARNING: line length of 81 exceeds 80 columns #1849: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1810: + action = hws_action_create_generic(ctx, flags, MLX5HWS_ACTION_TYP_RANGE); WARNING: line length of 87 exceeds 80 columns #1857: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1818: + table_ste = hws_action_create_dest_match_range_table(ctx, definer, miss_ft_id); WARNING: line length of 84 exceeds 80 columns #1861: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1822: + hit_ft_action = mlx5hws_action_create_dest_table_num(ctx, hit_ft_id, flags); WARNING: line length of 85 exceeds 80 columns #1884: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1845: + ret = mlx5hws_action_alloc_single_stc(ctx, &stc_attr, MLX5HWS_TABLE_TYPE_FDB, WARNING: line length of 84 exceeds 80 columns #1885: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1846: + &action->stc[MLX5HWS_TABLE_TYPE_FDB]); WARNING: line length of 89 exceeds 80 columns #1943: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1904: + hws_action_put_shared_stc(action, MLX5HWS_CONTEXT_SHARED_STC_DOUBLE_POP); WARNING: line length of 97 exceeds 80 columns #1947: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1908: + mlx5hws_cmd_forward_tbl_destroy(action->ctx->mdev, action->dest_array.fw_island); WARNING: line length of 90 exceeds 80 columns #1949: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1910: + ext_reformat_id = action->dest_array.dest_list[i].ext_reformat_id; WARNING: line length of 86 exceeds 80 columns #1951: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1912: + mlx5hws_cmd_packet_reformat_destroy(action->ctx->mdev, WARNING: line length of 85 exceeds 80 columns #1952: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1913: + ext_reformat_id); WARNING: line length of 88 exceeds 80 columns #1963: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1924: + action[i].modify_header.pat_id); WARNING: line length of 87 exceeds 80 columns #1973: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1934: + hws_action_put_shared_stc(action, MLX5HWS_CONTEXT_SHARED_STC_DECAP_L3); WARNING: line length of 96 exceeds 80 columns #1986: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1947: + hws_action_destroy_dest_match_range_table(action->ctx, action->range.table_ste); WARNING: line length of 81 exceeds 80 columns #2094: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2055: + mlx5hws_action_free_single_stc(ctx, tbl_type, &default_stc->default_hit); WARNING: line length of 87 exceeds 80 columns #2119: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2080: + memcpy(&new_arg_data[j], arg_data, MLX5HWS_MODIFY_ACTION_SIZE); WARNING: line length of 86 exceeds 80 columns #2152: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2113: + * with vlan: r_h-insert_4b-insert_4b-insert_4b-insert_4b-insert_4b-remove_2b. WARNING: line length of 85 exceeds 80 columns #2204: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2165: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW7] = rule_action->push_vlan.vlan_hdr; WARNING: line length of 84 exceeds 80 columns #2206: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2167: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW6, setter->idx_double); WARNING: line length of 83 exceeds 80 columns #2239: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2200: + single_action = (u8 *)&action->modify_header.single_action; WARNING: line length of 84 exceeds 80 columns #2244: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2205: + *(__be32 *)MLX5_ADDR_OF(set_action_in, single_action, data); WARNING: line length of 84 exceeds 80 columns #2246: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2207: + /* Argument offset multiple with number of args per these actions */ WARNING: line length of 92 exceeds 80 columns #2247: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2208: + arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); WARNING: line length of 87 exceeds 80 columns #2255: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2216: + action->modify_header.arg_id + arg_idx, WARNING: line length of 85 exceeds 80 columns #2257: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2218: + action->modify_header.num_of_actions, WARNING: line length of 86 exceeds 80 columns #2258: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2219: + action->modify_header.nope_locations); WARNING: line length of 84 exceeds 80 columns #2308: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2269: + arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); WARNING: line length of 81 exceeds 80 columns #2321: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2282: + action->modify_header.arg_id + arg_idx, WARNING: line length of 84 exceeds 80 columns #2342: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2303: + offset = rule_action->aso_meter.offset / MLX5_ASO_METER_NUM_PER_OBJ; WARNING: line length of 90 exceeds 80 columns #2343: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2304: + exe_aso_ctrl = rule_action->aso_meter.offset % MLX5_ASO_METER_NUM_PER_OBJ; WARNING: line length of 92 exceeds 80 columns #2349: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2310: + "Unsupported ASO action type: %d\n", rule_action->action->type); WARNING: line length of 84 exceeds 80 columns #2357: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2318: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW6, setter->idx_double); WARNING: line length of 83 exceeds 80 columns #2368: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2329: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW5] = htonl(rule_action->tag.value); WARNING: line length of 84 exceeds 80 columns #2369: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2330: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW5, setter->idx_single); WARNING: line length of 88 exceeds 80 columns #2379: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2340: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW0] = htonl(rule_action->counter.offset); WARNING: line length of 82 exceeds 80 columns #2380: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2341: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_CTRL, setter->idx_ctr); WARNING: line length of 84 exceeds 80 columns #2388: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2349: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW5, setter->idx_single); WARNING: line length of 95 exceeds 80 columns #2398: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2359: + MLX5HWS_CONTEXT_SHARED_STC_DOUBLE_POP)); WARNING: line length of 81 exceeds 80 columns #2406: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2367: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_HIT, setter->idx_hit); WARNING: line length of 92 exceeds 80 columns #2422: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2383: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_HIT_LSB] = htonl(apply->next_direct_idx << 6); WARNING: line length of 95 exceeds 80 columns #2423: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2384: + apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_HIT] = htonl(apply->jump_to_action_stc); WARNING: line length of 93 exceeds 80 columns #2433: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2394: + MLX5HWS_CONTEXT_SHARED_STC_DECAP_L3)); WARNING: line length of 81 exceeds 80 columns #2442: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2403: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_HIT, setter->idx_hit); WARNING: line length of 94 exceeds 80 columns #2494: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2455: + pop_setter->set_single = &hws_action_setter_single_double_pop; WARNING: line length of 88 exceeds 80 columns #2498: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2459: + ASF_SINGLE1 | ASF_MODIFY | WARNING: line length of 100 exceeds 80 columns #2508: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2469: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 100 exceeds 80 columns #2516: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2477: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 87 exceeds 80 columns #2524: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2485: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE); WARNING: line length of 88 exceeds 80 columns #2534: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2495: + ASF_SINGLE1 | ASF_MODIFY); WARNING: line length of 100 exceeds 80 columns #2543: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2504: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 88 exceeds 80 columns #2552: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2513: + ASF_SINGLE1 | ASF_DOUBLE); WARNING: line length of 83 exceeds 80 columns #2561: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2522: + /* Double modify header list with remove and push inline */ WARNING: line length of 100 exceeds 80 columns #2562: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2523: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 83 exceeds 80 columns #2569: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2530: + /* Single TAG action, search for any room from the start */ WARNING: line length of 89 exceeds 80 columns #2570: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2531: + setter = hws_action_setter_find_first(start_setter, ASF_SINGLE1); WARNING: line length of 82 exceeds 80 columns #2578: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2539: + * TODO: Current counter executed first. Support is needed WARNING: line length of 84 exceeds 80 columns #2579: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2540: + * for single ation counter action which is done last. WARNING: line length of 85 exceeds 80 columns #2582: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2543: + setter = hws_action_setter_find_first(start_setter, ASF_CTR); WARNING: line length of 85 exceeds 80 columns #2624: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2585: + at->action_type_arr = kcalloc(num_actions, sizeof(*action_type), GFP_KERNEL); WARNING: line length of 82 exceeds 80 columns #2744: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:95: +typedef void (*mlx5hws_action_setter_fp)(struct mlx5hws_actions_apply_data *apply, WARNING: line length of 84 exceeds 80 columns #2745: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:96: + struct mlx5hws_actions_wqe_setter *setter); WARNING: line length of 82 exceeds 80 columns #2813: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:164: + struct mlx5hws_cmd_forward_tbl *fw_island; WARNING: line length of 83 exceeds 80 columns #2815: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:166: + struct mlx5hws_cmd_set_fte_dest *dest_list; WARNING: line length of 96 exceeds 80 columns #2825: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:176: + /* PRM start anchor from which header will be removed */ WARNING: line length of 88 exceeds 80 columns #2827: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:178: + /* Header remove offset in bytes, from the start WARNING: line length of 93 exceeds 80 columns #2828: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:179: + * anchor to the location where remove header starts. WARNING: line length of 88 exceeds 80 columns #2831: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:182: + /* Indicates the removed header size in bytes */ WARNING: line length of 85 exceeds 80 columns #2835: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:186: + struct mlx5hws_matcher_action_ste *table_ste; WARNING: line length of 81 exceeds 80 columns #2866: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:217: + struct mlx5hws_cmd_stc_modify_attr *stc_attr, WARNING: line length of 84 exceeds 80 columns #2927: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:278: + mlx5hws_action_setter_default_single(apply, setter); WARNING: line length of 84 exceeds 80 columns #2932: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.h:283: + mlx5hws_action_setter_default_double(apply, setter); total: 0 errors, 183 warnings, 0 checks, 2911 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 103e49c9b280 ("net/mlx5: HWS, added actions 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, 183 warnings, 0 checks, 2911 lines checked