Home
last modified time | relevance | path

Searched refs:i40e_pf (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h466 struct i40e_pf { struct
699 __i40e_pf_next_vsi(struct i40e_pf *pf, int *idx) in __i40e_pf_next_vsi() argument
723 __i40e_pf_next_veb(struct i40e_pf *pf, int *idx) in __i40e_pf_next_veb()
786 struct i40e_pf *pf;
899 struct i40e_pf *back; /* Backreference to associated PF */
966 struct i40e_pf *pf;
1078 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
1096 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
1109 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
1129 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
[all …]
H A Di40e_devlink.h9 struct i40e_pf;
11 struct i40e_pf *i40e_alloc_pf(struct device *dev);
12 void i40e_free_pf(struct i40e_pf *pf);
13 void i40e_devlink_register(struct i40e_pf *pf);
14 void i40e_devlink_unregister(struct i40e_pf *pf);
15 int i40e_devlink_create_port(struct i40e_pf *pf);
16 void i40e_devlink_destroy_port(struct i40e_pf *pf);
H A Di40e_dcb_nl.c37 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets()
75 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc()
108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets()
156 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc()
195 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp()
247 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp()
309 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate()
325 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate()
369 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx()
404 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx()
[all …]
H A Di40e_virtchnl_pf.h69 struct i40e_pf *pf;
117 void i40e_free_vfs(struct i40e_pf *pf);
119 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
120 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode,
122 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
124 bool i40e_reset_all_vfs(struct i40e_pf *pf, bool flr);
139 void i40e_vc_notify_link_state(struct i40e_pf *pf);
140 void i40e_vc_notify_reset(struct i40e_pf *pf);
H A Di40e_devlink.c8 static void i40e_info_get_dsn(struct i40e_pf *pf, char *buf, size_t len) in i40e_info_get_dsn()
70 struct i40e_pf *pf = devlink_priv(dl); in i40e_devlink_info_get()
136 struct i40e_pf *i40e_alloc_pf(struct device *dev) in i40e_alloc_pf()
140 devlink = devlink_alloc(&i40e_devlink_ops, sizeof(struct i40e_pf), dev); in i40e_alloc_pf()
153 void i40e_free_pf(struct i40e_pf *pf) in i40e_free_pf()
166 void i40e_devlink_register(struct i40e_pf *pf) in i40e_devlink_register()
177 void i40e_devlink_unregister(struct i40e_pf *pf) in i40e_devlink_unregister()
187 static void i40e_devlink_set_switch_id(struct i40e_pf *pf, in i40e_devlink_set_switch_id()
206 int i40e_devlink_create_port(struct i40e_pf *pf) in i40e_devlink_create_port()
232 void i40e_devlink_destroy_port(struct i40e_pf *pf) in i40e_devlink_destroy_port()
H A Di40e_ptp.c141 static int i40e_ptp_set_pins(struct i40e_pf *pf,
152 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work()
196 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins()
225 static void i40_ptp_reset_timing_events(struct i40e_pf *pf) in i40_ptp_reset_timing_events()
281 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read()
308 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
349 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfine()
370 static void i40e_ptp_set_1pps_signal_hw(struct i40e_pf *pf) in i40e_ptp_set_1pps_signal_hw()
404 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
452 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex()
[all …]
H A Di40e_client.c84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg()
108 void i40e_notify_client_of_l2_param_changes(struct i40e_pf *pf) in i40e_notify_client_of_l2_param_changes()
147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist()
166 void i40e_notify_client_of_netdev_close(struct i40e_pf *pf, bool reset) in i40e_notify_client_of_netdev_close()
193 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset()
218 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable()
245 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable()
267 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info()
334 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
390 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance()
[all …]
H A Di40e_virtchnl_pf.c20 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast()
113 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state()
133 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state()
147 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset()
221 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf()
262 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id()
279 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id()
294 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id()
312 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id()
374 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list()
[all …]
H A Di40e_main.c35 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired);
38 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired);
39 static int i40e_setup_misc_vector(struct i40e_pf *pf);
40 static void i40e_determine_queue_usage(struct i40e_pf *pf);
41 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
42 static void i40e_prep_for_reset(struct i40e_pf *pf);
43 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit,
45 static int i40e_reset(struct i40e_pf *pf);
46 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
47 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
[all …]
H A Di40e_ethtool.c231 I40E_STAT(struct i40e_pf, _name, _stat)
478 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
490 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
772 struct i40e_pf *pf) in i40e_get_settings_link_up()
1046 struct i40e_pf *pf) in i40e_get_settings_link_down()
1069 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1226 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1488 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1546 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1588 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param()
[all …]
H A Di40e_debugfs.c25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi()
55 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read()
100 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
477 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
526 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc()
638 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
652 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
678 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
698 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all()
712 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) in i40e_dbg_dump_vf()
[all …]
H A Di40e_ddp.c293 struct i40e_pf *pf = vsi->back; in i40e_ddp_load()
408 static int i40e_ddp_restore(struct i40e_pf *pf) in i40e_ddp_restore()
439 struct i40e_pf *pf = vsi->back; in i40e_ddp_flash()
H A Di40e_txrx.c26 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_fdir()
82 u8 *raw_packet, struct i40e_pf *pf, in i40e_program_fdir_filter()
302 static int i40e_prepare_fdir_filter(struct i40e_pf *pf, in i40e_prepare_fdir_filter()
386 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udp()
434 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcp()
488 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_sctp()
537 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ip()
591 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
683 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
870 void i40e_detect_recover_hung(struct i40e_pf *pf) in i40e_detect_recover_hung()
[all …]
H A Di40e_txrx.h473 void i40e_detect_recover_hung(struct i40e_pf *pf);