Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e.h432 struct i40e_pf { struct
706 struct i40e_pf *pf;
816 struct i40e_pf *back; /* Backreference to associated PF */
879 struct i40e_pf *pf;
930 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
948 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
961 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
981 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
994 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
995 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
[all …]
Di40e_ptp.c37 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read()
64 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
103 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq()
147 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
174 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex()
194 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime()
230 static u32 i40e_ptp_get_rx_events(struct i40e_pf *pf) in i40e_ptp_get_rx_events()
268 void i40e_ptp_rx_hang(struct i40e_pf *pf) in i40e_ptp_rx_hang()
327 void i40e_ptp_tx_hang(struct i40e_pf *pf) in i40e_ptp_tx_hang()
361 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) in i40e_ptp_tx_hwtstamp()
[all …]
Di40e_virtchnl_pf.h65 struct i40e_pf *pf;
116 void i40e_free_vfs(struct i40e_pf *pf);
118 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
119 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode,
121 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
123 bool i40e_reset_all_vfs(struct i40e_pf *pf, bool flr);
138 void i40e_vc_notify_link_state(struct i40e_pf *pf);
139 void i40e_vc_notify_reset(struct i40e_pf *pf);
Di40e_client.c86 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg()
112 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes()
148 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist()
171 struct i40e_pf *pf = vsi->back; 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()
283 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
336 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance()
[all …]
Di40e_dcb_nl.c34 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets()
73 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc()
104 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_getdcbx()
119 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_get_perm_hw_addr()
148 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_set_all()
213 static void i40e_dcbnl_del_app(struct i40e_pf *pf, in i40e_dcbnl_del_app()
259 void i40e_dcbnl_flush_apps(struct i40e_pf *pf, in i40e_dcbnl_flush_apps()
287 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_setup()
Di40e_virtchnl_pf.c18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast()
51 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state()
84 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state()
98 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset()
175 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id()
192 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id()
207 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id()
225 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id()
287 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list()
391 struct i40e_pf *pf = vf->pf; in i40e_release_iwarp_qvlist()
[all …]
Di40e_main.c31 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired);
34 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit);
35 static int i40e_setup_misc_vector(struct i40e_pf *pf);
36 static void i40e_determine_queue_usage(struct i40e_pf *pf);
37 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
38 static void i40e_prep_for_reset(struct i40e_pf *pf, bool lock_acquired);
39 static int i40e_reset(struct i40e_pf *pf);
40 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
41 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
42 static int i40e_restore_interrupt_scheme(struct i40e_pf *pf);
[all …]
Di40e_ethtool.c230 I40E_STAT(struct i40e_pf, _name, _stat)
461 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
473 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
755 struct i40e_pf *pf) in i40e_get_settings_link_up()
1029 struct i40e_pf *pf) in i40e_get_settings_link_down()
1052 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1143 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1379 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1440 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1482 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param()
[all …]
Di40e_debugfs.c24 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi()
43 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb()
72 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read()
115 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
493 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
542 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc()
643 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
658 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
684 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
705 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all()
[all …]
Di40e_ddp.c276 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()
Di40e_osdep.h23 dev_dbg(&((struct i40e_pf *)hw->back)->pdev->dev, S, ##A); \
Di40e_txrx.c25 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_fdir()
89 u8 *raw_packet, struct i40e_pf *pf, in i40e_program_fdir_filter()
177 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udpv4()
249 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcpv4()
328 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_sctpv4()
402 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ipv4()
472 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
534 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
2692 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
3025 struct i40e_pf *pf; in i40e_tsyn()
[all …]
Di40e_xsk.c526 struct i40e_pf *pf = vsi->back; in i40e_xsk_wakeup()