H A D | ice_sched.c | 36 * @pi: port information structure 43 ice_sched_add_root_node(struct ice_port_info *pi, in ice_sched_add_root_node() argument 49 if (!pi) in ice_sched_add_root_node() 52 hw = pi->hw; in ice_sched_add_root_node() 66 pi->root = root; in ice_sched_add_root_node() 172 * @pi: port information structure 180 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node() 190 if (!pi) in ice_sched_add_node() 193 hw = pi->hw; in ice_sched_add_node() 196 parent = ice_sched_find_node_by_teid(pi in ice_sched_add_node() 178 ice_sched_add_node(struct ice_port_info * pi,u8 layer,struct ice_aqc_txsched_elem_data * info,struct ice_sched_node * prealloc_node) ice_sched_add_node() argument 301 ice_sched_get_first_node(struct ice_port_info * pi,struct ice_sched_node * parent,u8 layer) ice_sched_get_first_node() argument 314 ice_sched_get_tc_node(struct ice_port_info * pi,u8 tc) ice_sched_get_tc_node() argument 335 ice_free_sched_node(struct ice_port_info * pi,struct ice_sched_node * node) ice_free_sched_node() argument 802 ice_sched_clear_rl_prof(struct ice_port_info * pi) ice_sched_clear_rl_prof() argument 863 ice_sched_clear_tx_topo(struct ice_port_info * pi) ice_sched_clear_tx_topo() argument 881 ice_sched_clear_port(struct ice_port_info * pi) ice_sched_clear_port() argument 984 ice_sched_add_elems(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u16 * num_nodes_added,u32 * first_node_teid,struct ice_sched_node ** prealloc_nodes) ice_sched_add_elems() argument 1088 ice_sched_add_nodes_to_hw_layer(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u32 * first_node_teid,u16 * num_nodes_added) ice_sched_add_nodes_to_hw_layer() argument 1132 ice_sched_add_nodes_to_layer(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u32 * first_node_teid,u16 * num_nodes_added) ice_sched_add_nodes_to_layer() argument 1247 ice_rm_dflt_leaf_node(struct ice_port_info * pi) ice_rm_dflt_leaf_node() argument 1275 ice_sched_rm_dflt_nodes(struct ice_port_info * pi) ice_sched_rm_dflt_nodes() argument 1305 ice_sched_init_port(struct ice_port_info * pi) ice_sched_init_port() argument 1410 ice_sched_get_node(struct ice_port_info * pi,u32 teid) ice_sched_get_node() argument 1568 ice_sched_get_free_qgrp(struct ice_port_info * pi,struct ice_sched_node * vsi_node,struct ice_sched_node * qgrp_node,u8 owner) ice_sched_get_free_qgrp() argument 1613 ice_sched_get_free_qparent(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u8 owner) ice_sched_get_free_qparent() argument 1664 ice_sched_get_vsi_node(struct ice_port_info * pi,struct ice_sched_node * tc_node,u16 vsi_handle) ice_sched_get_vsi_node() argument 1693 ice_sched_get_agg_node(struct ice_port_info * pi,struct ice_sched_node * tc_node,u32 agg_id) ice_sched_get_agg_node() argument 1782 ice_sched_add_vsi_child_nodes(struct ice_port_info * pi,u16 vsi_handle,struct ice_sched_node * tc_node,u16 * num_nodes,u8 owner) ice_sched_add_vsi_child_nodes() argument 1838 ice_sched_calc_vsi_support_nodes(struct ice_port_info * pi,struct ice_sched_node * tc_node,u16 * num_nodes) ice_sched_calc_vsi_support_nodes() argument 1887 ice_sched_add_vsi_support_nodes(struct ice_port_info * pi,u16 vsi_handle,struct ice_sched_node * tc_node,u16 * num_nodes) ice_sched_add_vsi_support_nodes() argument 1937 ice_sched_add_vsi_to_topo(struct ice_port_info * pi,u16 vsi_handle,u8 tc) ice_sched_add_vsi_to_topo() argument 1965 ice_sched_update_vsi_child_nodes(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u16 new_numqs,u8 owner) ice_sched_update_vsi_child_nodes() argument 2040 ice_sched_cfg_vsi(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u16 maxqs,u8 owner,bool enable) ice_sched_cfg_vsi() argument 2116 ice_sched_rm_agg_vsi_info(struct ice_port_info * pi,u16 vsi_handle) ice_sched_rm_agg_vsi_info() argument 2165 ice_sched_rm_vsi_cfg(struct ice_port_info * pi,u16 vsi_handle,u8 owner) ice_sched_rm_vsi_cfg() argument 2236 ice_rm_vsi_lan_cfg(struct ice_port_info * pi,u16 vsi_handle) ice_rm_vsi_lan_cfg() argument 2249 ice_rm_vsi_rdma_cfg(struct ice_port_info * pi,u16 vsi_handle) ice_rm_vsi_rdma_cfg() argument 2410 ice_sched_move_nodes(struct ice_port_info * pi,struct ice_sched_node * parent,u16 num_items,u32 * list) ice_sched_move_nodes() argument 2473 ice_sched_move_vsi_to_agg(struct ice_port_info * pi,u16 vsi_handle,u32 agg_id,u8 tc) ice_sched_move_vsi_to_agg() argument 2555 ice_move_all_vsi_to_dflt_agg(struct ice_port_info * pi,struct ice_sched_agg_info * agg_info,u8 tc,bool rm_vsi_info) ice_move_all_vsi_to_dflt_agg() argument 2594 ice_sched_is_agg_inuse(struct ice_port_info * pi,struct ice_sched_node * node) ice_sched_is_agg_inuse() argument 2619 ice_sched_rm_agg_cfg(struct ice_port_info * pi,u32 agg_id,u8 tc) ice_sched_rm_agg_cfg() argument 2667 ice_rm_agg_cfg_tc(struct ice_port_info * pi,struct ice_sched_agg_info * agg_info,u8 tc,bool rm_vsi_info) ice_rm_agg_cfg_tc() argument 2700 ice_save_agg_tc_bitmap(struct ice_port_info * pi,u32 agg_id,ice_bitmap_t * tc_bitmap) ice_save_agg_tc_bitmap() argument 2723 ice_sched_add_agg_cfg(struct ice_port_info * pi,u32 agg_id,u8 tc) ice_sched_add_agg_cfg() argument 2813 ice_sched_cfg_agg(struct ice_port_info * pi,u32 agg_id,enum ice_agg_type agg_type,ice_bitmap_t * tc_bitmap) ice_sched_cfg_agg() argument 2875 ice_cfg_agg(struct ice_port_info * pi,u32 agg_id,enum ice_agg_type agg_type,u8 tc_bitmap) ice_cfg_agg() argument 2948 ice_save_agg_vsi_tc_bitmap(struct ice_port_info * pi,u32 agg_id,u16 vsi_handle,ice_bitmap_t * tc_bitmap) ice_save_agg_vsi_tc_bitmap() argument 2978 ice_sched_assoc_vsi_to_agg(struct ice_port_info * pi,u32 agg_id,u16 vsi_handle,ice_bitmap_t * tc_bitmap) ice_sched_assoc_vsi_to_agg() argument 3155 ice_move_vsi_to_agg(struct ice_port_info * pi,u32 agg_id,u16 vsi_handle,u8 tc_bitmap) ice_move_vsi_to_agg() argument 3179 ice_rm_agg_cfg(struct ice_port_info * pi,u32 agg_id) ice_rm_agg_cfg() argument 3262 ice_sched_save_vsi_bw_alloc(struct ice_port_info * pi,u16 vsi_handle,u8 tc,enum ice_rl_type rl_type,u16 bw_alloc) ice_sched_save_vsi_bw_alloc() argument 3355 ice_sched_save_vsi_bw(struct ice_port_info * pi,u16 vsi_handle,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_sched_save_vsi_bw() argument 3407 ice_sched_save_vsi_prio(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u8 prio) ice_sched_save_vsi_prio() argument 3434 ice_sched_save_agg_bw_alloc(struct ice_port_info * pi,u32 agg_id,u8 tc,enum ice_rl_type rl_type,u16 bw_alloc) ice_sched_save_agg_bw_alloc() argument 3468 ice_sched_save_agg_bw(struct ice_port_info * pi,u32 agg_id,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_sched_save_agg_bw() argument 3506 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info * pi,u16 vsi_handle,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_cfg_vsi_bw_lmt_per_tc() argument 3533 ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info * pi,u16 vsi_handle,u8 tc,enum ice_rl_type rl_type) ice_cfg_vsi_bw_dflt_lmt_per_tc() argument 3563 ice_cfg_agg_bw_lmt_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_cfg_agg_bw_lmt_per_tc() argument 3589 ice_cfg_agg_bw_dflt_lmt_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc,enum ice_rl_type rl_type) ice_cfg_agg_bw_dflt_lmt_per_tc() argument 3618 ice_cfg_vsi_bw_shared_lmt(struct ice_port_info * pi,u16 vsi_handle,u32 min_bw,u32 max_bw,u32 shared_bw) ice_cfg_vsi_bw_shared_lmt() argument 3634 ice_cfg_vsi_bw_no_shared_lmt(struct ice_port_info * pi,u16 vsi_handle) ice_cfg_vsi_bw_no_shared_lmt() argument 3654 ice_cfg_agg_bw_shared_lmt(struct ice_port_info * pi,u32 agg_id,u32 min_bw,u32 max_bw,u32 shared_bw) ice_cfg_agg_bw_shared_lmt() argument 3670 ice_cfg_agg_bw_no_shared_lmt(struct ice_port_info * pi,u32 agg_id) ice_cfg_agg_bw_no_shared_lmt() argument 3690 ice_cfg_agg_bw_shared_lmt_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc,u32 min_bw,u32 max_bw,u32 shared_bw) ice_cfg_agg_bw_shared_lmt_per_tc() argument 3707 ice_cfg_agg_bw_no_shared_lmt_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc) ice_cfg_agg_bw_no_shared_lmt_per_tc() argument 3726 ice_cfg_vsi_q_priority(struct ice_port_info * pi,u16 num_qs,u32 * q_ids,u8 * q_prio) ice_cfg_vsi_q_priority() argument 3766 ice_cfg_agg_vsi_priority_per_tc(struct ice_port_info * pi,u32 agg_id,u16 num_vsis,u16 * vsi_handle_arr,u8 * node_prio,u8 tc) ice_cfg_agg_vsi_priority_per_tc() argument 3853 ice_cfg_vsi_bw_alloc(struct ice_port_info * pi,u16 vsi_handle,u8 ena_tcmap,enum ice_rl_type rl_type,u8 * bw_alloc) ice_cfg_vsi_bw_alloc() argument 3905 ice_cfg_agg_bw_alloc(struct ice_port_info * pi,u32 agg_id,u8 ena_tcmap,enum ice_rl_type rl_type,u8 * bw_alloc) ice_cfg_agg_bw_alloc() argument 4229 ice_sched_get_rl_prof_layer(struct ice_port_info * pi,enum ice_rl_type rl_type,u8 layer_index) ice_sched_get_rl_prof_layer() argument 4339 ice_sched_set_node_bw_dflt(struct ice_port_info * pi,struct ice_sched_node * node,enum ice_rl_type rl_type,u8 layer_num) ice_sched_set_node_bw_dflt() argument 4395 ice_sched_set_node_bw(struct ice_port_info * pi,struct ice_sched_node * node,enum ice_rl_type rl_type,u32 bw,u8 layer_num) ice_sched_set_node_bw() argument 4439 ice_sched_set_node_priority(struct ice_port_info * pi,struct ice_sched_node * node,u16 priority) ice_sched_set_node_priority() argument 4464 ice_sched_set_node_weight(struct ice_port_info * pi,struct ice_sched_node * node,u16 weight) ice_sched_set_node_weight() argument 4496 ice_sched_set_node_bw_lmt(struct ice_port_info * pi,struct ice_sched_node * node,enum ice_rl_type rl_type,u32 bw) ice_sched_set_node_bw_lmt() argument 4529 ice_sched_set_node_bw_dflt_lmt(struct ice_port_info * pi,struct ice_sched_node * node,enum ice_rl_type rl_type) ice_sched_set_node_bw_dflt_lmt() argument 4603 ice_sched_set_q_bw_lmt(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u16 q_handle,enum ice_rl_type rl_type,u32 bw) ice_sched_set_q_bw_lmt() argument 4666 ice_cfg_q_bw_lmt(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u16 q_handle,enum ice_rl_type rl_type,u32 bw) ice_cfg_q_bw_lmt() argument 4684 ice_cfg_q_bw_dflt_lmt(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u16 q_handle,enum ice_rl_type rl_type) ice_cfg_q_bw_dflt_lmt() argument 4702 ice_sched_save_tc_node_bw(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_sched_save_tc_node_bw() argument 4733 ice_sched_set_tc_node_bw_lmt(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_sched_set_tc_node_bw_lmt() argument 4768 ice_cfg_tc_node_bw_lmt(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_cfg_tc_node_bw_lmt() argument 4783 ice_cfg_tc_node_bw_dflt_lmt(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type) ice_cfg_tc_node_bw_dflt_lmt() argument 4799 ice_sched_save_tc_node_bw_alloc(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u16 bw_alloc) ice_sched_save_tc_node_bw_alloc() argument 4831 ice_sched_set_tc_node_bw_alloc(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u8 bw_alloc) ice_sched_set_tc_node_bw_alloc() argument 4865 ice_cfg_tc_node_bw_alloc(struct ice_port_info * pi,u8 tc,enum ice_rl_type rl_type,u8 bw_alloc) ice_cfg_tc_node_bw_alloc() argument 4881 ice_sched_set_agg_bw_dflt_lmt(struct ice_port_info * pi,u16 vsi_handle) ice_sched_set_agg_bw_dflt_lmt() argument 4932 ice_sched_get_node_by_id_type(struct ice_port_info * pi,u32 id,enum ice_agg_type agg_type,u8 tc) ice_sched_get_node_by_id_type() argument 4997 ice_sched_set_node_bw_lmt_per_tc(struct ice_port_info * pi,u32 id,enum ice_agg_type agg_type,u8 tc,enum ice_rl_type rl_type,u32 bw) ice_sched_set_node_bw_lmt_per_tc() argument 5036 ice_sched_validate_vsi_srl_node(struct ice_port_info * pi,u16 vsi_handle) ice_sched_validate_vsi_srl_node() argument 5091 ice_sched_set_save_vsi_srl_node_bw(struct ice_port_info * pi,u16 vsi_handle,u8 tc,struct ice_sched_node * srl_node,enum ice_rl_type rl_type,u32 bw) ice_sched_set_save_vsi_srl_node_bw() argument 5123 ice_sched_set_vsi_node_srl_per_tc(struct ice_port_info * pi,u16 vsi_handle,u8 tc,u32 min_bw,u32 max_bw,u32 shared_bw) ice_sched_set_vsi_node_srl_per_tc() argument 5177 ice_sched_set_vsi_bw_shared_lmt(struct ice_port_info * pi,u16 vsi_handle,u32 min_bw,u32 max_bw,u32 shared_bw) ice_sched_set_vsi_bw_shared_lmt() argument 5227 ice_sched_validate_agg_srl_node(struct ice_port_info * pi,u32 agg_id) ice_sched_validate_agg_srl_node() argument 5282 ice_sched_validate_agg_id(struct ice_port_info * pi,u32 agg_id) ice_sched_validate_agg_id() argument 5320 ice_sched_set_save_agg_srl_node_bw(struct ice_port_info * pi,u32 agg_id,u8 tc,struct ice_sched_node * srl_node,enum ice_rl_type rl_type,u32 bw) ice_sched_set_save_agg_srl_node_bw() argument 5352 ice_sched_set_agg_node_srl_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc,u32 min_bw,u32 max_bw,u32 shared_bw) ice_sched_set_agg_node_srl_per_tc() argument 5407 ice_sched_set_agg_bw_shared_lmt(struct ice_port_info * pi,u32 agg_id,u32 min_bw,u32 max_bw,u32 shared_bw) ice_sched_set_agg_bw_shared_lmt() argument 5459 ice_sched_set_agg_bw_shared_lmt_per_tc(struct ice_port_info * pi,u32 agg_id,u8 tc,u32 min_bw,u32 max_bw,u32 shared_bw) ice_sched_set_agg_bw_shared_lmt_per_tc() argument 5490 ice_sched_cfg_sibl_node_prio(struct ice_port_info * pi,struct ice_sched_node * node,u8 priority) ice_sched_cfg_sibl_node_prio() argument 5594 struct ice_port_info *pi = hw->port_info; ice_sched_replay_node_bw() local 5691 ice_sched_get_ena_tc_bitmap(struct ice_port_info * pi,ice_bitmap_t * tc_bitmap,ice_bitmap_t * ena_tc_bitmap) ice_sched_get_ena_tc_bitmap() argument 5713 struct ice_port_info *pi = hw->port_info; ice_sched_replay_agg() local 5759 struct ice_port_info *pi = hw->port_info; ice_sched_replay_agg_vsi_preinit() local 5781 ice_sched_replay_root_node_bw(struct ice_port_info * pi) ice_sched_replay_root_node_bw() argument 5801 ice_sched_replay_tc_node_bw(struct ice_port_info * pi) ice_sched_replay_tc_node_bw() argument 5838 struct ice_port_info *pi = hw->port_info; ice_sched_replay_vsi_bw() local 5878 struct ice_port_info *pi = hw->port_info; ice_sched_replay_vsi_agg() local 5926 struct ice_port_info *pi = hw->port_info; ice_replay_vsi_agg() local 5944 ice_sched_replay_q_bw(struct ice_port_info * pi,struct ice_q_ctx * q_ctx) ice_sched_replay_q_bw() argument [all...] |