Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.h76 ice_sched_set_node_bw_lmt(struct ice_port_info *pi, struct ice_sched_node *node,
80 ice_sched_set_node_bw(struct ice_port_info *pi, struct ice_sched_node *node,
84 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
90 ice_sched_move_nodes(struct ice_port_info *pi, struct ice_sched_node *parent,
93 int ice_sched_set_node_priority(struct ice_port_info *pi, struct ice_sched_node *node,
95 int ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight);
97 int ice_sched_init_port(struct ice_port_info *pi);
101 void ice_sched_clear_port(struct ice_port_info *pi);
108 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
114 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node);
[all …]
H A Dice_common.h31 ice_get_link_status(struct ice_port_info *pi, bool *link_up);
32 int ice_update_link_info(struct ice_port_info *pi);
89 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan,
92 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode,
110 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
115 struct ice_port_info *pi);
121 ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
124 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
130 ice_copy_phy_caps_to_cfg(struct ice_port_info *pi,
134 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()
150 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node()
273 ice_sched_get_first_node(struct ice_port_info *pi, in ice_sched_get_first_node()
286 struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc) in ice_sched_get_tc_node()
307 void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node) in ice_free_sched_node()
772 static void ice_sched_clear_rl_prof(struct ice_port_info *pi) in ice_sched_clear_rl_prof()
829 static void ice_sched_clear_tx_topo(struct ice_port_info *pi) in ice_sched_clear_tx_topo()
847 void ice_sched_clear_port(struct ice_port_info *pi) in ice_sched_clear_port()
895 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems()
1015 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_lib.h25 struct ice_port_info *pi;
137 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi);
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()
807 struct ice_port_info *port_info; in ice_init_pf_dcb()
973 struct ice_port_info *pi; in ice_dcb_process_lldp_set_mib_change()
H A Dice_devlink.c774 struct ice_port_info *pi = ice_get_main_vsi(pf)->port_info; in ice_enable_custom_tx()
848 struct ice_port_info *pi = vsi->port_info; in ice_devlink_rate_init_tx_topology()
873 static int ice_set_object_tx_share(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_share()
899 static int ice_set_object_tx_max(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_max()
925 static int ice_set_object_tx_priority(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_priority()
955 static int ice_set_object_tx_weight(struct ice_port_info *pi, struct ice_sched_node *node, in ice_set_object_tx_weight()
982 static struct ice_port_info *ice_get_pi_from_dev_rate(struct devlink_rate *rate_node) in ice_get_pi_from_dev_rate()
993 struct ice_port_info *pi; in ice_devlink_rate_node_new()
1014 struct ice_port_info *pi; in ice_devlink_rate_node_del()
1162 struct ice_port_info *pi = ice_get_pi_from_dev_rate(devlink_rate); in ice_devlink_set_parent()
H A Dice_dcb.c787 struct ice_port_info *pi) in ice_cee_to_dcb_cfg()
906 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()
945 int ice_get_dcb_cfg(struct ice_port_info *pi) in ice_get_dcb_cfg()
976 void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi, in ice_get_dcb_cfg_from_mib_change()
1507 int ice_set_dcb_cfg(struct ice_port_info *pi) in ice_set_dcb_cfg()
1550 ice_aq_query_port_ets(struct ice_port_info *pi, in ice_aq_query_port_ets()
1576 ice_update_port_tc_tree_cfg(struct ice_port_info *pi, in ice_update_port_tc_tree_cfg()
1644 ice_query_port_ets(struct ice_port_info *pi, in ice_query_port_ets()
H A Dice_vf_lib_private.h31 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
H A Dice_common.c327 ice_aq_get_phy_caps(struct ice_port_info *pi, bool qual_mods, u8 report_mode, in ice_aq_get_phy_caps()
423 ice_aq_get_link_topo_handle(struct ice_port_info *pi, u8 node_type, in ice_aq_get_link_topo_handle()
451 static bool ice_is_media_cage_present(struct ice_port_info *pi) in ice_is_media_cage_present()
466 static enum ice_media_type ice_get_media_type(struct ice_port_info *pi) in ice_get_media_type()
589 ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse, in ice_aq_get_link_info()
2998 ice_aq_set_port_params(struct ice_port_info *pi, bool double_vlan, in ice_aq_set_port_params()
3226 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi, in ice_aq_set_phy_cfg()
3274 int ice_update_link_info(struct ice_port_info *pi) in ice_update_link_info()
3316 ice_cache_phy_user_req(struct ice_port_info *pi, in ice_cache_phy_user_req()
3393 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.h382 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
385 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
H A Dice.h331 struct ice_port_info *port_info; /* back pointer to port_info */
897 struct ice_vsi *ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi);
H A Dice_type.h699 struct ice_port_info { struct
831 struct ice_port_info *port_info;
H A Dice_main.c1093 ice_link_event(struct ice_pf *pf, struct ice_port_info *pi, bool link_up, in ice_link_event()
1193 static int ice_init_link_events(struct ice_port_info *pi) in ice_init_link_events()
1225 struct ice_port_info *port_info; in ice_handle_link_event()
1893 struct ice_port_info *pi; in ice_force_phys_link_state()
1959 static int ice_init_nvm_phy_type(struct ice_port_info *pi) in ice_init_nvm_phy_type()
1991 static void ice_init_link_dflt_override(struct ice_port_info *pi) in ice_init_link_dflt_override()
2027 static void ice_init_phy_cfg_dflt_override(struct ice_port_info *pi) in ice_init_phy_cfg_dflt_override()
2067 static int ice_init_phy_user_cfg(struct ice_port_info *pi) in ice_init_phy_user_cfg()
2137 struct ice_port_info *pi = vsi->port_info; in ice_configure_phy()
2260 struct ice_port_info *pi; in ice_check_media_subtask()
[all …]
H A Dice_vf_lib.c1090 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf) in ice_vf_get_port_info()
1215 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_is_vf_link_up()
H A Dice_ethtool.c1147 struct ice_port_info *pi; in ice_set_fec_cfg()
1228 struct ice_port_info *pi; in ice_get_fecparam()
1789 struct ice_port_info *pi = np->vsi->port_info; in ice_get_settings_link_up()
2100 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, in ice_setup_autoneg()
2202 struct ice_port_info *pi; in ice_set_link_ksettings()
2950 struct ice_port_info *pi = np->vsi->port_info; in ice_get_pauseparam()
3002 struct ice_port_info *pi; in ice_set_pauseparam()
H A Dice_eswitch.c415 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_eswitch_vsi_setup()
H A Dice_lib.c2256 struct ice_port_info *port_info; in ice_set_agg_vsi()
3559 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi) in ice_is_dflt_vsi_in_use()
3815 struct ice_port_info *pi = vsi->port_info; in ice_set_link()
H A Dice_switch.c2328 ice_init_port_info(struct ice_port_info *pi, u16 vsi_port_num, u8 type, in ice_init_port_info()
3814 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set, in ice_cfg_dflt_vsi()
3880 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, in ice_check_if_dflt_vsi()
H A Dice_lag.c362 struct ice_port_info *pi = hw->port_info; in ice_lag_get_sched_parent()
H A Dice_virtchnl.c351 struct ice_port_info *pi = ice_vf_get_port_info(vf); in ice_vc_get_max_frame_size()