Lines Matching refs:classid

418 	node->classid = OTX2_QOS_ROOT_CLASSID;  in otx2_qos_alloc_root()
420 hash_add_rcu(pfvf->qos.qos_hlist, &node->hlist, node->classid); in otx2_qos_alloc_root()
467 txschq_node->classid = OTX2_QOS_CLASS_NONE; in otx2_qos_alloc_txschq_node()
500 u16 classid, u32 prio, u64 rate, u64 ceil, in otx2_qos_sw_create_leaf_node() argument
512 node->classid = classid; in otx2_qos_sw_create_leaf_node()
525 hash_add_rcu(pfvf->qos.qos_hlist, &node->hlist, classid); in otx2_qos_sw_create_leaf_node()
562 otx2_sw_node_find(struct otx2_nic *pfvf, u32 classid) in otx2_sw_node_find() argument
566 hash_for_each_possible(pfvf->qos.qos_hlist, node, hlist, classid) { in otx2_sw_node_find()
567 if (node->classid == classid) in otx2_sw_node_find()
575 otx2_sw_node_find_rcu(struct otx2_nic *pfvf, u32 classid) in otx2_sw_node_find_rcu() argument
579 hash_for_each_possible_rcu(pfvf->qos.qos_hlist, node, hlist, classid) { in otx2_sw_node_find_rcu()
580 if (node->classid == classid) in otx2_sw_node_find_rcu()
587 int otx2_get_txq_by_classid(struct otx2_nic *pfvf, u16 classid) in otx2_get_txq_by_classid() argument
593 node = otx2_sw_node_find_rcu(pfvf, classid); in otx2_get_txq_by_classid()
1200 node->classid, node->quantum, in is_qos_node_dwrr()
1217 static int otx2_qos_leaf_alloc_queue(struct otx2_nic *pfvf, u16 classid, in otx2_qos_leaf_alloc_queue() argument
1229 classid, parent_classid, rate, ceil, prio, quantum); in otx2_qos_leaf_alloc_queue()
1297 node = otx2_qos_sw_create_leaf_node(pfvf, parent, classid, prio, rate, in otx2_qos_leaf_alloc_queue()
1356 static int otx2_qos_leaf_to_inner(struct otx2_nic *pfvf, u16 classid, in otx2_qos_leaf_to_inner() argument
1368 classid, child_classid, rate, ceil); in otx2_qos_leaf_to_inner()
1383 node = otx2_sw_node_find(pfvf, classid); in otx2_qos_leaf_to_inner()
1527 static int otx2_qos_leaf_del(struct otx2_nic *pfvf, u16 *classid, in otx2_qos_leaf_del() argument
1535 netdev_dbg(pfvf->netdev, "TC_HTB_LEAF_DEL classid %04x\n", *classid); in otx2_qos_leaf_del()
1538 node = otx2_sw_node_find(pfvf, *classid); in otx2_qos_leaf_del()
1599 *classid = node->classid; in otx2_qos_leaf_del()
1603 static int otx2_qos_leaf_del_last(struct otx2_nic *pfvf, u16 classid, bool force, in otx2_qos_leaf_del_last() argument
1614 "TC_HTB_LEAF_DEL_LAST classid %04x\n", classid); in otx2_qos_leaf_del_last()
1617 node = otx2_sw_node_find(pfvf, classid); in otx2_qos_leaf_del_last()
1627 parent = otx2_sw_node_find(pfvf, node->parent->classid); in otx2_qos_leaf_del_last()
1737 htb->classid, htb->extack); in otx2_setup_tc_htb()
1741 res = otx2_qos_leaf_alloc_queue(pfvf, htb->classid, in otx2_setup_tc_htb()
1752 htb->classid, htb->rate, in otx2_setup_tc_htb()
1756 return otx2_qos_leaf_del(pfvf, &htb->classid, htb->extack); in otx2_setup_tc_htb()
1759 return otx2_qos_leaf_del_last(pfvf, htb->classid, in otx2_setup_tc_htb()
1763 res = otx2_get_txq_by_classid(pfvf, htb->classid); in otx2_setup_tc_htb()