]> git.itanic.dy.fi Git - linux-stable/commitdiff
net/mlx5: DR, Fix typo 'offeset' to 'offset'
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Thu, 12 Aug 2021 00:00:52 +0000 (03:00 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 30 Sep 2021 23:19:00 +0000 (16:19 -0700)
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h

index 0179d386ee4872e9c6fb64059b711b6e13954aaf..00199b3eae6acb1ba964b46edd9f68213fdcb4da 100644 (file)
@@ -632,7 +632,7 @@ int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
                        return -EOPNOTSUPP;
                case DR_ACTION_TYP_CTR:
                        attr.ctr_id = action->ctr->ctr_id +
-                               action->ctr->offeset;
+                               action->ctr->offset;
                        break;
                case DR_ACTION_TYP_TAG:
                        attr.flow_tag = action->flow_tag->flow_tag;
index 01787b9d5a5760eb3b178b83a676c7d61b198eda..73fed94af09af658bdefa0436400a0a4f7990b3a 100644 (file)
@@ -941,7 +941,7 @@ struct mlx5dr_action_dest_tbl {
 
 struct mlx5dr_action_ctr {
        u32 ctr_id;
-       u32 offeset;
+       u32 offset;
 };
 
 struct mlx5dr_action_vport {