Lines Matching refs:i40e_pf

463 struct i40e_pf {  struct
820 struct i40e_pf *pf;
935 struct i40e_pf *back; /* Backreference to associated PF */
1001 struct i40e_pf *pf;
1052 static inline struct i40e_pf *i40e_netdev_to_pf(struct net_device *netdev) in i40e_netdev_to_pf()
1070 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all()
1083 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set()
1103 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set()
1131 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1132 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
1135 void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut,
1137 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
1144 i40e_find_vsi_by_type(struct i40e_pf *pf, u16 type) in i40e_find_vsi_by_type()
1161 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
1166 void i40e_fdir_check_and_reenable(struct i40e_pf *pf);
1167 u32 i40e_get_current_fd_count(struct i40e_pf *pf);
1168 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf);
1169 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf);
1170 u32 i40e_get_global_fd_count(struct i40e_pf *pf);
1171 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features);
1178 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type,
1181 void i40e_service_event_schedule(struct i40e_pf *pf);
1185 int i40e_control_wait_tx_q(int seid, struct i40e_pf *pf, int pf_q, bool is_xdp,
1187 int i40e_control_wait_rx_q(struct i40e_pf *pf, int pf_q, bool enable);
1192 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count);
1193 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
1201 void i40e_pf_reset_stats(struct i40e_pf *pf);
1203 void i40e_dbg_pf_init(struct i40e_pf *pf);
1204 void i40e_dbg_pf_exit(struct i40e_pf *pf);
1208 static inline void i40e_dbg_pf_init(struct i40e_pf *pf) {} in i40e_dbg_pf_init()
1209 static inline void i40e_dbg_pf_exit(struct i40e_pf *pf) {} in i40e_dbg_pf_exit()
1214 int i40e_lan_add_device(struct i40e_pf *pf);
1215 int i40e_lan_del_device(struct i40e_pf *pf);
1216 void i40e_client_subtask(struct i40e_pf *pf);
1219 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs);
1220 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id);
1221 void i40e_client_update_msix_info(struct i40e_pf *pf);
1222 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id);
1230 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_enable()
1241 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf);
1242 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf);
1259 static inline bool i40e_is_sw_dcb(struct i40e_pf *pf) in i40e_is_sw_dcb()
1265 void i40e_dcbnl_flush_apps(struct i40e_pf *pf,
1270 bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
1273 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg);
1274 int i40e_dcb_sw_default_config(struct i40e_pf *pf);
1276 void i40e_ptp_rx_hang(struct i40e_pf *pf);
1277 void i40e_ptp_tx_hang(struct i40e_pf *pf);
1278 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
1279 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
1280 void i40e_ptp_set_increment(struct i40e_pf *pf);
1281 int i40e_ptp_set_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1282 int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
1283 void i40e_ptp_save_hw_time(struct i40e_pf *pf);
1284 void i40e_ptp_restore_hw_time(struct i40e_pf *pf);
1285 void i40e_ptp_init(struct i40e_pf *pf);
1286 void i40e_ptp_stop(struct i40e_pf *pf);
1287 int i40e_ptp_alloc_pins(struct i40e_pf *pf);
1290 int i40e_get_partition_bw_setting(struct i40e_pf *pf);
1291 int i40e_set_partition_bw_setting(struct i40e_pf *pf);
1292 int i40e_commit_partition_bw_setting(struct i40e_pf *pf);
1319 static inline u32 i40e_is_tc_mqprio_enabled(struct i40e_pf *pf) in i40e_is_tc_mqprio_enabled()