Lines Matching refs:efx
34 unsigned int ef4_tx_max_skb_descs(struct ef4_nic *efx);
38 void ef4_set_default_rx_indir_table(struct ef4_nic *efx);
39 void ef4_rx_config_page_split(struct ef4_nic *efx);
71 #define EF4_TXQ_MIN_ENT(efx) (2 * ef4_tx_max_skb_descs(efx)) argument
73 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled() argument
75 return efx->rss_spread > 1; in ef4_rss_enabled()
80 void ef4_mac_reconfigure(struct ef4_nic *efx);
107 static inline s32 ef4_filter_insert_filter(struct ef4_nic *efx, in ef4_filter_insert_filter() argument
111 return efx->type->filter_insert(efx, spec, replace_equal); in ef4_filter_insert_filter()
123 static inline int ef4_filter_remove_id_safe(struct ef4_nic *efx, in ef4_filter_remove_id_safe() argument
127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe()
141 ef4_filter_get_filter_safe(struct ef4_nic *efx, in ef4_filter_get_filter_safe() argument
145 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in ef4_filter_get_filter_safe()
148 static inline u32 ef4_filter_count_rx_used(struct ef4_nic *efx, in ef4_filter_count_rx_used() argument
151 return efx->type->filter_count_rx_used(efx, priority); in ef4_filter_count_rx_used()
153 static inline u32 ef4_filter_get_rx_id_limit(struct ef4_nic *efx) in ef4_filter_get_rx_id_limit() argument
155 return efx->type->filter_get_rx_id_limit(efx); in ef4_filter_get_rx_id_limit()
157 static inline s32 ef4_filter_get_rx_ids(struct ef4_nic *efx, in ef4_filter_get_rx_ids() argument
161 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in ef4_filter_get_rx_ids()
166 bool __ef4_filter_rfs_expire(struct ef4_nic *efx, unsigned quota);
170 __ef4_filter_rfs_expire(channel->efx, 100)) in ef4_filter_rfs_expire()
183 int ef4_realloc_channels(struct ef4_nic *efx, u32 rxq_entries, u32 txq_entries);
186 int ef4_reconfigure_port(struct ef4_nic *efx);
187 int __ef4_reconfigure_port(struct ef4_nic *efx);
193 int ef4_reset(struct ef4_nic *efx, enum reset_type method);
194 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method);
195 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok);
196 int ef4_try_recovery(struct ef4_nic *efx);
199 void ef4_schedule_reset(struct ef4_nic *efx, enum reset_type type);
200 unsigned int ef4_usecs_to_ticks(struct ef4_nic *efx, unsigned int usecs);
201 unsigned int ef4_ticks_to_usecs(struct ef4_nic *efx, unsigned int ticks);
202 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs,
205 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
211 int ef4_port_dummy_op_int(struct ef4_nic *efx);
212 void ef4_port_dummy_op_void(struct ef4_nic *efx);
215 void ef4_update_sw_stats(struct ef4_nic *efx, u64 *stats);
219 int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts,
221 static inline int ef4_mtd_probe(struct ef4_nic *efx) in ef4_mtd_probe() argument
223 return efx->type->mtd_probe(efx); in ef4_mtd_probe()
225 void ef4_mtd_rename(struct ef4_nic *efx);
226 void ef4_mtd_remove(struct ef4_nic *efx);
228 static inline int ef4_mtd_probe(struct ef4_nic *efx) { return 0; } in ef4_mtd_probe() argument
229 static inline void ef4_mtd_rename(struct ef4_nic *efx) {} in ef4_mtd_rename() argument
230 static inline void ef4_mtd_remove(struct ef4_nic *efx) {} in ef4_mtd_remove() argument
235 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in ef4_schedule_channel()
248 void ef4_link_status_changed(struct ef4_nic *efx);
249 void ef4_link_set_advertising(struct ef4_nic *efx, u32);
250 void ef4_link_set_wanted_fc(struct ef4_nic *efx, u8);
252 static inline void ef4_device_detach_sync(struct ef4_nic *efx) in ef4_device_detach_sync() argument
254 struct net_device *dev = efx->net_dev; in ef4_device_detach_sync()