mlx5e_htb
struct mlx5e_htb;
struct mlx5e_htb *htb;
static struct mlx5e_qos_node *mlx5e_htb_node_find(struct mlx5e_htb *htb, u32 classid)
static struct mlx5e_qos_node *mlx5e_htb_node_find_rcu(struct mlx5e_htb *htb, u32 classid)
static void mlx5e_htb_node_delete(struct mlx5e_htb *htb, struct mlx5e_qos_node *node)
int mlx5e_htb_get_txq_by_classid(struct mlx5e_htb *htb, u16 classid)
mlx5e_htb_root_add(struct mlx5e_htb *htb, u16 htb_maj_id, u16 htb_defcls,
static int mlx5e_htb_root_del(struct mlx5e_htb *htb)
static int mlx5e_htb_convert_rate(struct mlx5e_htb *htb, u64 rate,
static void mlx5e_htb_convert_ceil(struct mlx5e_htb *htb, u64 ceil, u32 *max_average_bw)
mlx5e_htb_leaf_alloc_queue(struct mlx5e_htb *htb, u16 classid,
int mlx5e_htb_enumerate_leaves(struct mlx5e_htb *htb, mlx5e_fp_htb_enumerate callback, void *data)
mlx5e_htb_leaf_to_inner(struct mlx5e_htb *htb, u16 classid, u16 child_classid,
static struct mlx5e_qos_node *mlx5e_htb_node_find_by_qid(struct mlx5e_htb *htb, u16 qid)
int mlx5e_htb_leaf_del(struct mlx5e_htb *htb, u16 *classid,
int mlx5e_htb_cur_leaf_nodes(struct mlx5e_htb *htb)
mlx5e_htb_leaf_del_last(struct mlx5e_htb *htb, u16 classid, bool force,
static int mlx5e_htb_find_unused_qos_qid(struct mlx5e_htb *htb)
mlx5e_htb_update_children(struct mlx5e_htb *htb, struct mlx5e_qos_node *node,
mlx5e_htb_node_modify(struct mlx5e_htb *htb, u16 classid, u64 rate, u64 ceil,
struct mlx5e_htb *mlx5e_htb_alloc(void)
return kvzalloc_obj(struct mlx5e_htb);
mlx5e_htb_node_create_leaf(struct mlx5e_htb *htb, u16 classid, u16 qid,
void mlx5e_htb_free(struct mlx5e_htb *htb)
int mlx5e_htb_init(struct mlx5e_htb *htb, struct tc_htb_qopt_offload *htb_qopt,
void mlx5e_htb_cleanup(struct mlx5e_htb *htb)
static struct mlx5e_qos_node *mlx5e_htb_node_create_root(struct mlx5e_htb *htb)
struct mlx5e_htb;
int mlx5e_htb_enumerate_leaves(struct mlx5e_htb *htb, mlx5e_fp_htb_enumerate callback, void *data);
int mlx5e_htb_cur_leaf_nodes(struct mlx5e_htb *htb);
int mlx5e_htb_get_txq_by_classid(struct mlx5e_htb *htb, u16 classid);
mlx5e_htb_leaf_alloc_queue(struct mlx5e_htb *htb, u16 classid,
mlx5e_htb_leaf_to_inner(struct mlx5e_htb *htb, u16 classid, u16 child_classid,
int mlx5e_htb_leaf_del(struct mlx5e_htb *htb, u16 *classid,
mlx5e_htb_leaf_del_last(struct mlx5e_htb *htb, u16 classid, bool force,
mlx5e_htb_node_modify(struct mlx5e_htb *htb, u16 classid, u64 rate, u64 ceil,
struct mlx5e_htb *mlx5e_htb_alloc(void);
void mlx5e_htb_free(struct mlx5e_htb *htb);
int mlx5e_htb_init(struct mlx5e_htb *htb, struct tc_htb_qopt_offload *htb_qopt,
void mlx5e_htb_cleanup(struct mlx5e_htb *htb);
struct mlx5e_htb *htb = priv->htb;
struct mlx5e_htb;