WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #33: new file mode 100644 WARNING: line length of 85 exceeds 80 columns #51: 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 #115: 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 #140: 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 #141: 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 #147: 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 #148: 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 #179: 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 #194: 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 #206: 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 #236: 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 #289: 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 #290: 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 #296: 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 #297: 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 #300: 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 #301: 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 #310: 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 #311: 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 #318: 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 #319: 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 #322: 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 #323: 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 #334: 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 #335: 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 #336: 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 #340: 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 #355: 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 #382: 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 #401: 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 #461: 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 #498: 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 #499: 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 #500: 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 #504: 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 #506: 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 #507: 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 #508: 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 #522: 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 #552: 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 #558: 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 #559: 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 #567: 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 #568: 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 #569: 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 #573: 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 #581: 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 #601: 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 #625: 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 #643: 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 #662: 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 #862: 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 #866: 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 #879: 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 #896: 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 #919: 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 #923: 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 #938: 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 #980: 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 #981: 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 #982: 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 #1013: 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 #1104: 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 #1111: 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 #1118: 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 #1121: 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 #1133: 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 #1167: 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 #1170: 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 #1173: 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 #1199: 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 #1203: 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 #1204: 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 #1208: 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 #1259: 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 #1273: 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 #1280: 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 #1290: 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 #1295: 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 #1297: 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 #1303: 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 #1307: 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 #1340: 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 #1370: 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 #1410: 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 #1430: 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 #1431: 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 #1433: 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 #1434: 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 #1436: 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 #1440: 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 #1441: 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 #1442: 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 #1464: 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 #1468: 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 #1490: 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 #1508: 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 #1512: 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 #1550: 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 #1555: 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 #1596: 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 #1632: 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 #1676: 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 #1681: 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 #1693: 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 #1695: 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 #1720: 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 #1734: 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 #1735: 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 #1736: 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 #1761: 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 #1796: 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 #1800: 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 #1847: 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 #1855: 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 #1859: 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 #1882: 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 #1883: 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 #1941: 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 #1945: 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 #1947: 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 #1949: 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 #1950: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:1913: + ext_reformat_id); WARNING: line length of 88 exceeds 80 columns #1961: 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 #1971: 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 #1984: 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 #2092: 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 #2117: 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 #2150: 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 #2202: 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 #2204: 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 #2236: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2199: + single_action = (u8 *)&action->modify_header.single_action; WARNING: line length of 84 exceeds 80 columns #2241: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2204: + *(__be32 *)MLX5_ADDR_OF(set_action_in, single_action, data); WARNING: line length of 84 exceeds 80 columns #2243: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2206: + /* Argument offset multiple with number of args per these actions */ WARNING: line length of 92 exceeds 80 columns #2244: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2207: + arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); WARNING: line length of 87 exceeds 80 columns #2252: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2215: + action->modify_header.arg_id + arg_idx, WARNING: line length of 85 exceeds 80 columns #2254: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2217: + action->modify_header.num_of_actions, WARNING: line length of 86 exceeds 80 columns #2255: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2218: + action->modify_header.nope_locations); WARNING: line length of 84 exceeds 80 columns #2303: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2266: + arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); WARNING: line length of 81 exceeds 80 columns #2316: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2279: + action->modify_header.arg_id + arg_idx, WARNING: line length of 84 exceeds 80 columns #2337: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2300: + offset = rule_action->aso_meter.offset / MLX5_ASO_METER_NUM_PER_OBJ; WARNING: line length of 90 exceeds 80 columns #2338: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2301: + exe_aso_ctrl = rule_action->aso_meter.offset % MLX5_ASO_METER_NUM_PER_OBJ; WARNING: line length of 92 exceeds 80 columns #2344: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2307: + "Unsupported ASO action type: %d\n", rule_action->action->type); WARNING: line length of 84 exceeds 80 columns #2352: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2315: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW6, setter->idx_double); WARNING: line length of 83 exceeds 80 columns #2363: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2326: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW5] = htonl(rule_action->tag.value); WARNING: line length of 84 exceeds 80 columns #2364: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2327: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW5, setter->idx_single); WARNING: line length of 88 exceeds 80 columns #2374: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2337: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW0] = htonl(rule_action->counter.offset); WARNING: line length of 82 exceeds 80 columns #2375: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2338: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_CTRL, setter->idx_ctr); WARNING: line length of 84 exceeds 80 columns #2383: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2346: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW5, setter->idx_single); WARNING: line length of 95 exceeds 80 columns #2393: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2356: + MLX5HWS_CONTEXT_SHARED_STC_DOUBLE_POP)); WARNING: line length of 81 exceeds 80 columns #2401: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2364: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_HIT, setter->idx_hit); WARNING: line length of 92 exceeds 80 columns #2417: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2380: + apply->wqe_data[MLX5HWS_ACTION_OFFSET_HIT_LSB] = htonl(apply->next_direct_idx << 6); WARNING: line length of 95 exceeds 80 columns #2418: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2381: + apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_HIT] = htonl(apply->jump_to_action_stc); WARNING: line length of 93 exceeds 80 columns #2428: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2391: + MLX5HWS_CONTEXT_SHARED_STC_DECAP_L3)); WARNING: line length of 81 exceeds 80 columns #2437: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2400: + hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_HIT, setter->idx_hit); WARNING: line length of 94 exceeds 80 columns #2489: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2452: + pop_setter->set_single = &hws_action_setter_single_double_pop; WARNING: line length of 88 exceeds 80 columns #2493: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2456: + ASF_SINGLE1 | ASF_MODIFY | WARNING: line length of 100 exceeds 80 columns #2503: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2466: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 100 exceeds 80 columns #2511: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2474: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 87 exceeds 80 columns #2519: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2482: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE); WARNING: line length of 88 exceeds 80 columns #2529: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2492: + ASF_SINGLE1 | ASF_MODIFY); WARNING: line length of 100 exceeds 80 columns #2538: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2501: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 88 exceeds 80 columns #2547: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2510: + ASF_SINGLE1 | ASF_DOUBLE); WARNING: line length of 83 exceeds 80 columns #2556: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2519: + /* Double modify header list with remove and push inline */ WARNING: line length of 100 exceeds 80 columns #2557: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2520: + setter = hws_action_setter_find_first(last_setter, ASF_DOUBLE | ASF_REMOVE); WARNING: line length of 83 exceeds 80 columns #2564: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2527: + /* Single TAG action, search for any room from the start */ WARNING: line length of 89 exceeds 80 columns #2565: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2528: + setter = hws_action_setter_find_first(start_setter, ASF_SINGLE1); WARNING: line length of 82 exceeds 80 columns #2573: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2536: + * TODO: Current counter executed first. Support is needed WARNING: line length of 84 exceeds 80 columns #2574: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2537: + * for single ation counter action which is done last. WARNING: line length of 85 exceeds 80 columns #2577: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2540: + setter = hws_action_setter_find_first(start_setter, ASF_CTR); WARNING: line length of 85 exceeds 80 columns #2619: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_action.c:2582: + at->action_type_arr = kcalloc(num_actions, sizeof(*action_type), GFP_KERNEL); WARNING: line length of 82 exceeds 80 columns #2739: 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 #2740: 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 #2808: 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 #2810: 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 #2820: 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 #2822: 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 #2823: 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 #2826: 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 #2830: 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 #2861: 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 #2922: 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 #2927: 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, 2908 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 909fbb705465 ("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, 2908 lines checked