From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/net/ethernet/mellanox/mlx5/core/en/qos.h

Change-Id: Iaafa2ae48160b02f580b8c1767a5b3751820d653
---
 drivers/net/ethernet/mellanox/mlx5/core/en/qos.h | 5 +++++
 1 file changed, 5 insertions(+)

--- a/drivers/net/ethernet/mellanox/mlx5/core/en/qos.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en/qos.h
@@ -35,8 +35,13 @@ int mlx5e_htb_leaf_alloc_queue(struct ml
 			       struct netlink_ext_ack *extack);
 int mlx5e_htb_leaf_to_inner(struct mlx5e_priv *priv, u16 classid, u16 child_classid,
 			    u64 rate, u64 ceil, struct netlink_ext_ack *extack);
+#ifndef HAVE_TC_HTB_COMMAND_HAS_MOVED_QID
 int mlx5e_htb_leaf_del(struct mlx5e_priv *priv, u16 *classid,
 		       struct netlink_ext_ack *extack);
+#else
+int mlx5e_htb_leaf_del(struct mlx5e_priv *priv, u16 classid, u16 *old_qid,
+		       u16 *new_qid, struct netlink_ext_ack *extack);
+#endif
 int mlx5e_htb_leaf_del_last(struct mlx5e_priv *priv, u16 classid, bool force,
 			    struct netlink_ext_ack *extack);
 int mlx5e_htb_node_modify(struct mlx5e_priv *priv, u16 classid, u64 rate, u64 ceil,
