Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e.h454 struct i40e_pf { struct
707 struct i40e_pf *pf;
817 struct i40e_pf *back; /* Backreference to associated PF */
880 struct i40e_pf *pf;
931 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
949 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
962 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
982 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
996 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
997 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()
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 …]
Di40e_virtchnl_pf.h66 struct i40e_pf *pf;
118 void i40e_free_vfs(struct i40e_pf *pf);
120 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
121 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode,
123 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
125 bool i40e_reset_all_vfs(struct i40e_pf *pf, bool flr);
140 void i40e_vc_notify_link_state(struct i40e_pf *pf);
141 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()
285 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
338 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_main.c39 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired);
42 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit);
43 static int i40e_setup_misc_vector(struct i40e_pf *pf);
44 static void i40e_determine_queue_usage(struct i40e_pf *pf);
45 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
46 static void i40e_prep_for_reset(struct i40e_pf *pf, bool lock_acquired);
47 static int i40e_reset(struct i40e_pf *pf);
48 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
49 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
50 static int i40e_restore_interrupt_scheme(struct i40e_pf *pf);
[all …]
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_ethtool.c230 I40E_STAT(struct i40e_pf, _name, _stat)
459 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
471 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
752 struct i40e_pf *pf) in i40e_get_settings_link_up()
1025 struct i40e_pf *pf) in i40e_get_settings_link_down()
1048 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1139 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1375 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1436 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1479 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param()
[all …]
Di40e_debugfs.c18 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi()
37 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb()
66 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read()
109 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
446 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
495 struct i40e_pf *pf, bool is_rx_ring) in i40e_dbg_dump_desc()
576 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
591 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
617 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
638 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()
533 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
2671 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
2998 struct i40e_pf *pf; in i40e_tsyn()
[all …]
Di40e_xsk.c21 struct i40e_pf *pf = vsi->back; in i40e_xsk_umem_dma_map()
55 struct i40e_pf *pf = vsi->back; in i40e_xsk_umem_dma_unmap()