Home
last modified time | relevance | path

Searched refs:ice_port_info (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.h87 ice_sched_set_node_bw_lmt(struct ice_port_info *pi, struct ice_sched_node *node,
91 ice_sched_set_node_bw(struct ice_port_info *pi, struct ice_sched_node *node,
95 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
101 ice_sched_move_nodes(struct ice_port_info *pi, struct ice_sched_node *parent,
104 int ice_sched_set_node_priority(struct ice_port_info *pi, struct ice_sched_node *node,
106 int ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight);
108 int ice_sched_init_port(struct ice_port_info *pi);
112 void ice_sched_clear_port(struct ice_port_info *pi);
119 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
125 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node);
[all …]
H A Dice_common.h95 ice_get_link_status(struct ice_port_info *pi, bool *link_up);
96 int ice_update_link_info(struct ice_port_info *pi);
156 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan,
159 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode,
183 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
188 struct ice_port_info *pi);
201 ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
204 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
210 ice_copy_phy_caps_to_cfg(struct ice_port_info *pi,
214 ice_cfg_phy_fec(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
[all …]
H A Dice_sched.c16 ice_sched_add_root_node(struct ice_port_info *pi, in ice_sched_add_root_node()
171 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node()
286 ice_sched_get_first_node(struct ice_port_info *pi, in ice_sched_get_first_node()
299 struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc) in ice_sched_get_tc_node()
320 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node) in ice_free_sched_node()
781 static void ice_sched_clear_rl_prof(struct ice_port_info *pi) in ice_sched_clear_rl_prof()
838 static void ice_sched_clear_tx_topo(struct ice_port_info *pi) in ice_sched_clear_tx_topo()
856 void ice_sched_clear_port(struct ice_port_info *pi) in ice_sched_clear_port()
904 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems()
1024 ice_sched_add_nodes_to_hw_layer(struct ice_port_info *pi, in ice_sched_add_nodes_to_hw_layer()
[all …]
H A Dice_dcb.h145 int ice_get_dcb_cfg(struct ice_port_info *pi);
146 int ice_set_dcb_cfg(struct ice_port_info *pi);
147 void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi,
151 ice_query_port_ets(struct ice_port_info *pi,
H A Dice_dcb_nl.c208 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_perm_hw_addr()
241 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfc()
309 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pfc_cfg()
365 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfcstate()
439 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_tc_cfg_tx()
505 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_bwg_cfg_tx()
564 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_tc_cfg_rx()
1042 struct ice_port_info *pi; in ice_dcbnl_set_all()
H A Dice_dcb.c772 struct ice_port_info *pi) in ice_cee_to_dcb_cfg()
891 static int ice_get_ieee_or_cee_dcb_cfg(struct ice_port_info *pi, u8 dcbx_mode) in ice_get_ieee_or_cee_dcb_cfg()
930 int ice_get_dcb_cfg(struct ice_port_info *pi) in ice_get_dcb_cfg()
961 void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi, in ice_get_dcb_cfg_from_mib_change()
1492 int ice_set_dcb_cfg(struct ice_port_info *pi) in ice_set_dcb_cfg()
1535 ice_aq_query_port_ets(struct ice_port_info *pi, in ice_aq_query_port_ets()
1561 ice_update_port_tc_tree_cfg(struct ice_port_info *pi, in ice_update_port_tc_tree_cfg()
1629 ice_query_port_ets(struct ice_port_info *pi, in ice_query_port_ets()
H A Dice_dcb_lib.c87 static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host) in ice_dcb_get_mode()
460 static void ice_cfg_etsrec_defaults(struct ice_port_info *pi) in ice_cfg_etsrec_defaults()
608 struct ice_port_info *pi; in ice_dcb_init_cfg()
638 struct ice_port_info *pi; in ice_dcb_sw_dflt_cfg()
812 struct ice_port_info *port_info; in ice_init_pf_dcb()
1009 struct ice_port_info *pi; in ice_dcb_process_lldp_set_mib_change()
H A Dice_vf_lib_private.h32 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
H A Dice_common.c291 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode, in ice_aq_get_phy_caps()
387 ice_aq_get_link_topo_handle(struct ice_port_info *pi, u8 node_type, in ice_aq_get_link_topo_handle()
493 static bool ice_is_media_cage_present(struct ice_port_info *pi) in ice_is_media_cage_present()
508 static enum ice_media_type ice_get_media_type(struct ice_port_info *pi) in ice_get_media_type()
649 ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse, in ice_aq_get_link_info()
3329 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan, in ice_aq_set_port_params()
3573 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi, in ice_aq_set_phy_cfg()
3623 int ice_update_link_info(struct ice_port_info *pi) in ice_update_link_info()
3754 ice_cache_phy_user_req(struct ice_port_info *pi, in ice_cache_phy_user_req()
3831 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg, in ice_cfg_phy_fc()
[all …]
H A Dice_switch.h369 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
372 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
H A Dice_type.h747 struct ice_port_info { struct
902 struct ice_port_info *port_info;
H A Dice_ethtool.c758 struct ice_port_info *pi; in ice_get_extended_regs()
1547 struct ice_port_info *pi; in ice_set_fec_cfg()
1628 struct ice_port_info *pi; in ice_get_fecparam()
2211 struct ice_port_info *pi = np->vsi->port_info; in ice_get_settings_link_up()
2515 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, in ice_setup_autoneg()
2617 struct ice_port_info *pi; in ice_set_link_ksettings()
3450 struct ice_port_info *pi = np->vsi->port_info; in ice_get_pauseparam()
3502 struct ice_port_info *pi; in ice_set_pauseparam()
4634 struct ice_port_info *pi; in ice_get_fec_stats()
H A Dice.h454 struct ice_port_info *port_info; /* back pointer to port_info */
989 struct ice_vsi *ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi);
H A Dice_vf_lib.c1131 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf) in ice_vf_get_port_info()
1256 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_is_vf_link_up()
H A Dice_main.c1103 ice_link_event(struct ice_pf *pf, struct ice_port_info *pi, bool link_up, in ice_link_event()
1206 static int ice_init_link_events(struct ice_port_info *pi) in ice_init_link_events()
1238 struct ice_port_info *port_info; in ice_handle_link_event()
1931 static int ice_init_nvm_phy_type(struct ice_port_info *pi) in ice_init_nvm_phy_type()
1963 static void ice_init_link_dflt_override(struct ice_port_info *pi) in ice_init_link_dflt_override()
1999 static void ice_init_phy_cfg_dflt_override(struct ice_port_info *pi) in ice_init_phy_cfg_dflt_override()
2039 static int ice_init_phy_user_cfg(struct ice_port_info *pi) in ice_init_phy_user_cfg()
2113 struct ice_port_info *pi = vsi->port_info; in ice_phy_cfg()
2235 struct ice_port_info *pi; in ice_check_media_subtask()
3590 ice_pf_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_pf_vsi_setup()
[all …]
H A Dice_lib.c2162 struct ice_port_info *port_info; in ice_set_agg_vsi()
3512 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi) in ice_is_dflt_vsi_in_use()
3768 struct ice_port_info *pi = vsi->port_info; in ice_set_link()
H A Dice_lag.c562 struct ice_port_info *pi = hw->port_info; in ice_lag_get_sched_parent()
1073 struct ice_port_info *pi, *new_pi; in ice_lag_aa_move_vf_qs()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c721 struct ice_port_info *pi = ice_get_main_vsi(pf)->port_info; in ice_enable_custom_tx()
812 struct ice_port_info *pi = vsi->port_info; in ice_devlink_rate_init_tx_topology()
843 struct ice_port_info *pi = vsi->port_info; in ice_devlink_rate_clear_tx_topology()
859 static int ice_set_object_tx_share(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_share()
885 static int ice_set_object_tx_max(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_max()
911 static int ice_set_object_tx_priority(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_priority()
941 static int ice_set_object_tx_weight(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_weight()
968 static struct ice_port_info *ice_get_pi_from_dev_rate(struct devlink_rate *rate_node) in ice_get_pi_from_dev_rate()
979 struct ice_port_info *pi; in ice_devlink_rate_node_new()
1000 struct ice_port_info *pi; in ice_devlink_rate_node_del()
[all …]
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dqueues.c22 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_vc_get_max_frame_size()
H A Dvirtchnl.c406 struct ice_port_info *pi; in ice_vc_get_qos_caps()