Lines Matching refs:efx_nic
29 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx);
34 void efx_set_default_rx_indir_table(struct efx_nic *efx,
36 void efx_rx_config_page_split(struct efx_nic *efx);
76 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
83 void efx_mac_reconfigure(struct efx_nic *efx);
110 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
126 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
144 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
151 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
156 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
160 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
169 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota);
194 struct efx_arfs_rule *efx_rps_hash_find(struct efx_nic *efx,
200 struct efx_arfs_rule *efx_rps_hash_add(struct efx_nic *efx,
204 void efx_rps_hash_del(struct efx_nic *efx, const struct efx_filter_spec *spec);
208 struct efx_rss_context *efx_alloc_rss_context_entry(struct efx_nic *efx);
209 struct efx_rss_context *efx_find_rss_context_entry(struct efx_nic *efx, u32 id);
219 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
222 int efx_reconfigure_port(struct efx_nic *efx);
223 int __efx_reconfigure_port(struct efx_nic *efx);
229 int efx_reset(struct efx_nic *efx, enum reset_type method);
230 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
231 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
232 int efx_try_recovery(struct efx_nic *efx);
235 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
236 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
237 unsigned int efx_ticks_to_usecs(struct efx_nic *efx, unsigned int ticks);
238 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
241 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
247 int efx_port_dummy_op_int(struct efx_nic *efx);
248 void efx_port_dummy_op_void(struct efx_nic *efx);
251 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats);
255 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
257 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
261 void efx_mtd_rename(struct efx_nic *efx);
262 void efx_mtd_remove(struct efx_nic *efx);
264 static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } in efx_mtd_probe()
265 static inline void efx_mtd_rename(struct efx_nic *efx) {} in efx_mtd_rename()
266 static inline void efx_mtd_remove(struct efx_nic *efx) {} in efx_mtd_remove()
270 static inline unsigned int efx_vf_size(struct efx_nic *efx) in efx_vf_size()
291 void efx_link_status_changed(struct efx_nic *efx);
292 void efx_link_set_advertising(struct efx_nic *efx,
294 void efx_link_clear_advertising(struct efx_nic *efx);
295 void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
297 static inline void efx_device_detach_sync(struct efx_nic *efx) in efx_device_detach_sync()
310 static inline void efx_device_attach_if_not_resetting(struct efx_nic *efx) in efx_device_attach_if_not_resetting()