Lines Matching refs:efx

23 	return INDIRECT_CALL_1(tx_queue->efx->type->tx_enqueue,  in efx_enqueue_skb()
47 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_siena_tx_max_skb_descs(efx)) argument
52 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument
55 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() argument
57 return efx->rss_spread > 1; in efx_rss_enabled()
87 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() argument
91 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter()
103 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() argument
107 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
121 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() argument
125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
128 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() argument
131 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
133 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() argument
135 return efx->type->filter_get_rx_id_limit(efx); in efx_filter_get_rx_id_limit()
137 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() argument
141 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
154 unsigned int efx_siena_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
155 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
158 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
162 void efx_siena_update_sw_stats(struct efx_nic *efx, u64 *stats);
166 int efx_siena_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
168 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() argument
170 return efx->type->mtd_probe(efx); in efx_mtd_probe()
172 void efx_siena_mtd_rename(struct efx_nic *efx);
173 void efx_siena_mtd_remove(struct efx_nic *efx);
175 static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } in efx_mtd_probe() argument
176 static inline void efx_siena_mtd_rename(struct efx_nic *efx) {} in efx_siena_mtd_rename() argument
177 static inline void efx_siena_mtd_remove(struct efx_nic *efx) {} in efx_siena_mtd_remove() argument
181 static inline unsigned int efx_vf_size(struct efx_nic *efx) in efx_vf_size() argument
183 return 1 << efx->vi_scale; in efx_vf_size()
187 static inline void efx_device_detach_sync(struct efx_nic *efx) in efx_device_detach_sync() argument
189 struct net_device *dev = efx->net_dev; in efx_device_detach_sync()
200 static inline void efx_device_attach_if_not_resetting(struct efx_nic *efx) in efx_device_attach_if_not_resetting() argument
202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
203 netif_device_attach(efx->net_dev); in efx_device_attach_if_not_resetting()
215 int efx_siena_xdp_tx_buffers(struct efx_nic *efx, int n,