Lines Matching refs:i40e_pf

447 struct i40e_pf {  struct
803 struct i40e_pf *pf;
913 struct i40e_pf *back; /* Backreference to associated PF */
978 struct i40e_pf *pf;
1029 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
1047 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
1060 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
1080 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
1093 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1094 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
1097 void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut,
1099 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
1106 i40e_find_vsi_by_type(struct i40e_pf *pf, u16 type) in i40e_find_vsi_by_type()
1123 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
1128 void i40e_fdir_check_and_reenable(struct i40e_pf *pf);
1129 u32 i40e_get_current_fd_count(struct i40e_pf *pf);
1130 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf);
1131 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf);
1132 u32 i40e_get_global_fd_count(struct i40e_pf *pf);
1133 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features);
1140 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type,
1143 void i40e_service_event_schedule(struct i40e_pf *pf);
1147 int i40e_control_wait_tx_q(int seid, struct i40e_pf *pf, int pf_q, bool is_xdp,
1149 int i40e_control_wait_rx_q(struct i40e_pf *pf, int pf_q, bool enable);
1154 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count);
1155 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
1163 void i40e_pf_reset_stats(struct i40e_pf *pf);
1165 void i40e_dbg_pf_init(struct i40e_pf *pf);
1166 void i40e_dbg_pf_exit(struct i40e_pf *pf);
1170 static inline void i40e_dbg_pf_init(struct i40e_pf *pf) {} in i40e_dbg_pf_init()
1171 static inline void i40e_dbg_pf_exit(struct i40e_pf *pf) {} in i40e_dbg_pf_exit()
1176 int i40e_lan_add_device(struct i40e_pf *pf);
1177 int i40e_lan_del_device(struct i40e_pf *pf);
1178 void i40e_client_subtask(struct i40e_pf *pf);
1181 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs);
1182 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id);
1183 void i40e_client_update_msix_info(struct i40e_pf *pf);
1184 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id);
1192 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_enable()
1203 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf);
1204 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf);
1221 static inline bool i40e_is_sw_dcb(struct i40e_pf *pf) in i40e_is_sw_dcb()
1227 void i40e_dcbnl_flush_apps(struct i40e_pf *pf,
1232 bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
1235 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg);
1236 int i40e_dcb_sw_default_config(struct i40e_pf *pf);
1238 void i40e_ptp_rx_hang(struct i40e_pf *pf);
1239 void i40e_ptp_tx_hang(struct i40e_pf *pf);
1240 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
1241 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
1242 void i40e_ptp_set_increment(struct i40e_pf *pf);
1243 int i40e_ptp_set_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1244 int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1245 void i40e_ptp_save_hw_time(struct i40e_pf *pf);
1246 void i40e_ptp_restore_hw_time(struct i40e_pf *pf);
1247 void i40e_ptp_init(struct i40e_pf *pf);
1248 void i40e_ptp_stop(struct i40e_pf *pf);
1249 int i40e_ptp_alloc_pins(struct i40e_pf *pf);
1251 i40e_status i40e_get_partition_bw_setting(struct i40e_pf *pf);
1252 i40e_status i40e_set_partition_bw_setting(struct i40e_pf *pf);
1253 i40e_status i40e_commit_partition_bw_setting(struct i40e_pf *pf);