Home
last modified time | relevance | path

Searched refs:ef4_channel (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dnet_driver.h219 struct ef4_channel *channel;
407 struct ef4_channel { struct
481 int (*pre_probe)(struct ef4_channel *);
482 void (*post_remove)(struct ef4_channel *);
483 void (*get_name)(struct ef4_channel *, char *buf, size_t len);
484 struct ef4_channel *(*copy)(const struct ef4_channel *);
485 bool (*receive_skb)(struct ef4_channel *, struct sk_buff *);
795 struct ef4_channel *channel[EF4_MAX_CHANNELS];
1057 bool (*handle_global_event)(struct ef4_channel *channel, ef4_qword_t *);
1070 void (*push_irq_moderation)(struct ef4_channel *channel);
[all …]
Dnic.h39 static inline ef4_qword_t *ef4_event(struct ef4_channel *channel, in ef4_event()
358 static inline int ef4_nic_probe_eventq(struct ef4_channel *channel) in ef4_nic_probe_eventq()
362 static inline int ef4_nic_init_eventq(struct ef4_channel *channel) in ef4_nic_init_eventq()
366 static inline void ef4_nic_fini_eventq(struct ef4_channel *channel) in ef4_nic_fini_eventq()
370 static inline void ef4_nic_remove_eventq(struct ef4_channel *channel) in ef4_nic_remove_eventq()
375 ef4_nic_process_eventq(struct ef4_channel *channel, int quota) in ef4_nic_process_eventq()
379 static inline void ef4_nic_eventq_read_ack(struct ef4_channel *channel) in ef4_nic_eventq_read_ack()
383 void ef4_nic_event_test_start(struct ef4_channel *channel);
399 int ef4_farch_ev_probe(struct ef4_channel *channel);
400 int ef4_farch_ev_init(struct ef4_channel *channel);
[all …]
Defx.h49 void __ef4_rx_packet(struct ef4_channel *channel);
52 static inline void ef4_rx_flush_packet(struct ef4_channel *channel) in ef4_rx_flush_packet()
170 static inline void ef4_filter_rfs_expire(struct ef4_channel *channel) in ef4_filter_rfs_expire()
178 static inline void ef4_filter_rfs_expire(struct ef4_channel *channel) {} in ef4_filter_rfs_expire()
184 int ef4_channel_dummy_op_int(struct ef4_channel *channel);
185 void ef4_channel_dummy_op_void(struct ef4_channel *channel);
210 void ef4_stop_eventq(struct ef4_channel *channel);
211 void ef4_start_eventq(struct ef4_channel *channel);
236 static inline void ef4_schedule_channel(struct ef4_channel *channel) in ef4_schedule_channel()
245 static inline void ef4_schedule_channel_irq(struct ef4_channel *channel) in ef4_schedule_channel_irq()
Defx.c199 static void ef4_remove_channel(struct ef4_channel *channel);
203 static void ef4_init_napi_channel(struct ef4_channel *channel);
205 static void ef4_fini_napi_channel(struct ef4_channel *channel);
241 static int ef4_process_channel(struct ef4_channel *channel, int budget) in ef4_process_channel()
279 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod()
302 struct ef4_channel *channel = in ef4_poll()
303 container_of(napi, struct ef4_channel, napi_str); in ef4_poll()
339 static int ef4_probe_eventq(struct ef4_channel *channel) in ef4_probe_eventq()
357 static int ef4_init_eventq(struct ef4_channel *channel) in ef4_init_eventq()
377 void ef4_start_eventq(struct ef4_channel *channel) in ef4_start_eventq()
[all …]
Drx.c244 static void ef4_recycle_rx_page(struct ef4_channel *channel, in ef4_recycle_rx_page()
292 static void ef4_recycle_rx_pages(struct ef4_channel *channel, in ef4_recycle_rx_pages()
304 static void ef4_discard_rx_packet(struct ef4_channel *channel, in ef4_discard_rx_packet()
426 ef4_rx_packet_gro(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, in ef4_rx_packet_gro()
472 static struct sk_buff *ef4_rx_mk_skb(struct ef4_channel *channel, in ef4_rx_mk_skb()
533 struct ef4_channel *channel = ef4_rx_queue_channel(rx_queue); in ef4_rx_packet()
616 static void ef4_rx_deliver(struct ef4_channel *channel, u8 *eh, in ef4_rx_deliver()
647 void __ef4_rx_packet(struct ef4_channel *channel) in __ef4_rx_packet()
840 struct ef4_channel *channel; in ef4_filter_rfs()
916 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire()
Dfarch.c79 static void ef4_farch_magic_event(struct ef4_channel *channel, u32 magic);
621 struct ef4_channel *channel; in ef4_check_tx_flush_complete()
664 struct ef4_channel *channel; in ef4_farch_do_flush()
722 struct ef4_channel *channel; in ef4_farch_fini_dmaq()
781 void ef4_farch_ev_read_ack(struct ef4_channel *channel) in ef4_farch_ev_read_ack()
813 static void ef4_farch_magic_event(struct ef4_channel *channel, u32 magic) in ef4_farch_magic_event()
829 ef4_farch_handle_tx_event(struct ef4_channel *channel, ef4_qword_t *event) in ef4_farch_handle_tx_event()
874 struct ef4_channel *channel = ef4_rx_queue_channel(rx_queue); in ef4_farch_handle_rx_not_ok()
953 struct ef4_channel *channel = ef4_rx_queue_channel(rx_queue); in ef4_farch_handle_rx_bad_index()
983 ef4_farch_handle_rx_event(struct ef4_channel *channel, const ef4_qword_t *event) in ef4_farch_handle_rx_event()
[all …]
Dnic.c56 bool ef4_nic_event_present(struct ef4_channel *channel) in ef4_nic_event_present()
61 void ef4_nic_event_test_start(struct ef4_channel *channel) in ef4_nic_event_test_start()
80 struct ef4_channel *channel; in ef4_nic_init_interrupt()
151 struct ef4_channel *channel; in ef4_nic_fini_interrupt()
Dselftest.c178 struct ef4_channel *channel; in ef4_test_eventq_irq()
621 struct ef4_channel *channel = in ef4_test_loopbacks()
777 struct ef4_channel *channel; in ef4_selftest_async_start()
793 struct ef4_channel *channel; in ef4_selftest_async_work()
Dethtool.c260 struct ef4_channel *channel = in ef4_fill_loopback_test()
303 struct ef4_channel *channel; in ef4_ethtool_fill_self_tests()
362 struct ef4_channel *channel; in ef4_describe_per_queue_stats()
439 struct ef4_channel *channel; in ef4_ethtool_get_stats()
604 struct ef4_channel *channel; in ef4_ethtool_set_coalesce()
Dtx.c433 struct ef4_channel *channel; in ef4_setup_tc()
Dfalcon.c377 static void falcon_push_irq_moderation(struct ef4_channel *channel) in falcon_push_irq_moderation()
1744 falcon_handle_global_event(struct ef4_channel *channel, ef4_qword_t *event) in falcon_handle_global_event()