Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h436 struct i40e_pf { struct
794 struct i40e_pf *pf;
909 struct i40e_pf *back; /* Backreference to associated PF */
976 struct i40e_pf *pf;
1027 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
1045 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
1058 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
1078 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
1106 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1107 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
[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_dcb_nl.c38 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets()
76 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc()
109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets()
157 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc()
196 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp()
248 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp()
310 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate()
326 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate()
370 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx()
405 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx()
[all …]
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()
110 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes()
146 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist()
169 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close()
195 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset()
220 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable()
247 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable()
269 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info()
336 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
392 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)
477 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
489 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
771 struct i40e_pf *pf) in i40e_get_settings_link_up()
1045 struct i40e_pf *pf) in i40e_get_settings_link_down()
1068 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1225 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1487 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1549 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1591 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()
44 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb()
73 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read()
117 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
495 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
544 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc()
656 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
671 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
697 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
718 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all()
[all …]
H A Di40e_ddp.c275 struct i40e_pf *pf = vsi->back; in i40e_ddp_load()
390 static int i40e_ddp_restore(struct i40e_pf *pf) in i40e_ddp_restore()
420 struct i40e_pf *pf = vsi->back; in i40e_ddp_flash()
H A Di40e_txrx.c25 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_fdir()
86 u8 *raw_packet, struct i40e_pf *pf, in i40e_program_fdir_filter()
306 static int i40e_prepare_fdir_filter(struct i40e_pf *pf, in i40e_prepare_fdir_filter()
390 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udp()
438 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcp()
492 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_sctp()
541 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ip()
595 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
687 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
2915 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
[all …]
H A Di40e_xsk.c719 struct i40e_pf *pf = vsi->back; in i40e_xsk_wakeup()