• Home
  • Raw
  • Download

Lines Matching refs:efx

36 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx);
41 void efx_set_default_rx_indir_table(struct efx_nic *efx);
42 void efx_rx_config_page_split(struct efx_nic *efx);
74 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument
76 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_35388(efx) ? \ argument
79 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() argument
81 return efx->rss_spread > 1; in efx_rss_enabled()
86 void efx_mac_reconfigure(struct efx_nic *efx);
113 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() argument
117 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter()
129 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() argument
133 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
147 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() argument
151 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
154 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() argument
157 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
159 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() argument
161 return efx->type->filter_get_rx_id_limit(efx); in efx_filter_get_rx_id_limit()
163 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() argument
167 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
172 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota);
176 __efx_filter_rfs_expire(channel->efx, 100)) in efx_filter_rfs_expire()
189 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
192 int efx_reconfigure_port(struct efx_nic *efx);
193 int __efx_reconfigure_port(struct efx_nic *efx);
199 int efx_reset(struct efx_nic *efx, enum reset_type method);
200 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
201 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
202 int efx_try_recovery(struct efx_nic *efx);
205 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
206 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
209 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
215 int efx_port_dummy_op_int(struct efx_nic *efx);
216 void efx_port_dummy_op_void(struct efx_nic *efx);
219 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats);
223 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
225 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() argument
227 return efx->type->mtd_probe(efx); in efx_mtd_probe()
229 void efx_mtd_rename(struct efx_nic *efx);
230 void efx_mtd_remove(struct efx_nic *efx);
232 static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } in efx_mtd_probe() argument
233 static inline void efx_mtd_rename(struct efx_nic *efx) {} in efx_mtd_rename() argument
234 static inline void efx_mtd_remove(struct efx_nic *efx) {} in efx_mtd_remove() argument
238 static inline unsigned int efx_vf_size(struct efx_nic *efx) in efx_vf_size() argument
240 return 1 << efx->vi_scale; in efx_vf_size()
246 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in efx_schedule_channel()
259 void efx_link_status_changed(struct efx_nic *efx);
260 void efx_link_set_advertising(struct efx_nic *efx, u32);
261 void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
263 static inline void efx_device_detach_sync(struct efx_nic *efx) in efx_device_detach_sync() argument
265 struct net_device *dev = efx->net_dev; in efx_device_detach_sync()