Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.h17 void ice_dcb_rebuild(struct ice_pf *pf);
26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked);
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()
61 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode()
67 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild()
100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg()
120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q()
[all …]
H A Dice_ptp.h315 int ice_ptp_clock_index(struct ice_pf *pf);
316 struct ice_pf;
319 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf);
321 void ice_ptp_extts_event(struct ice_pf *pf);
330 void ice_ptp_prepare_for_reset(struct ice_pf *pf,
332 void ice_ptp_init(struct ice_pf *pf);
333 void ice_ptp_release(struct ice_pf *pf);
359 static inline bool ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
371 static inline void ice_ptp_rebuild(struct ice_pf *pf, in ice_ptp_rebuild()
380 static inline void ice_ptp_init(struct ice_pf *pf) { } in ice_ptp_init()
[all …]
H A Dice_eswitch.h10 void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf);
12 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf);
18 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf);
22 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf);
34 static inline void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf) { } in ice_eswitch_detach()
37 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_attach()
42 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues()
51 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure()
68 static inline bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev()
H A Dice_sriov.h29 void ice_process_vflr_event(struct ice_pf *pf);
31 int __ice_set_vf_mac(struct ice_pf *pf, u16 vf_id, const u8 *mac);
36 void ice_free_vfs(struct ice_pf *pf);
37 void ice_restore_all_vfs_msi_state(struct ice_pf *pf);
59 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event);
60 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()
72 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events()
75 static inline void ice_restore_all_vfs_msi_state(struct ice_pf *pf) { } in ice_restore_all_vfs_msi_state()
[all …]
H A Dice_vf_lib.h23 struct ice_pf;
83 struct ice_pf *pf;
210 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
212 bool ice_has_vfs(struct ice_pf *pf);
213 u16 ice_get_num_vfs(struct ice_pf *pf);
218 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf);
227 void ice_reset_all_vfs(struct ice_pf *pf);
239 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs()
244 static inline u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs()
290 static inline void ice_reset_all_vfs(struct ice_pf *pf) in ice_reset_all_vfs()
[all …]
H A Dice.h264 struct ice_pf *pf;
541 struct ice_pf { struct
923 void ice_update_pf_stats(struct ice_pf *pf);
954 int ice_plug_aux_dev(struct ice_pf *pf);
955 void ice_unplug_aux_dev(struct ice_pf *pf);
956 int ice_init_rdma(struct ice_pf *pf);
957 void ice_deinit_rdma(struct ice_pf *pf);
999 int ice_load(struct ice_pf *pf);
1000 void ice_unload(struct ice_pf *pf);
1002 int ice_init_dev(struct ice_pf *pf);
[all …]
H A Dice_ptp.c535 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp()
577 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp()
687 struct ice_pf *pf; in ice_ptp_process_tx_tstamp()
1249 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1319 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
2175 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime()
2733 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work()
2898 static struct ice_pf *
2914 static struct ice_pf *
3087 struct ice_pf *owner_pf; in ice_ptp_clock_index()
[all …]
H A Dice_irq.h18 int ice_init_interrupt_scheme(struct ice_pf *pf);
19 void ice_clear_interrupt_scheme(struct ice_pf *pf);
21 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only);
22 void ice_free_irq(struct ice_pf *pf, struct msi_map map);
23 int ice_get_max_used_msix_vector(struct ice_pf *pf);
H A Dice_lag.h24 struct ice_pf;
34 struct ice_pf *pf; /* backlink to PF struct */
68 int ice_init_lag(struct ice_pf *pf);
69 void ice_deinit_lag(struct ice_pf *pf);
70 void ice_lag_rebuild(struct ice_pf *pf);
71 bool ice_lag_is_switchdev_running(struct ice_pf *pf);
H A Dice_lib.h16 bool ice_pf_state_is_nominal(struct ice_pf *pf);
45 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params);
70 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout);
96 bool ice_is_safe_mode(struct ice_pf *pf);
97 bool ice_is_rdma_ena(struct ice_pf *pf);
121 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f);
122 void ice_set_feature_support(struct ice_pf *pf, enum ice_feature f);
123 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f);
124 void ice_init_feature_support(struct ice_pf *pf);
H A Dice_dpll.h25 struct ice_pf *pf;
54 struct ice_pf *pf;
106 void ice_dpll_init(struct ice_pf *pf);
107 void ice_dpll_deinit(struct ice_pf *pf);
109 static inline void ice_dpll_init(struct ice_pf *pf) { } in ice_dpll_init()
110 static inline void ice_dpll_deinit(struct ice_pf *pf) { } in ice_dpll_deinit()
H A Dice_gnss.h32 struct ice_pf *back;
38 void ice_gnss_init(struct ice_pf *pf);
39 void ice_gnss_exit(struct ice_pf *pf);
42 static inline void ice_gnss_init(struct ice_pf *pf) { } in ice_gnss_init()
43 static inline void ice_gnss_exit(struct ice_pf *pf) { } in ice_gnss_exit()
H A 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()
H A Dice_idc.c18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv()
35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux()
60 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset()
176 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter()
208 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params()
235 static int ice_alloc_rdma_qvectors(struct ice_pf *pf) in ice_alloc_rdma_qvectors()
268 static void ice_free_rdma_qvector(struct ice_pf *pf) in ice_free_rdma_qvector()
303 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev()
349 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev()
368 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma()
[all …]
H A Dice_eswitch.c20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env()
183 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr()
271 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env()
294 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev()
347 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set()
395 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get()
408 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev()
433 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) in ice_eswitch_stop_all_tx_queues()
445 static void ice_eswitch_stop_reprs(struct ice_pf *pf) in ice_eswitch_stop_reprs()
450 static void ice_eswitch_start_reprs(struct ice_pf *pf) in ice_eswitch_start_reprs()
[all …]
H A Dice_hwmon.h8 void ice_hwmon_init(struct ice_pf *pf);
9 void ice_hwmon_exit(struct ice_pf *pf);
11 static inline void ice_hwmon_init(struct ice_pf *pf) { } in ice_hwmon_init()
12 static inline void ice_hwmon_exit(struct ice_pf *pf) { } in ice_hwmon_exit()
H A Dice_irq.c15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker()
27 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker()
37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res()
56 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, bool dyn_only) in ice_get_irq_res()
96 static void ice_reduce_msix_usage(struct ice_pf *pf, int v_remain) in ice_reduce_msix_usage()
137 static int ice_ena_msix_range(struct ice_pf *pf) in ice_ena_msix_range()
242 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme()
252 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme()
294 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only) in ice_alloc_irq()
335 void ice_free_irq(struct ice_pf *pf, struct msi_map map) in ice_free_irq()
[all …]
H A 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()
134 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs()
149 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx()
161 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx()
207 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr()
240 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc()
266 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc()
1044 struct ice_pf *pf; in ice_dcbnl_set_all()
[all …]
H A Dice_sriov.c49 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
89 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings()
150 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
224 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup()
258 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings()
554 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res()
666 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register()
681 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register()
728 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status()
1868 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event()
[all …]
H A Dice_gnss.c20 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write()
91 struct ice_pf *pf; in ice_gnss_read()
171 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf) in ice_gnss_struct_init()
208 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_open()
234 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close()
261 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write()
297 static int ice_gnss_register(struct ice_pf *pf) in ice_gnss_register()
331 static void ice_gnss_deregister(struct ice_pf *pf) in ice_gnss_deregister()
344 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init()
366 void ice_gnss_exit(struct ice_pf *pf) in ice_gnss_exit()
H A Dice_virtchnl.h70 void ice_vc_notify_link_state(struct ice_pf *pf);
71 void ice_vc_notify_reset(struct ice_pf *pf);
76 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event,
82 static inline void ice_vc_notify_link_state(struct ice_pf *pf) { } in ice_vc_notify_link_state()
83 static inline void ice_vc_notify_reset(struct ice_pf *pf) { } in ice_vc_notify_reset()
98 ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event, in ice_vc_process_vf_msg()
H A Dice_debugfs.c131 struct ice_pf *pf; in ice_debugfs_module_show()
228 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_read()
249 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_write()
303 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_read()
325 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_write()
398 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_read()
420 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_write()
487 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_read()
536 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_write()
584 void ice_debugfs_fwlog_init(struct ice_pf *pf) in ice_debugfs_fwlog_init()
[all …]
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.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);
22 void ice_tear_down_devlink_rate_tree(struct ice_pf *pf);
H A Ddevlink.c273 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_info_get()
473 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_down()
612 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_get()
635 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_set()
792 struct ice_pf *pf = vsi->back; in ice_devlink_rate_init_tx_topology()
1239 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_up()
1286 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_get()
1297 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_set()
1320 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_validate()
1337 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_iw_get()
[all …]
/linux/include/linux/net/intel/
H A 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);

123