Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.h17 void ice_dcb_rebuild(struct ice_pf *pf);
21 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue);
24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked);
25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg);
26 void ice_pf_dcb_recfg(struct ice_pf *pf);
28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked);
29 void ice_update_dcb_stats(struct ice_pf *pf);
34 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf,
57 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active()
83 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) in ice_init_pf_dcb()
[all …]
Dice_devlink.c9 static void ice_info_get_dsn(struct ice_pf *pf, char *buf, size_t len) in ice_info_get_dsn()
19 static int ice_info_pba(struct ice_pf *pf, char *buf, size_t len) in ice_info_pba()
33 static int ice_info_fw_mgmt(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_mgmt()
43 static int ice_info_fw_api(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_api()
52 static int ice_info_fw_build(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_build()
61 static int ice_info_orom_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_orom_ver()
70 static int ice_info_nvm_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_nvm_ver()
79 static int ice_info_eetrack(struct ice_pf *pf, char *buf, size_t len) in ice_info_eetrack()
88 static int ice_info_ddp_pkg_name(struct ice_pf *pf, char *buf, size_t len) in ice_info_ddp_pkg_name()
97 static int ice_info_ddp_pkg_version(struct ice_pf *pf, char *buf, size_t len) in ice_info_ddp_pkg_version()
[all …]
Dice_virtchnl_pf.h68 struct ice_pf *pf;
108 void ice_process_vflr_event(struct ice_pf *pf);
114 void ice_free_vfs(struct ice_pf *pf);
115 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event);
116 void ice_vc_notify_link_state(struct ice_pf *pf);
117 void ice_vc_notify_reset(struct ice_pf *pf);
118 bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr);
138 bool ice_is_any_vf_in_promisc(struct ice_pf *pf);
140 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event);
141 void ice_print_vfs_mdd_events(struct ice_pf *pf);
[all …]
Dice_devlink.h7 struct ice_pf *ice_allocate_pf(struct device *dev);
9 int ice_devlink_register(struct ice_pf *pf);
10 void ice_devlink_unregister(struct ice_pf *pf);
14 void ice_devlink_init_regions(struct ice_pf *pf);
15 void ice_devlink_destroy_regions(struct ice_pf *pf);
Dice_dcb_nl.c16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset()
35 struct ice_pf *pf; in ice_dcbnl_getets()
64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets()
130 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs()
145 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx()
157 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx()
192 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr()
225 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc()
251 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc()
288 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg()
[all …]
Dice.h184 struct ice_pf *pf;
244 struct ice_pf *back; /* back pointer to PF */
380 struct ice_pf { struct
473 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() argument
492 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf()
537 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi()
549 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi()
568 u16 ice_get_avail_txq_count(struct ice_pf *pf);
569 u16 ice_get_avail_rxq_count(struct ice_pf *pf);
572 void ice_update_pf_stats(struct ice_pf *pf);
[all …]
Dice_virtchnl_pf.c14 static int ice_validate_vf_id(struct ice_pf *pf, u16 vf_id) in ice_validate_vf_id()
29 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init()
79 ice_vc_vf_broadcast(struct ice_pf *pf, enum virtchnl_ops v_opcode, in ice_vc_vf_broadcast()
145 struct ice_pf *pf = vf->pf; in ice_is_vf_link_up()
210 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
246 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings()
291 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res()
328 struct ice_pf *pf = vf->pf; in ice_dis_vf_qs()
342 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
425 struct ice_pf *pf = vf->pf; in ice_trigger_vf_reset()
[all …]
Dice_main.c43 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type);
45 static void ice_vsi_release_all(struct ice_pf *pf);
68 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask()
126 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr()
264 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr()
416 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask()
439 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi()
455 ice_prepare_for_reset(struct ice_pf *pf) in ice_prepare_for_reset()
491 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset()
529 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask()
[all …]
Dice_fw_update.c14 struct ice_pf *pf;
41 struct ice_pf *pf = priv->pf; in ice_send_package_data()
83 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response()
204 struct ice_pf *pf = priv->pf; in ice_send_component_table()
272 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block()
362 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module()
435 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module()
517 static int ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks()
576 struct ice_pf *pf = priv->pf; in ice_flash_component()
632 struct ice_pf *pf = priv->pf; in ice_finalize_update()
[all …]
Dice_lib.h11 bool ice_pf_state_is_nominal(struct ice_pf *pf);
53 ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi,
69 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id);
101 bool ice_is_safe_mode(struct ice_pf *pf);
Dice_arfs.h47 void ice_sync_arfs_fltrs(struct ice_pf *pf);
49 void ice_remove_arfs(struct ice_pf *pf);
50 void ice_rebuild_arfs(struct ice_pf *pf);
Dice_fw_update.h7 int ice_flash_pldm_image(struct ice_pf *pf, const struct firmware *fw,
9 int ice_check_for_pending_update(struct ice_pf *pf, const char *component,
Dice_dcb_lib.c15 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_netdev_tc()
72 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q()
234 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk()
272 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg()
386 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg()
434 void ice_dcb_rebuild(struct ice_pf *pf) in ice_dcb_rebuild()
506 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg()
535 static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) in ice_dcb_sw_dflt_cfg()
610 static int ice_dcb_noncontig_cfg(struct ice_pf *pf) in ice_dcb_noncontig_cfg()
640 void ice_pf_dcb_recfg(struct ice_pf *pf) in ice_pf_dcb_recfg()
[all …]
Dice_lib.c70 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays()
161 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs()
263 struct ice_pf *pf = vsi->back; in ice_vsi_delete()
291 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays()
330 struct ice_pf *pf = NULL; in ice_vsi_clear()
406 ice_vsi_alloc(struct ice_pf *pf, enum ice_vsi_type vsi_type, u16 vf_id) in ice_vsi_alloc()
498 struct ice_pf *pf = vsi->back; in ice_alloc_fd_res()
538 struct ice_pf *pf = vsi->back; in ice_vsi_get_qs()
580 struct ice_pf *pf = vsi->back; in ice_vsi_put_qs()
604 bool ice_is_safe_mode(struct ice_pf *pf) in ice_is_safe_mode()
[all …]
Dice_ethtool.c28 ICE_STAT(struct ice_pf, _name, _stat)
42 (sizeof_field(struct ice_pf, stats.priority_xoff_rx) + \
43 sizeof_field(struct ice_pf, stats.priority_xon_rx) + \
44 sizeof_field(struct ice_pf, stats.priority_xoff_tx) + \
45 sizeof_field(struct ice_pf, stats.priority_xon_tx)) \
178 struct ice_pf *pf = vsi->back; in ice_get_drvinfo()
209 struct ice_pf *pf = np->vsi->back; in ice_get_regs()
223 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel()
237 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel()
252 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len()
[all …]
Dice_base.c78 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena) in ice_pf_rxq_wait()
103 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector()
145 struct ice_pf *pf = vsi->back; in ice_free_q_vector()
478 struct ice_pf *pf = vsi->back; in ice_vsi_ctrl_one_rx_ring()
516 struct ice_pf *pf = vsi->back; in ice_vsi_wait_one_rx_ring()
641 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_txq()
734 struct ice_pf *pf = vsi->back; in ice_cfg_txq_interrupt()
766 struct ice_pf *pf = vsi->back; in ice_cfg_rxq_interrupt()
806 struct ice_pf *pf = vsi->back; in ice_vsi_stop_tx_ring()
Dice_arfs.c27 struct ice_pf *pf = hw->back; in ice_is_arfs_using_perfect_flow()
262 void ice_sync_arfs_fltrs(struct ice_pf *pf) in ice_sync_arfs_fltrs()
403 struct ice_pf *pf; in ice_rx_flow_steer()
599 struct ice_pf *pf; in ice_set_cpu_rx_rmap()
633 void ice_remove_arfs(struct ice_pf *pf) in ice_remove_arfs()
649 void ice_rebuild_arfs(struct ice_pf *pf) in ice_rebuild_arfs()
Dice_ethtool_fdir.c524 ice_fdir_set_hw_fltr_rule(struct ice_pf *pf, struct ice_flow_seg_info *seg, in ice_fdir_set_hw_fltr_rule()
693 ice_create_init_fdir_rule(struct ice_pf *pf, enum ice_fltr_ptype flow) in ice_create_init_fdir_rule()
1057 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq()
1186 ice_fdir_write_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, bool add, in ice_fdir_write_fltr()
1261 ice_fdir_write_all_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, in ice_fdir_write_all_fltr()
1284 void ice_fdir_replay_fltrs(struct ice_pf *pf) in ice_fdir_replay_fltrs()
1304 int ice_fdir_create_dflt_rules(struct ice_pf *pf) in ice_fdir_create_dflt_rules()
1334 struct ice_pf *pf = vsi->back; in ice_vsi_manage_fdir()
1371 ice_fdir_do_rem_flow(struct ice_pf *pf, enum ice_fltr_ptype flow_type) in ice_fdir_do_rem_flow()
1399 ice_fdir_update_list_entry(struct ice_pf *pf, struct ice_fdir_fltr *input, in ice_fdir_update_list_entry()
[all …]
Dice_dcb_nl.h11 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg,
Dice_osdep.h28 (&(container_of((ptr), struct ice_pf, hw))->pdev->dev)
Dice_xsk.c75 struct ice_pf *pf = vsi->back; in ice_qvec_dis_irq()
107 struct ice_pf *pf = vsi->back; in ice_qvec_cfg_msix()
134 struct ice_pf *pf = vsi->back; in ice_qvec_ena_irq()
Dice_flex_pipe.c1826 struct ice_pf *pf = vsi->back; in ice_udp_tunnel_set_port()
1850 struct ice_pf *pf = vsi->back; in ice_udp_tunnel_unset_port()