net/mlx5: fix flow engine type in function name
authorAsaf Penso <asafp@nvidia.com>
Wed, 28 Jul 2021 09:39:46 +0000 (12:39 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 29 Jul 2021 16:01:22 +0000 (18:01 +0200)
The concrete function names have a prefix for flow_dv.
This emphasizes the flow engine is Direct Verbs.

The function flow_get_aged_flows doesn’t have this prefix.
It creates an inconsistency with the other functions.

Update the function name to include dv.

Fixes: fa2d01c87d2 ("net/mlx5: support flow aging")
Cc: stable@dpdk.org
Signed-off-by: Asaf Penso <asafp@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c

index 7f07e3d..2de6b4f 100644 (file)
@@ -17239,7 +17239,7 @@ flow_dv_counter_query(struct rte_eth_dev *dev, uint32_t counter, bool clear,
  * @note: only stub for now
  */
 static int
-flow_get_aged_flows(struct rte_eth_dev *dev,
+flow_dv_get_aged_flows(struct rte_eth_dev *dev,
                    void **context,
                    uint32_t nb_contexts,
                    struct rte_flow_error *error)
@@ -17862,7 +17862,7 @@ const struct mlx5_flow_driver_ops mlx5_flow_dv_drv_ops = {
        .counter_alloc = flow_dv_counter_allocate,
        .counter_free = flow_dv_counter_free,
        .counter_query = flow_dv_counter_query,
-       .get_aged_flows = flow_get_aged_flows,
+       .get_aged_flows = flow_dv_get_aged_flows,
        .action_validate = flow_dv_action_validate,
        .action_create = flow_dv_action_create,
        .action_destroy = flow_dv_action_destroy,