Lines Matching refs:i40e_pf
432 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);
998 void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut,
1000 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
1007 i40e_find_vsi_by_type(struct i40e_pf *pf, u16 type) in i40e_find_vsi_by_type()
1024 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
1029 void i40e_fdir_check_and_reenable(struct i40e_pf *pf);
1030 u32 i40e_get_current_fd_count(struct i40e_pf *pf);
1031 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf);
1032 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf);
1033 u32 i40e_get_global_fd_count(struct i40e_pf *pf);
1034 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features);
1041 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type,
1044 void i40e_service_event_schedule(struct i40e_pf *pf);
1048 int i40e_control_wait_tx_q(int seid, struct i40e_pf *pf, int pf_q, bool is_xdp,
1050 int i40e_control_wait_rx_q(struct i40e_pf *pf, int pf_q, bool enable);
1055 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count);
1056 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
1064 void i40e_pf_reset_stats(struct i40e_pf *pf);
1066 void i40e_dbg_pf_init(struct i40e_pf *pf);
1067 void i40e_dbg_pf_exit(struct i40e_pf *pf);
1071 static inline void i40e_dbg_pf_init(struct i40e_pf *pf) {} in i40e_dbg_pf_init()
1072 static inline void i40e_dbg_pf_exit(struct i40e_pf *pf) {} in i40e_dbg_pf_exit()
1077 int i40e_lan_add_device(struct i40e_pf *pf);
1078 int i40e_lan_del_device(struct i40e_pf *pf);
1079 void i40e_client_subtask(struct i40e_pf *pf);
1082 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs);
1083 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id);
1084 void i40e_client_update_msix_info(struct i40e_pf *pf);
1085 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id);
1093 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_enable()
1104 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf);
1105 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf);
1123 void i40e_dcbnl_flush_apps(struct i40e_pf *pf,
1128 bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
1132 void i40e_ptp_rx_hang(struct i40e_pf *pf);
1133 void i40e_ptp_tx_hang(struct i40e_pf *pf);
1134 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
1135 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
1136 void i40e_ptp_set_increment(struct i40e_pf *pf);
1137 int i40e_ptp_set_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1138 int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1139 void i40e_ptp_save_hw_time(struct i40e_pf *pf);
1140 void i40e_ptp_restore_hw_time(struct i40e_pf *pf);
1141 void i40e_ptp_init(struct i40e_pf *pf);
1142 void i40e_ptp_stop(struct i40e_pf *pf);
1144 i40e_status i40e_get_partition_bw_setting(struct i40e_pf *pf);
1145 i40e_status i40e_set_partition_bw_setting(struct i40e_pf *pf);
1146 i40e_status i40e_commit_partition_bw_setting(struct i40e_pf *pf);