Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e.h437 struct i40e_pf { struct
711 struct i40e_pf *pf;
821 struct i40e_pf *back; /* Backreference to associated PF */
884 struct i40e_pf *pf;
935 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
953 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
966 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
986 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
1014 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1015 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
[all …]
H A Di40e_ptp.c38 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read()
65 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
104 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq()
148 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
175 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex()
195 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime()
231 static u32 i40e_ptp_get_rx_events(struct i40e_pf *pf) in i40e_ptp_get_rx_events()
269 void i40e_ptp_rx_hang(struct i40e_pf *pf) in i40e_ptp_rx_hang()
328 void i40e_ptp_tx_hang(struct i40e_pf *pf) in i40e_ptp_tx_hang()
362 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) in i40e_ptp_tx_hwtstamp()
[all …]
H A Di40e_virtchnl_pf.h67 struct i40e_pf *pf;
114 void i40e_free_vfs(struct i40e_pf *pf);
116 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
117 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode,
119 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
121 bool i40e_reset_all_vfs(struct i40e_pf *pf, bool flr);
136 void i40e_vc_notify_link_state(struct i40e_pf *pf);
137 void i40e_vc_notify_reset(struct i40e_pf *pf);
H A 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()
197 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset()
222 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable()
249 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable()
271 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info()
287 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
340 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance()
[all …]
H A 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()
H A 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()
78 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state()
92 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset()
140 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf()
181 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id()
198 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id()
213 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id()
231 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id()
293 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list()
[all …]
H A 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, bool lock_acquired);
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 void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit,
41 static int i40e_reset(struct i40e_pf *pf);
42 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
43 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
[all …]
H A Di40e_ethtool.c230 I40E_STAT(struct i40e_pf, _name, _stat)
470 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
482 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
764 struct i40e_pf *pf) in i40e_get_settings_link_up()
1038 struct i40e_pf *pf) in i40e_get_settings_link_down()
1061 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1153 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1388 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1450 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1492 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param()
[all …]
H A 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()
654 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
669 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
695 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
716 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all()
[all …]
H A 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()
H A Di40e_osdep.h23 dev_dbg(&((struct i40e_pf *)hw->back)->pdev->dev, S, ##A); \
H 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()
2688 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
3021 struct i40e_pf *pf; in i40e_tsyn()
[all …]
H A Di40e_xsk.c591 struct i40e_pf *pf = vsi->back; in i40e_xsk_wakeup()