WARNING: line length of 95 exceeds 80 columns #168: 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 #170: 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 #192: 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 #195: 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 #203: 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 #216: 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 #229: 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 #248: 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 #258: 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 #263: 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 #350: 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 #351: 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 #355: 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 #361: 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 #364: 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 #376: 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 #381: 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 #384: 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 #415: 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 #422: 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 #432: 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 #455: 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 #490: FILE: drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_fs.c:441: +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, 530 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 d805e810e286 ("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, 530 lines checked