Lines Matching refs:htb
1656 int otx2_setup_tc_htb(struct net_device *ndev, struct tc_htb_qopt_offload *htb) in otx2_setup_tc_htb() argument
1661 switch (htb->command) { in otx2_setup_tc_htb()
1663 return otx2_qos_root_add(pfvf, htb->parent_classid, in otx2_setup_tc_htb()
1664 htb->classid, htb->extack); in otx2_setup_tc_htb()
1668 res = otx2_qos_leaf_alloc_queue(pfvf, htb->classid, in otx2_setup_tc_htb()
1669 htb->parent_classid, in otx2_setup_tc_htb()
1670 htb->rate, htb->ceil, in otx2_setup_tc_htb()
1671 htb->prio, htb->quantum, in otx2_setup_tc_htb()
1672 htb->extack); in otx2_setup_tc_htb()
1675 htb->qid = res; in otx2_setup_tc_htb()
1678 return otx2_qos_leaf_to_inner(pfvf, htb->parent_classid, in otx2_setup_tc_htb()
1679 htb->classid, htb->rate, in otx2_setup_tc_htb()
1680 htb->ceil, htb->prio, in otx2_setup_tc_htb()
1681 htb->quantum, htb->extack); in otx2_setup_tc_htb()
1683 return otx2_qos_leaf_del(pfvf, &htb->classid, htb->extack); in otx2_setup_tc_htb()
1686 return otx2_qos_leaf_del_last(pfvf, htb->classid, in otx2_setup_tc_htb()
1687 htb->command == TC_HTB_LEAF_DEL_LAST_FORCE, in otx2_setup_tc_htb()
1688 htb->extack); in otx2_setup_tc_htb()
1690 res = otx2_get_txq_by_classid(pfvf, htb->classid); in otx2_setup_tc_htb()
1691 htb->qid = res; in otx2_setup_tc_htb()