Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
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 …]
Dice_common.h54 ice_get_link_status(struct ice_port_info *pi, bool *link_up);
55 int ice_update_link_info(struct ice_port_info *pi);
110 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan,
113 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode,
139 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
144 struct ice_port_info *pi);
155 ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
158 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
164 ice_copy_phy_caps_to_cfg(struct ice_port_info *pi,
168 ice_cfg_phy_fec(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
[all …]
Dice_sched.c16 ice_sched_add_root_node(struct ice_port_info *pi, in ice_sched_add_root_node()
150 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node()
265 ice_sched_get_first_node(struct ice_port_info *pi, in ice_sched_get_first_node()
278 struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc) in ice_sched_get_tc_node()
299 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node) in ice_free_sched_node()
760 static void ice_sched_clear_rl_prof(struct ice_port_info *pi) in ice_sched_clear_rl_prof()
817 static void ice_sched_clear_tx_topo(struct ice_port_info *pi) in ice_sched_clear_tx_topo()
835 void ice_sched_clear_port(struct ice_port_info *pi) in ice_sched_clear_port()
883 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems()
1003 ice_sched_add_nodes_to_hw_layer(struct ice_port_info *pi, in ice_sched_add_nodes_to_hw_layer()
[all …]
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,
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()
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()
806 struct ice_port_info *port_info; in ice_init_pf_dcb()
972 struct ice_port_info *pi; in ice_dcb_process_lldp_set_mib_change()
Dice_vf_lib_private.h30 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
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()
Dice_common.c395 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode, in ice_aq_get_phy_caps()
491 ice_aq_get_link_topo_handle(struct ice_port_info *pi, u8 node_type, in ice_aq_get_link_topo_handle()
593 static bool ice_is_media_cage_present(struct ice_port_info *pi) in ice_is_media_cage_present()
608 static enum ice_media_type ice_get_media_type(struct ice_port_info *pi) in ice_get_media_type()
749 ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse, in ice_aq_get_link_info()
3054 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan, in ice_aq_set_port_params()
3297 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi, in ice_aq_set_phy_cfg()
3345 int ice_update_link_info(struct ice_port_info *pi) in ice_update_link_info()
3476 ice_cache_phy_user_req(struct ice_port_info *pi, in ice_cache_phy_user_req()
3553 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg, in ice_cfg_phy_fc()
[all …]
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,
Dice_lib.h95 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi);
Dice_ethtool.c780 struct ice_port_info *pi; in ice_get_extended_regs()
1572 struct ice_port_info *pi; in ice_set_fec_cfg()
1653 struct ice_port_info *pi; in ice_get_fecparam()
2224 struct ice_port_info *pi = np->vsi->port_info; in ice_get_settings_link_up()
2528 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, in ice_setup_autoneg()
2630 struct ice_port_info *pi; in ice_set_link_ksettings()
3457 struct ice_port_info *pi = np->vsi->port_info; in ice_get_pauseparam()
3509 struct ice_port_info *pi; in ice_set_pauseparam()
4691 struct ice_port_info *pi; in ice_get_fec_stats()
Dice_type.h736 struct ice_port_info { struct
892 struct ice_port_info *port_info;
Dice.h452 struct ice_port_info *port_info; /* back pointer to port_info */
942 struct ice_vsi *ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi);
Dice_vf_lib.c1079 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf) in ice_vf_get_port_info()
1204 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_is_vf_link_up()
Dice_main.c1099 ice_link_event(struct ice_pf *pf, struct ice_port_info *pi, bool link_up, in ice_link_event()
1199 static int ice_init_link_events(struct ice_port_info *pi) in ice_init_link_events()
1231 struct ice_port_info *port_info; in ice_handle_link_event()
1942 struct ice_port_info *pi; in ice_force_phys_link_state()
2008 static int ice_init_nvm_phy_type(struct ice_port_info *pi) in ice_init_nvm_phy_type()
2040 static void ice_init_link_dflt_override(struct ice_port_info *pi) in ice_init_link_dflt_override()
2076 static void ice_init_phy_cfg_dflt_override(struct ice_port_info *pi) in ice_init_phy_cfg_dflt_override()
2116 static int ice_init_phy_user_cfg(struct ice_port_info *pi) in ice_init_phy_user_cfg()
2186 struct ice_port_info *pi = vsi->port_info; in ice_configure_phy()
2309 struct ice_port_info *pi; in ice_check_media_subtask()
[all …]
Dice_lib.c2097 struct ice_port_info *port_info; in ice_set_agg_vsi()
3408 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi) in ice_is_dflt_vsi_in_use()
3664 struct ice_port_info *pi = vsi->port_info; in ice_set_link()
Dice_switch.c2450 ice_init_port_info(struct ice_port_info *pi, u16 vsi_port_num, u8 type, in ice_init_port_info()
3936 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set, in ice_cfg_dflt_vsi()
4003 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, in ice_check_if_dflt_vsi()
Dice_lag.c449 struct ice_port_info *pi = hw->port_info; in ice_lag_get_sched_parent()
Dice_virtchnl.c351 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_vc_get_max_frame_size()
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.c713 struct ice_port_info *pi = ice_get_main_vsi(pf)->port_info; in ice_enable_custom_tx()
804 struct ice_port_info *pi = vsi->port_info; in ice_devlink_rate_init_tx_topology()
835 struct ice_port_info *pi = vsi->port_info; in ice_devlink_rate_clear_tx_topology()
851 static int ice_set_object_tx_share(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_share()
877 static int ice_set_object_tx_max(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_max()
903 static int ice_set_object_tx_priority(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_priority()
933 static int ice_set_object_tx_weight(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_weight()
960 static struct ice_port_info *ice_get_pi_from_dev_rate(struct devlink_rate *rate_node) in ice_get_pi_from_dev_rate()
971 struct ice_port_info *pi; in ice_devlink_rate_node_new()
989 struct ice_port_info *pi; in ice_devlink_rate_node_del()
[all …]