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

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

--- a/drivers/net/ethernet/mellanox/mlx5/core/en/htb.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en/htb.h
@@ -28,8 +28,13 @@ mlx5e_htb_leaf_alloc_queue(struct mlx5e_
 int
 mlx5e_htb_leaf_to_inner(struct mlx5e_htb *htb, 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_htb *htb, u16 *classid,
 		       struct netlink_ext_ack *extack);
+#else
+int mlx5e_htb_leaf_del(struct mlx5e_htb *htb, u16 classid, u16 *old_qid,
+		       u16 *new_qid, struct netlink_ext_ack *extack);
+#endif
 int
 mlx5e_htb_leaf_del_last(struct mlx5e_htb *htb, u16 classid, bool force,
 			struct netlink_ext_ack *extack);
