Lines Matching refs:otx2_nic
26 static void otx2_qos_update_tx_netdev_queues(struct otx2_nic *pfvf) in otx2_qos_update_tx_netdev_queues()
71 static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum) in otx2_qos_quantum_to_dwrr_weight()
82 static void otx2_config_sched_shaping(struct otx2_nic *pfvf, in otx2_config_sched_shaping()
136 static void __otx2_qos_txschq_cfg(struct otx2_nic *pfvf, in __otx2_qos_txschq_cfg()
192 static int otx2_qos_txschq_set_parent_topology(struct otx2_nic *pfvf, in otx2_qos_txschq_set_parent_topology()
233 static void otx2_qos_free_hw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_hw_node_schq()
242 static void otx2_qos_free_hw_node(struct otx2_nic *pfvf, in otx2_qos_free_hw_node()
254 static void otx2_qos_free_hw_cfg(struct otx2_nic *pfvf, in otx2_qos_free_hw_cfg()
269 static void otx2_qos_sw_node_delete(struct otx2_nic *pfvf, in otx2_qos_sw_node_delete()
283 static void otx2_qos_free_sw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_sw_node_schq()
294 static void __otx2_qos_free_sw_node(struct otx2_nic *pfvf, in __otx2_qos_free_sw_node()
306 static void otx2_qos_free_sw_node(struct otx2_nic *pfvf, in otx2_qos_free_sw_node()
318 static void otx2_qos_destroy_node(struct otx2_nic *pfvf, in otx2_qos_destroy_node()
351 static void otx2_qos_prepare_txschq_cfg(struct otx2_nic *pfvf, in otx2_qos_prepare_txschq_cfg()
391 static void otx2_qos_read_txschq_cfg(struct otx2_nic *pfvf, in otx2_qos_read_txschq_cfg()
401 otx2_qos_alloc_root(struct otx2_nic *pfvf) in otx2_qos_alloc_root()
453 static int otx2_qos_alloc_txschq_node(struct otx2_nic *pfvf, in otx2_qos_alloc_txschq_node()
498 otx2_qos_sw_create_leaf_node(struct otx2_nic *pfvf, in otx2_qos_sw_create_leaf_node()
548 *otx2_sw_node_find_by_qid(struct otx2_nic *pfvf, u16 qid) in otx2_sw_node_find_by_qid()
562 otx2_sw_node_find(struct otx2_nic *pfvf, u32 classid) in otx2_sw_node_find()
575 otx2_sw_node_find_rcu(struct otx2_nic *pfvf, u32 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()
609 otx2_qos_txschq_config(struct otx2_nic *pfvf, struct otx2_qos_node *node) in otx2_qos_txschq_config()
633 static int otx2_qos_txschq_alloc(struct otx2_nic *pfvf, in otx2_qos_txschq_alloc()
689 static void otx2_qos_free_unused_txschq(struct otx2_nic *pfvf, in otx2_qos_free_unused_txschq()
704 static void otx2_qos_txschq_fill_cfg_schq(struct otx2_nic *pfvf, in otx2_qos_txschq_fill_cfg_schq()
718 static void otx2_qos_txschq_fill_cfg_tl(struct otx2_nic *pfvf, in otx2_qos_txschq_fill_cfg_tl()
738 static void otx2_qos_txschq_fill_cfg(struct otx2_nic *pfvf, in otx2_qos_txschq_fill_cfg()
749 static void __otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf, in __otx2_qos_assign_base_idx_tl()
775 static int otx2_qos_assign_base_idx_tl(struct otx2_nic *pfvf, in otx2_qos_assign_base_idx_tl()
814 static int otx2_qos_assign_base_idx(struct otx2_nic *pfvf, in otx2_qos_assign_base_idx()
826 static int otx2_qos_txschq_push_cfg_schq(struct otx2_nic *pfvf, in otx2_qos_txschq_push_cfg_schq()
845 static int otx2_qos_txschq_push_cfg_tl(struct otx2_nic *pfvf, in otx2_qos_txschq_push_cfg_tl()
871 static int otx2_qos_txschq_push_cfg(struct otx2_nic *pfvf, in otx2_qos_txschq_push_cfg()
887 static int otx2_qos_txschq_update_config(struct otx2_nic *pfvf, in otx2_qos_txschq_update_config()
896 static int otx2_qos_txschq_update_root_cfg(struct otx2_nic *pfvf, in otx2_qos_txschq_update_root_cfg()
904 static void otx2_qos_free_cfg(struct otx2_nic *pfvf, struct otx2_qos_cfg *cfg) in otx2_qos_free_cfg()
925 static void otx2_qos_enadis_sq(struct otx2_nic *pfvf, in otx2_qos_enadis_sq()
937 static void otx2_qos_update_smq_schq(struct otx2_nic *pfvf, in otx2_qos_update_smq_schq()
956 static void __otx2_qos_update_smq(struct otx2_nic *pfvf, in __otx2_qos_update_smq()
977 static void otx2_qos_update_smq(struct otx2_nic *pfvf, in otx2_qos_update_smq()
987 static int otx2_qos_push_txschq_cfg(struct otx2_nic *pfvf, in otx2_qos_push_txschq_cfg()
1017 static int otx2_qos_update_tree(struct otx2_nic *pfvf, in otx2_qos_update_tree()
1025 static int otx2_qos_root_add(struct otx2_nic *pfvf, u16 htb_maj_id, u16 htb_defcls, in otx2_qos_root_add()
1093 static int otx2_qos_root_destroy(struct otx2_nic *pfvf) in otx2_qos_root_destroy()
1110 static int otx2_qos_validate_quantum(struct otx2_nic *pfvf, u32 quantum) in otx2_qos_validate_quantum()
1128 struct otx2_nic *pfvf, in otx2_qos_validate_dwrr_cfg()
1151 struct otx2_nic *pfvf, in otx2_qos_validate_configuration()
1181 struct otx2_nic *pfvf, 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()
1356 static int otx2_qos_leaf_to_inner(struct otx2_nic *pfvf, u16 classid, in otx2_qos_leaf_to_inner()
1495 static int otx2_qos_cur_leaf_nodes(struct otx2_nic *pfvf) in otx2_qos_cur_leaf_nodes()
1515 static void otx2_cfg_smq(struct otx2_nic *pfvf, struct otx2_qos_node *node, in otx2_cfg_smq()
1527 static int otx2_qos_leaf_del(struct otx2_nic *pfvf, u16 *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()
1686 void otx2_clean_qos_queues(struct otx2_nic *pfvf) in otx2_clean_qos_queues()
1697 void otx2_qos_config_txschq(struct otx2_nic *pfvf) in otx2_qos_config_txschq()
1731 struct otx2_nic *pfvf = netdev_priv(ndev); in otx2_setup_tc_htb()