ice_port_info
struct ice_port_info *pi;
struct ice_port_info *pi = ice_get_pi_from_dev_rate(devlink_rate);
struct ice_port_info *pi;
struct ice_port_info *pi;
struct ice_port_info *pi = ice_get_main_vsi(pf)->port_info;
struct ice_port_info *pi = vsi->port_info;
struct ice_port_info *pi = vsi->port_info;
static int ice_set_object_tx_share(struct ice_port_info *pi, struct ice_sched_node *node,
static int ice_set_object_tx_max(struct ice_port_info *pi, struct ice_sched_node *node,
static int ice_set_object_tx_priority(struct ice_port_info *pi, struct ice_sched_node *node,
static int ice_set_object_tx_weight(struct ice_port_info *pi, struct ice_sched_node *node,
static struct ice_port_info *ice_get_pi_from_dev_rate(struct devlink_rate *rate_node)
struct ice_port_info *pi;
struct ice_port_info *port_info; /* back pointer to port_info */
struct ice_vsi *ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi);
ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode,
ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan,
ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
int ice_update_link_info(struct ice_port_info *pi)
ice_cache_phy_user_req(struct ice_port_info *pi,
ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
ice_aq_get_link_topo_handle(struct ice_port_info *pi, u8 node_type,
ice_set_fc(struct ice_port_info *pi, u8 *aq_failures, bool ena_auto_link_update)
ice_copy_phy_caps_to_cfg(struct ice_port_info *pi,
ice_cfg_phy_fec(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
int ice_get_link_status(struct ice_port_info *pi, bool *link_up)
ice_aq_set_link_restart_an(struct ice_port_info *pi, bool ena_link,
ice_aq_set_port_id_led(struct ice_port_info *pi, bool is_orig_mode,
static bool ice_is_media_cage_present(struct ice_port_info *pi)
ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
static enum ice_media_type ice_get_media_type(struct ice_port_info *pi)
ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap,
ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap,
ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
struct ice_port_info *pi)
ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse,
ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan,
ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode,
ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
struct ice_port_info *pi);
ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
ice_copy_phy_caps_to_cfg(struct ice_port_info *pi,
ice_cfg_phy_fec(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
ice_aq_set_link_restart_an(struct ice_port_info *pi, bool ena_link,
ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse,
ice_aq_set_port_id_led(struct ice_port_info *pi, bool is_orig_mode,
ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap,
ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
ice_get_link_status(struct ice_port_info *pi, bool *link_up);
int ice_update_link_info(struct ice_port_info *pi);
int ice_set_dcb_cfg(struct ice_port_info *pi)
ice_aq_query_port_ets(struct ice_port_info *pi,
ice_update_port_tc_tree_cfg(struct ice_port_info *pi,
ice_query_port_ets(struct ice_port_info *pi,
struct ice_port_info *pi)
static int ice_get_ieee_or_cee_dcb_cfg(struct ice_port_info *pi, u8 dcbx_mode)
int ice_get_dcb_cfg(struct ice_port_info *pi)
void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi,
int ice_get_dcb_cfg(struct ice_port_info *pi);
int ice_set_dcb_cfg(struct ice_port_info *pi);
void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi,
ice_query_port_ets(struct ice_port_info *pi,
struct ice_port_info *pi;
static void ice_cfg_etsrec_defaults(struct ice_port_info *pi)
struct ice_port_info *pi;
struct ice_port_info *pi;
struct ice_port_info *port_info;
static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host)
struct ice_port_info *pi;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi = pf->hw.port_info;
struct ice_port_info *pi;
struct ice_port_info *pi;
struct ice_port_info *pi = np->vsi->port_info;
ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks,
struct ice_port_info *pi;
struct ice_port_info *pi = np->vsi->port_info;
struct ice_port_info *pi;
struct ice_port_info *pi;
struct ice_port_info *pi;
struct ice_port_info *pi, *new_pi;
struct ice_port_info *pi = hw->port_info;
struct ice_port_info *port_info;
bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi)
struct ice_port_info *pi = vsi->port_info;
bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi);
ice_link_event(struct ice_pf *pf, struct ice_port_info *pi, bool link_up,
static int ice_init_link_events(struct ice_port_info *pi)
struct ice_port_info *port_info;
struct ice_port_info *pi;
static int ice_init_nvm_phy_type(struct ice_port_info *pi)
static void ice_init_link_dflt_override(struct ice_port_info *pi)
static void ice_init_phy_cfg_dflt_override(struct ice_port_info *pi)
static int ice_init_phy_user_cfg(struct ice_port_info *pi)
struct ice_port_info *pi = vsi->port_info;
struct ice_port_info *pi;
ice_pf_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi)
ice_chnl_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi,
ice_ctrl_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi)
ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi)
struct ice_port_info *pi;
ice_sched_add_nodes_to_hw_layer(struct ice_port_info *pi,
ice_sched_add_nodes_to_layer(struct ice_port_info *pi,
static void ice_rm_dflt_leaf_node(struct ice_port_info *pi)
static void ice_sched_rm_dflt_nodes(struct ice_port_info *pi)
int ice_sched_init_port(struct ice_port_info *pi)
ice_sched_get_free_qgrp(struct ice_port_info *pi,
ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,
ice_sched_add_root_node(struct ice_port_info *pi,
ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,
ice_sched_add_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle,
ice_sched_add_node(struct ice_port_info *pi, u8 layer,
ice_sched_calc_vsi_support_nodes(struct ice_port_info *pi,
ice_sched_add_vsi_support_nodes(struct ice_port_info *pi, u16 vsi_handle,
ice_sched_add_vsi_to_topo(struct ice_port_info *pi, u16 vsi_handle, u8 tc)
ice_sched_update_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle,
ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
static void ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
ice_sched_rm_vsi_subtree(struct ice_port_info *pi,
ice_sched_rm_vsi_cfg(struct ice_port_info *pi, u16 vsi_handle, u8 owner)
int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle)
int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle)
ice_sched_move_nodes(struct ice_port_info *pi, struct ice_sched_node *parent,
ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id,
ice_move_all_vsi_to_dflt_agg(struct ice_port_info *pi,
ice_sched_is_agg_inuse(struct ice_port_info *pi, struct ice_sched_node *node)
ice_sched_rm_agg_cfg(struct ice_port_info *pi, u32 agg_id, u8 tc)
ice_rm_agg_cfg_tc(struct ice_port_info *pi, struct ice_sched_agg_info *agg_info,
ice_save_agg_tc_bitmap(struct ice_port_info *pi, u32 agg_id,
ice_sched_add_agg_cfg(struct ice_port_info *pi, u32 agg_id, u8 tc)
ice_sched_cfg_agg(struct ice_port_info *pi, u32 agg_id,
ice_cfg_agg(struct ice_port_info *pi, u32 agg_id, enum ice_agg_type agg_type,
ice_sched_get_first_node(struct ice_port_info *pi,
ice_save_agg_vsi_tc_bitmap(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
ice_sched_assoc_vsi_to_agg(struct ice_port_info *pi, u32 agg_id,
static void ice_sched_rm_unused_rl_prof(struct ice_port_info *pi)
struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc)
ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
ice_sched_save_vsi_bw(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node)
ice_sched_add_rl_profile(struct ice_port_info *pi,
ice_sched_get_rl_prof_layer(struct ice_port_info *pi, enum ice_rl_type rl_type,
ice_sched_rm_rl_profile(struct ice_port_info *pi, u8 layer_num, u8 profile_type,
ice_sched_set_node_bw_dflt(struct ice_port_info *pi,
ice_sched_set_eir_srl_excl(struct ice_port_info *pi,
ice_sched_set_node_bw(struct ice_port_info *pi, struct ice_sched_node *node,
ice_sched_set_node_priority(struct ice_port_info *pi, struct ice_sched_node *node,
ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight)
ice_sched_set_node_bw_lmt(struct ice_port_info *pi, struct ice_sched_node *node,
ice_sched_set_node_bw_dflt_lmt(struct ice_port_info *pi,
ice_sched_set_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_sched_get_node_by_id_type(struct ice_port_info *pi, u32 id,
ice_sched_set_node_bw_lmt_per_tc(struct ice_port_info *pi, u32 id,
ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
struct ice_port_info *pi = hw->port_info;
ice_sched_get_ena_tc_bitmap(struct ice_port_info *pi,
struct ice_port_info *pi = hw->port_info;
struct ice_port_info *pi = hw->port_info;
struct ice_port_info *pi = hw->port_info;
struct ice_port_info *pi = hw->port_info;
int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx)
static void ice_sched_clear_rl_prof(struct ice_port_info *pi)
static void ice_sched_clear_tx_topo(struct ice_port_info *pi)
void ice_sched_clear_port(struct ice_port_info *pi)
ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
ice_sched_move_nodes(struct ice_port_info *pi, struct ice_sched_node *parent,
int ice_sched_set_node_priority(struct ice_port_info *pi, struct ice_sched_node *node,
int ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight);
int ice_sched_init_port(struct ice_port_info *pi);
void ice_sched_clear_port(struct ice_port_info *pi);
ice_sched_add_node(struct ice_port_info *pi, u8 layer,
void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node);
struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc);
ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle);
int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle);
ice_cfg_agg(struct ice_port_info *pi, u32 agg_id,
ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,
ice_sched_add_nodes_to_layer(struct ice_port_info *pi,
int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);
ice_sched_set_node_bw_lmt(struct ice_port_info *pi, struct ice_sched_node *node,
ice_sched_set_node_bw(struct ice_port_info *pi, struct ice_sched_node *node,
ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
ice_init_port_info(struct ice_port_info *pi, u16 vsi_port_num, u8 type,
ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
struct ice_port_info *port_info;
struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf)
struct ice_port_info *pi = ice_vf_get_port_info(vf);
struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
struct ice_port_info *pi = ice_vf_get_port_info(vf);
struct ice_port_info *pi;