• Home
  • Raw
  • Download

Lines Matching refs:pf

77 #define i40e_default_queues_per_vmdq(pf) \  argument
78 (((pf)->hw_features & I40E_HW_RSS_AQ_CAPABLE) ? 4 : 1)
81 #define i40e_pf_get_max_q_per_tc(pf) \ argument
82 (((pf)->hw_features & I40E_HW_128_QP_RSS_CAPABLE) ? 128 : 64)
582 struct i40e_pf *pf; member
734 struct i40e_pf *pf; member
803 static inline int i40e_get_fd_cnt_all(struct i40e_pf *pf) in i40e_get_fd_cnt_all() argument
805 return pf->hw.fdir_shared_filter_count + pf->fdir_pf_filter_count; in i40e_get_fd_cnt_all()
816 static inline u64 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) in i40e_read_fd_input_set() argument
820 val = i40e_read_rx_ctl(&pf->hw, I40E_PRTQF_FD_INSET(addr, 1)); in i40e_read_fd_input_set()
822 val += i40e_read_rx_ctl(&pf->hw, I40E_PRTQF_FD_INSET(addr, 0)); in i40e_read_fd_input_set()
836 static inline void i40e_write_fd_input_set(struct i40e_pf *pf, in i40e_write_fd_input_set() argument
839 i40e_write_rx_ctl(&pf->hw, I40E_PRTQF_FD_INSET(addr, 1), in i40e_write_fd_input_set()
841 i40e_write_rx_ctl(&pf->hw, I40E_PRTQF_FD_INSET(addr, 0), in i40e_write_fd_input_set()
850 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
851 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
854 void i40e_fill_rss_lut(struct i40e_pf *pf, u8 *lut,
856 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id);
863 i40e_find_vsi_by_type(struct i40e_pf *pf, u16 type) in i40e_find_vsi_by_type() argument
867 for (i = 0; i < pf->num_alloc_vsi; i++) { in i40e_find_vsi_by_type()
868 struct i40e_vsi *vsi = pf->vsi[i]; in i40e_find_vsi_by_type()
879 int i40e_fetch_switch_configuration(struct i40e_pf *pf,
884 void i40e_fdir_check_and_reenable(struct i40e_pf *pf);
885 u32 i40e_get_current_fd_count(struct i40e_pf *pf);
886 u32 i40e_get_cur_guaranteed_fd_count(struct i40e_pf *pf);
887 u32 i40e_get_current_atr_cnt(struct i40e_pf *pf);
888 u32 i40e_get_global_fd_count(struct i40e_pf *pf);
889 bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features);
896 struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type,
899 void i40e_service_event_schedule(struct i40e_pf *pf);
907 int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count);
908 struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
916 void i40e_pf_reset_stats(struct i40e_pf *pf);
918 void i40e_dbg_pf_init(struct i40e_pf *pf);
919 void i40e_dbg_pf_exit(struct i40e_pf *pf);
923 static inline void i40e_dbg_pf_init(struct i40e_pf *pf) {} in i40e_dbg_pf_init() argument
924 static inline void i40e_dbg_pf_exit(struct i40e_pf *pf) {} in i40e_dbg_pf_exit() argument
929 int i40e_lan_add_device(struct i40e_pf *pf);
930 int i40e_lan_del_device(struct i40e_pf *pf);
931 void i40e_client_subtask(struct i40e_pf *pf);
934 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs);
935 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id);
936 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id);
944 struct i40e_pf *pf = vsi->back; in i40e_irq_dynamic_enable() local
945 struct i40e_hw *hw = &pf->hw; in i40e_irq_dynamic_enable()
958 void i40e_irq_dynamic_disable_icr0(struct i40e_pf *pf);
959 void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf, bool clearpba);
976 void i40e_dcbnl_flush_apps(struct i40e_pf *pf,
981 bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
985 void i40e_ptp_rx_hang(struct i40e_pf *pf);
986 void i40e_ptp_tx_hang(struct i40e_pf *pf);
987 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
988 void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
989 void i40e_ptp_set_increment(struct i40e_pf *pf);
990 int i40e_ptp_set_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
991 int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
992 void i40e_ptp_init(struct i40e_pf *pf);
993 void i40e_ptp_stop(struct i40e_pf *pf);
995 i40e_status i40e_get_partition_bw_setting(struct i40e_pf *pf);
996 i40e_status i40e_set_partition_bw_setting(struct i40e_pf *pf);
997 i40e_status i40e_commit_partition_bw_setting(struct i40e_pf *pf);