net/mlx5: fix tunnel offload callback names
Fix mlx5_flow_tunnel_action_release and mlx5_flow_tunnel_item_release callback names to match tunnel offload names pattern. Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload") Signed-off-by: Gregory Etelson <getelson@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
This commit is contained in:
parent
e4f72c9e66
commit
8b11f9aa7b
@ -662,9 +662,9 @@ mlx5_flow_tunnel_match(struct rte_eth_dev *dev,
|
||||
}
|
||||
|
||||
static int
|
||||
mlx5_flow_item_release(struct rte_eth_dev *dev,
|
||||
struct rte_flow_item *pmd_items,
|
||||
uint32_t num_items, struct rte_flow_error *err)
|
||||
mlx5_flow_tunnel_item_release(struct rte_eth_dev *dev,
|
||||
struct rte_flow_item *pmd_items,
|
||||
uint32_t num_items, struct rte_flow_error *err)
|
||||
{
|
||||
struct mlx5_flow_tunnel_hub *thub = mlx5_tunnel_hub(dev);
|
||||
struct mlx5_flow_tunnel *tun;
|
||||
@ -687,9 +687,10 @@ mlx5_flow_item_release(struct rte_eth_dev *dev,
|
||||
}
|
||||
|
||||
static int
|
||||
mlx5_flow_action_release(struct rte_eth_dev *dev,
|
||||
struct rte_flow_action *pmd_actions,
|
||||
uint32_t num_actions, struct rte_flow_error *err)
|
||||
mlx5_flow_tunnel_action_release(struct rte_eth_dev *dev,
|
||||
struct rte_flow_action *pmd_actions,
|
||||
uint32_t num_actions,
|
||||
struct rte_flow_error *err)
|
||||
{
|
||||
struct mlx5_flow_tunnel_hub *thub = mlx5_tunnel_hub(dev);
|
||||
struct mlx5_flow_tunnel *tun;
|
||||
@ -760,8 +761,8 @@ static const struct rte_flow_ops mlx5_flow_ops = {
|
||||
.shared_action_query = mlx5_shared_action_query,
|
||||
.tunnel_decap_set = mlx5_flow_tunnel_decap_set,
|
||||
.tunnel_match = mlx5_flow_tunnel_match,
|
||||
.tunnel_action_decap_release = mlx5_flow_action_release,
|
||||
.tunnel_item_release = mlx5_flow_item_release,
|
||||
.tunnel_action_decap_release = mlx5_flow_tunnel_action_release,
|
||||
.tunnel_item_release = mlx5_flow_tunnel_item_release,
|
||||
.get_restore_info = mlx5_flow_tunnel_get_restore_info,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user