Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e.h248 struct i40e_pf { struct
437 struct i40e_pf *pf; argument
547 struct i40e_pf *back; /* Backreference to associated PF */
589 struct i40e_pf *pf;
626 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
659 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
669 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
670 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags);
671 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
675 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
[all …]
Di40e_ptp.c59 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read()
83 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
122 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq()
160 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
185 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettime()
206 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime()
242 struct i40e_pf *pf = vsi->back; in i40e_ptp_rx_hang()
305 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) in i40e_ptp_tx_hwtstamp()
343 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index) in i40e_ptp_rx_hwtstamp()
378 void i40e_ptp_set_increment(struct i40e_pf *pf) in i40e_ptp_set_increment()
[all …]
Di40e_virtchnl_pf.h73 struct i40e_pf *pf;
111 void i40e_free_vfs(struct i40e_pf *pf);
113 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
114 int i40e_vc_process_vf_msg(struct i40e_pf *pf, u16 vf_id, u32 v_opcode,
116 int i40e_vc_process_vflr_event(struct i40e_pf *pf);
131 void i40e_vc_notify_link_state(struct i40e_pf *pf);
132 void i40e_vc_notify_reset(struct i40e_pf *pf);
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()
281 void i40e_dcbnl_flush_apps(struct i40e_pf *pf, in i40e_dcbnl_flush_apps()
309 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()
176 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id()
193 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id()
208 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id()
226 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id()
256 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list()
[all …]
Di40e_ethtool.c47 I40E_STAT(struct i40e_pf, _name, _stat)
192 (FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_rx) + \
193 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_rx) + \
194 FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_tx) + \
195 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_tx) + \
196 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_2_xoff)) \
241 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
257 struct i40e_pf *pf) in i40e_get_settings_link_up()
395 struct i40e_pf *pf) in i40e_get_settings_link_down()
478 struct i40e_pf *pf = np->vsi->back; in i40e_get_settings()
[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);
110 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d()
128 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d()
184 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump()
263 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id()
[all …]
Di40e_fcoe.c163 static inline void i40e_fcoe_ddp_unmap(struct i40e_pf *pf, in i40e_fcoe_ddp_unmap()
257 struct i40e_pf *pf = np->vsi->back; in i40e_fcoe_ddp_put()
276 void 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()
732 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
781 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()
197 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udpv4()
254 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcpv4()
348 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ipv4()
403 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
457 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
1971 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_atr()
2257 struct i40e_pf *pf; in i40e_tsyn()