WARNING: line length of 95 exceeds 80 columns #167: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:117: + misc_params_2 = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_2); WARNING: line length of 92 exceeds 80 columns #169: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:119: + misc_params_2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); WARNING: line length of 87 exceeds 80 columns #191: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:141: + MLX5_SET(copy_action_in, action, src_field, MLX5_ACTION_IN_FIELD_PSP_SYNDROME); WARNING: line length of 89 exceeds 80 columns #194: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:144: + MLX5_SET(copy_action_in, action, dst_field, MLX5_ACTION_IN_FIELD_METADATA_REG_B); WARNING: line length of 87 exceeds 80 columns #202: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:152: + "fail to alloc psp copy modify_header_id err=%d\n", err); WARNING: line length of 86 exceeds 80 columns #215: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:165: + mlx5_core_err(mdev, "fail to add psp rx err copy rule err=%d\n", err); WARNING: line length of 86 exceeds 80 columns #228: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:178: + mlx5_core_err(mdev, "fail to add psp rx err drop rule err=%d\n", err); WARNING: line length of 81 exceeds 80 columns #247: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:197: + struct mlx5e_accel_fs_psp_prot *fs_prot, WARNING: line length of 87 exceeds 80 columns #257: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:207: + ft_attr.level = MLX5E_ACCEL_FS_ESP_FT_ERR_LEVEL; // MLX5E_ACCEL_FS_TCP_FT_LEVEL WARNING: line length of 89 exceeds 80 columns #262: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:212: + mlx5_core_err(fs->mdev, "fail to create psp rx inline ft err=%d\n", err); WARNING: line length of 89 exceeds 80 columns #349: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:301: + MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); WARNING: line length of 87 exceeds 80 columns #350: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:302: + MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); WARNING: line length of 86 exceeds 80 columns #354: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:306: + mlx5_core_err(mdev, "fail to create psp rx miss_group err=%d\n", err); WARNING: line length of 83 exceeds 80 columns #360: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:312: + rule = mlx5_add_flow_rules(ft, spec, &flow_act, &fs_prot->default_dest, 1); WARNING: line length of 85 exceeds 80 columns #363: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:315: + mlx5_core_err(mdev, "fail to create psp rx miss_rule err=%d\n", err); WARNING: line length of 84 exceeds 80 columns #375: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:327: + MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_B); WARNING: line length of 91 exceeds 80 columns #380: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:332: + modify_hdr = mlx5_modify_header_alloc(mdev, MLX5_FLOW_NAMESPACE_KERNEL, 1, action); WARNING: line length of 92 exceeds 80 columns #383: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:335: + mlx5_core_err(mdev, "fail to alloc psp set modify_header_id err=%d\n", err); WARNING: line length of 88 exceeds 80 columns #414: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:366: +static int accel_psp_fs_rx_destroy(struct mlx5e_psp_fs *fs, enum accel_fs_psp_type type) WARNING: line length of 90 exceeds 80 columns #421: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:373: + /* The netdev unreg already happened, so all offloaded rule are already removed */ WARNING: line length of 87 exceeds 80 columns #431: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:383: +static int accel_psp_fs_rx_create(struct mlx5e_psp_fs *fs, enum accel_fs_psp_type type) WARNING: line length of 87 exceeds 80 columns #454: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:406: +static int accel_psp_fs_rx_ft_get(struct mlx5e_psp_fs *fs, enum accel_fs_psp_type type) WARNING: line length of 88 exceeds 80 columns #488: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:440: +static void accel_psp_fs_rx_ft_put(struct mlx5e_psp_fs *fs, enum accel_fs_psp_type type) total: 0 errors, 23 warnings, 0 checks, 529 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 331afe104c84 ("net/mlx5e: Add PSP steering in local NIC RX") 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, 23 warnings, 0 checks, 529 lines checked