Lines Matching refs:efx
31 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx);
35 void efx_rx_config_page_split(struct efx_nic *efx);
67 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument
69 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_35388(efx) ? \ argument
99 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() argument
103 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter()
115 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() argument
119 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
133 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() argument
137 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
140 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() argument
143 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
145 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() argument
147 return efx->type->filter_get_rx_id_limit(efx); in efx_filter_get_rx_id_limit()
149 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() argument
153 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
158 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota);
162 __efx_filter_rfs_expire(channel->efx, 100)) in efx_filter_rfs_expire()
175 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
178 int efx_reconfigure_port(struct efx_nic *efx);
179 int __efx_reconfigure_port(struct efx_nic *efx);
185 int efx_reset(struct efx_nic *efx, enum reset_type method);
186 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
187 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
188 int efx_try_recovery(struct efx_nic *efx);
191 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
192 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
195 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
201 int efx_port_dummy_op_int(struct efx_nic *efx);
202 void efx_port_dummy_op_void(struct efx_nic *efx);
205 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats);
209 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
211 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() argument
213 return efx->type->mtd_probe(efx); in efx_mtd_probe()
215 void efx_mtd_rename(struct efx_nic *efx);
216 void efx_mtd_remove(struct efx_nic *efx);
218 static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } in efx_mtd_probe() argument
219 static inline void efx_mtd_rename(struct efx_nic *efx) {} in efx_mtd_rename() argument
220 static inline void efx_mtd_remove(struct efx_nic *efx) {} in efx_mtd_remove() argument
225 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in efx_schedule_channel()
238 void efx_link_status_changed(struct efx_nic *efx);
239 void efx_link_set_advertising(struct efx_nic *efx, u32);
240 void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
242 static inline void efx_device_detach_sync(struct efx_nic *efx) in efx_device_detach_sync() argument
244 struct net_device *dev = efx->net_dev; in efx_device_detach_sync()