Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e.h236 struct i40e_pf { struct
415 struct i40e_pf *pf; argument
519 struct i40e_pf *back; /* Backreference to associated PF */
557 struct i40e_pf *pf;
587 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
620 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
630 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
631 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags);
632 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
636 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
[all …]
Di40e_virtchnl_pf.h72 struct i40e_pf *pf;
107 void i40e_free_vfs(struct i40e_pf *pf);
109 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
110 int i40e_vc_process_vf_msg(struct i40e_pf *pf, u16 vf_id, u32 v_opcode,
112 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
127 void i40e_vc_notify_link_state(struct i40e_pf *pf);
128 void i40e_vc_notify_reset(struct i40e_pf *pf);
Di40e_ptp.c60 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read()
84 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
123 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq()
161 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
186 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettime()
207 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime()
243 struct i40e_pf *pf = vsi->back; in i40e_ptp_rx_hang()
306 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) in i40e_ptp_tx_hwtstamp()
344 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index) in i40e_ptp_rx_hwtstamp()
379 void i40e_ptp_set_increment(struct i40e_pf *pf) in i40e_ptp_set_increment()
[all …]
Di40e_dcb_nl.c57 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets()
96 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc()
127 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_getdcbx()
141 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_get_perm_hw_addr()
170 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_set_all()
235 static void i40e_dcbnl_del_app(struct i40e_pf *pf, in i40e_dcbnl_del_app()
282 void i40e_dcbnl_flush_apps(struct i40e_pf *pf, in i40e_dcbnl_flush_apps()
310 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_setup()
Di40e_virtchnl_pf.c41 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast()
74 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state()
100 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state()
114 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset()
161 static inline void i40e_vc_disable_vf(struct i40e_pf *pf, struct i40e_vf *vf) in i40e_vc_disable_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()
261 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list()
[all …]
Di40e_ethtool.c47 I40E_STAT(struct i40e_pf, _name, _stat)
191 (FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_rx) + \
192 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_rx) + \
193 FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_tx) + \
194 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_tx) + \
195 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_2_xoff)) \
231 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
462 struct i40e_pf *pf = np->vsi->back; in i40e_get_settings()
546 struct i40e_pf *pf = np->vsi->back; in i40e_set_settings()
702 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset()
[all …]
Di40e_main.c51 static void i40e_handle_reset_warning(struct i40e_pf *pf);
54 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit);
55 static int i40e_setup_misc_vector(struct i40e_pf *pf);
56 static void i40e_determine_queue_usage(struct i40e_pf *pf);
57 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
58 static void i40e_fdir_sb_setup(struct i40e_pf *pf);
104 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d()
122 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d()
178 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump()
257 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id()
[all …]
Di40e_fcoe.c160 static inline void i40e_fcoe_ddp_unmap(struct i40e_pf *pf, in i40e_fcoe_ddp_unmap()
254 struct i40e_pf *pf = np->vsi->back; in i40e_fcoe_ddp_put()
275 int i40e_init_pf_fcoe(struct i40e_pf *pf) in i40e_init_pf_fcoe()
334 u8 i40e_get_fcoe_tc_map(struct i40e_pf *pf) in i40e_get_fcoe_tc_map()
369 struct i40e_pf *pf = vsi->back; in i40e_fcoe_vsi_init()
427 struct i40e_pf *pf = vsi->back; in i40e_fcoe_enable()
456 struct i40e_pf *pf = vsi->back; in i40e_fcoe_disable()
536 struct i40e_pf *pf = vsi->back; in i40e_fcoe_free_ddp_resources()
570 struct i40e_pf *pf = vsi->back; in i40e_fcoe_setup_ddp_resources()
622 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fcoe_handle_status()
[all …]
Di40e_debugfs.c41 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi()
60 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb()
120 static int i40e_dbg_prep_dump_buf(struct i40e_pf *pf, int buflen) in i40e_dbg_prep_dump_buf()
152 struct i40e_pf *pf = filp->private_data; in i40e_dbg_dump_write()
181 buflen = sizeof(struct i40e_pf); in i40e_dbg_dump_write()
188 len = sizeof(struct i40e_pf); in i40e_dbg_dump_write()
333 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read()
368 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
730 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
777 struct i40e_pf *pf, bool is_rx_ring) in i40e_dbg_dump_desc()
[all …]
Di40e_txrx.c52 struct i40e_pf *pf, bool add) in i40e_program_fdir_filter()
200 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udpv4()
257 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcpv4()
349 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ipv4()
404 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
458 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
648 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_check_tx_hang()
1935 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
2190 struct i40e_pf *pf; in i40e_tsyn()