Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.h17 void ice_dcb_rebuild(struct ice_pf *pf);
18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked);
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,
55 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active()
[all …]
Dice_ptp.h204 container_of(__ptp_port_to_ptp((p)), struct ice_pf, ptp)
209 container_of(__ptp_info_to_ptp((i)), struct ice_pf, ptp)
243 struct ice_pf;
244 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr);
245 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr);
246 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena);
247 int ice_get_ptp_clock_index(struct ice_pf *pf);
250 bool ice_ptp_process_ts(struct ice_pf *pf);
255 void ice_ptp_reset(struct ice_pf *pf);
256 void ice_ptp_prepare_for_reset(struct ice_pf *pf);
[all …]
Dice_eswitch.h10 void ice_eswitch_release(struct ice_pf *pf);
11 int ice_eswitch_configure(struct ice_pf *pf);
12 int ice_eswitch_rebuild(struct ice_pf *pf);
18 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf);
22 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf);
24 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf,
34 static inline void ice_eswitch_release(struct ice_pf *pf) { } in ice_eswitch_release()
36 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues()
41 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, in ice_eswitch_add_vf_mac_rule()
53 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure()
[all …]
Dice_devlink.h7 struct ice_pf *ice_allocate_pf(struct device *dev);
9 void ice_devlink_register(struct ice_pf *pf);
10 void ice_devlink_unregister(struct ice_pf *pf);
11 int ice_devlink_register_params(struct ice_pf *pf);
12 void ice_devlink_unregister_params(struct ice_pf *pf);
13 int ice_devlink_create_pf_port(struct ice_pf *pf);
14 void ice_devlink_destroy_pf_port(struct ice_pf *pf);
18 void ice_devlink_init_regions(struct ice_pf *pf);
19 void ice_devlink_destroy_regions(struct ice_pf *pf);
Dice_sriov.h29 void ice_process_vflr_event(struct ice_pf *pf);
35 void ice_free_vfs(struct ice_pf *pf);
36 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event);
39 ice_is_malicious_vf(struct ice_pf *pf, struct ice_rq_event_info *event,
62 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event);
63 void ice_print_vfs_mdd_events(struct ice_pf *pf);
68 static inline void ice_process_vflr_event(struct ice_pf *pf) { } in ice_process_vflr_event()
69 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs()
71 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_vc_process_vf_msg()
73 void ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_vf_lan_overflow_event()
[all …]
Dice_devlink.c33 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn()
43 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba()
55 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt()
63 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api()
71 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build()
78 static void ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver()
87 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, in ice_info_pending_orom_ver()
97 static void ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver()
105 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, in ice_info_pending_nvm_ver()
115 static void ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_eetrack()
[all …]
Dice_vf_lib.h23 struct ice_pf;
83 struct ice_pf *pf;
209 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
211 bool ice_has_vfs(struct ice_pf *pf);
212 u16 ice_get_num_vfs(struct ice_pf *pf);
217 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf);
226 void ice_reset_all_vfs(struct ice_pf *pf);
228 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id()
237 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs()
242 static inline u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs()
[all …]
Dice.h248 struct ice_pf *pf;
312 struct ice_pf *back; /* back pointer to PF */
506 struct ice_pf { struct
647 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena()
666 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf()
737 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi()
762 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi()
776 static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi()
793 static inline bool ice_is_switchdev_running(struct ice_pf *pf) in ice_is_switchdev_running()
802 static inline void ice_set_sriov_cap(struct ice_pf *pf) in ice_set_sriov_cap()
[all …]
Dice_ptp.c192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t()
263 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp()
296 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
324 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp()
344 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index()
390 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index()
430 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index()
462 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg()
586 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
643 struct ice_pf *pf; in ice_ptp_tx_tstamp()
[all …]
Dice_arfs.h50 void ice_sync_arfs_fltrs(struct ice_pf *pf);
52 void ice_remove_arfs(struct ice_pf *pf);
53 void ice_rebuild_arfs(struct ice_pf *pf);
61 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } in ice_sync_arfs_fltrs()
62 static inline void ice_remove_arfs(struct ice_pf *pf) { } in ice_remove_arfs()
63 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } in ice_rebuild_arfs()
Dice_lib.h12 bool ice_pf_state_is_nominal(struct ice_pf *pf);
54 ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi,
71 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id);
76 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout);
105 bool ice_is_safe_mode(struct ice_pf *pf);
106 bool ice_is_rdma_ena(struct ice_pf *pf);
129 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f);
130 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f);
131 void ice_init_feature_support(struct ice_pf *pf);
Dice_gnss.h52 struct ice_pf *back;
63 void ice_gnss_init(struct ice_pf *pf);
64 void ice_gnss_exit(struct ice_pf *pf);
67 static inline void ice_gnss_init(struct ice_pf *pf) { } in ice_gnss_init()
68 static inline void ice_gnss_exit(struct ice_pf *pf) { } in ice_gnss_exit()
Dice_eswitch.c22 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, const u8 *mac) in ice_eswitch_add_vf_mac_rule()
114 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env()
173 static void ice_eswitch_remap_rings_to_vectors(struct ice_pf *pf) in ice_eswitch_remap_rings_to_vectors()
223 ice_eswitch_release_reprs(struct ice_pf *pf, struct ice_vsi *ctrl_vsi) in ice_eswitch_release_reprs()
251 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs()
326 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr()
407 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env()
426 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_eswitch_vsi_setup()
435 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del()
450 static void ice_eswitch_napi_enable(struct ice_pf *pf) in ice_eswitch_napi_enable()
[all …]
Dice_idc.c16 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv()
33 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux()
58 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset()
113 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset()
142 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset()
174 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter()
206 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params()
233 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector()
264 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev()
310 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev()
[all …]
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()
129 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs()
144 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx()
156 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx()
197 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr()
230 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc()
256 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc()
293 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg()
[all …]
Dice_sriov.c24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries()
64 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
104 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings()
151 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res()
174 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
252 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup()
281 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx()
298 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings()
413 struct ice_pf *pf; in ice_calc_vf_reg_idx()
463 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res()
[all …]
Dice_lag.h17 struct ice_pf;
21 struct ice_pf *pf; /* backlink to PF struct */
36 int ice_init_lag(struct ice_pf *pf);
37 void ice_deinit_lag(struct ice_pf *pf);
Dice_gnss.c17 ice_gnss_do_write(struct ice_pf *pf, unsigned char *buf, unsigned int size) in ice_gnss_do_write()
83 struct ice_pf *pf = gnss->back; in ice_gnss_write_pending()
115 struct ice_pf *pf; in ice_gnss_read()
202 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf, int index) in ice_gnss_struct_init()
245 struct ice_pf *pf; in ice_gnss_tty_open()
247 pf = (struct ice_pf *)tty->driver->driver_state; in ice_gnss_tty_open()
284 struct ice_pf *pf; in ice_gnss_tty_close()
289 pf = (struct ice_pf *)tty->driver->driver_state; in ice_gnss_tty_close()
329 struct ice_pf *pf; in ice_gnss_tty_write()
340 pf = (struct ice_pf *)tty->driver->driver_state; in ice_gnss_tty_write()
[all …]
Dice_main.c61 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev()
70 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type);
72 static void ice_vsi_release_all(struct ice_pf *pf);
74 static int ice_rebuild_channels(struct ice_pf *pf);
109 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask()
172 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr()
307 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_devlink_port()
327 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr()
462 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask()
485 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi()
[all …]
Dice_virtchnl_fdir.h8 struct ice_pf;
50 void ice_flush_fdir_ctx(struct ice_pf *pf);
54 static inline void ice_flush_fdir_ctx(struct ice_pf *pf) { } in ice_flush_fdir_ctx()
Dice_virtchnl.h56 void ice_vc_notify_link_state(struct ice_pf *pf);
57 void ice_vc_notify_reset(struct ice_pf *pf);
66 static inline void ice_vc_notify_link_state(struct ice_pf *pf) { } in ice_vc_notify_link_state()
67 static inline void ice_vc_notify_reset(struct ice_pf *pf) { } in ice_vc_notify_reset()
Dice_fw_update.c14 struct ice_pf *pf;
53 struct ice_pf *pf = priv->pf; in ice_send_package_data()
94 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response()
215 struct ice_pf *pf = priv->pf; in ice_send_component_table()
290 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block()
398 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module()
477 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module()
559 ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks()
633 struct ice_pf *pf = priv->pf; in ice_flash_component()
694 struct ice_pf *pf = priv->pf; in ice_finalize_update()
[all …]
Dice_lag.c24 struct ice_pf *pf = lag->pf; in ice_lag_set_primary()
44 struct ice_pf *pf = lag->pf; in ice_lag_set_backup()
144 struct ice_pf *pf = lag->pf; in ice_lag_link()
181 struct ice_pf *pf = lag->pf; in ice_lag_unlink()
221 struct ice_pf *pf = lag->pf; in ice_lag_unregister()
387 int ice_init_lag(struct ice_pf *pf) in ice_init_lag()
438 void ice_deinit_lag(struct ice_pf *pf) in ice_deinit_lag()
Dice_idc_int.h9 struct ice_pf;
11 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event);
/Linux-v6.1/include/linux/net/intel/
Diidc.h74 struct ice_pf;
76 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset);
77 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset);
78 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type);
79 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable);
80 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos);
89 struct ice_pf *pf;
104 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);

12