Lines Matching refs:htb
1647 int otx2_setup_tc_htb(struct net_device *ndev, struct tc_htb_qopt_offload *htb) in otx2_setup_tc_htb() argument
1652 switch (htb->command) { in otx2_setup_tc_htb()
1654 return otx2_qos_root_add(pfvf, htb->parent_classid, in otx2_setup_tc_htb()
1655 htb->classid, htb->extack); in otx2_setup_tc_htb()
1659 res = otx2_qos_leaf_alloc_queue(pfvf, htb->classid, in otx2_setup_tc_htb()
1660 htb->parent_classid, in otx2_setup_tc_htb()
1661 htb->rate, htb->ceil, in otx2_setup_tc_htb()
1662 htb->prio, htb->quantum, in otx2_setup_tc_htb()
1663 htb->extack); in otx2_setup_tc_htb()
1666 htb->qid = res; in otx2_setup_tc_htb()
1669 return otx2_qos_leaf_to_inner(pfvf, htb->parent_classid, in otx2_setup_tc_htb()
1670 htb->classid, htb->rate, in otx2_setup_tc_htb()
1671 htb->ceil, htb->prio, in otx2_setup_tc_htb()
1672 htb->quantum, htb->extack); in otx2_setup_tc_htb()
1674 return otx2_qos_leaf_del(pfvf, &htb->classid, htb->extack); in otx2_setup_tc_htb()
1677 return otx2_qos_leaf_del_last(pfvf, htb->classid, in otx2_setup_tc_htb()
1678 htb->command == TC_HTB_LEAF_DEL_LAST_FORCE, in otx2_setup_tc_htb()
1679 htb->extack); in otx2_setup_tc_htb()
1681 res = otx2_get_txq_by_classid(pfvf, htb->classid); in otx2_setup_tc_htb()
1682 htb->qid = res; in otx2_setup_tc_htb()