Home
last modified time | relevance | path

Searched refs:efx_channel (Results 1 – 25 of 53) sorted by relevance

123

/drivers/net/ethernet/sfc/
Defx_channels.h27 int efx_probe_eventq(struct efx_channel *channel);
28 int efx_init_eventq(struct efx_channel *channel);
29 void efx_start_eventq(struct efx_channel *channel);
30 void efx_stop_eventq(struct efx_channel *channel);
31 void efx_fini_eventq(struct efx_channel *channel);
32 void efx_remove_eventq(struct efx_channel *channel);
39 void efx_remove_channel(struct efx_channel *channel);
42 struct efx_channel *efx_copy_channel(const struct efx_channel *old_channel);
46 void efx_init_napi_channel(struct efx_channel *channel);
48 void efx_fini_napi_channel(struct efx_channel *channel);
[all …]
Defx_channels.c366 struct efx_channel *channel; in efx_set_interrupt_affinity()
384 struct efx_channel *channel; in efx_clear_interrupt_affinity()
403 struct efx_channel *channel; in efx_remove_interrupts()
424 int efx_probe_eventq(struct efx_channel *channel) in efx_probe_eventq()
443 int efx_init_eventq(struct efx_channel *channel) in efx_init_eventq()
463 void efx_start_eventq(struct efx_channel *channel) in efx_start_eventq()
477 void efx_stop_eventq(struct efx_channel *channel) in efx_stop_eventq()
486 void efx_fini_eventq(struct efx_channel *channel) in efx_fini_eventq()
498 void efx_remove_eventq(struct efx_channel *channel) in efx_remove_eventq()
516 struct efx_channel *channel; in efx_filter_rfs_expire()
[all …]
Dnet_driver.h267 struct efx_channel *channel;
495 struct efx_channel { struct
595 int (*pre_probe)(struct efx_channel *);
596 void (*post_remove)(struct efx_channel *);
597 void (*get_name)(struct efx_channel *, char *buf, size_t len);
598 struct efx_channel *(*copy)(const struct efx_channel *);
599 bool (*receive_skb)(struct efx_channel *, struct sk_buff *);
600 bool (*want_txqs)(struct efx_channel *);
1029 struct efx_channel *channel[EFX_MAX_CHANNELS];
1391 bool (*handle_global_event)(struct efx_channel *channel, efx_qword_t *);
[all …]
Dnic_common.h33 static inline efx_qword_t *efx_event(struct efx_channel *channel, in efx_event()
162 static inline int efx_nic_probe_eventq(struct efx_channel *channel) in efx_nic_probe_eventq()
166 static inline int efx_nic_init_eventq(struct efx_channel *channel) in efx_nic_init_eventq()
170 static inline void efx_nic_fini_eventq(struct efx_channel *channel) in efx_nic_fini_eventq()
174 static inline void efx_nic_remove_eventq(struct efx_channel *channel) in efx_nic_remove_eventq()
179 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq()
183 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel) in efx_nic_eventq_read_ack()
188 void efx_nic_event_test_start(struct efx_channel *channel);
190 bool efx_nic_event_present(struct efx_channel *channel);
226 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel) in efx_nic_event_test_irq_cpu()
Dptp.h16 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
18 struct efx_channel *efx_ptp_channel(struct efx_nic *efx);
19 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel);
32 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
33 void __efx_rx_skb_attach_timestamp(struct efx_channel *channel,
35 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp()
Dmcdi_functions.h18 int efx_mcdi_ev_probe(struct efx_channel *channel);
19 int efx_mcdi_ev_init(struct efx_channel *channel, bool v1_cut_thru, bool v2);
20 void efx_mcdi_ev_remove(struct efx_channel *channel);
21 void efx_mcdi_ev_fini(struct efx_channel *channel);
Dnic.h109 struct efx_channel *vfdi_channel;
323 int efx_farch_ev_probe(struct efx_channel *channel);
324 int efx_farch_ev_init(struct efx_channel *channel);
325 void efx_farch_ev_fini(struct efx_channel *channel);
326 void efx_farch_ev_remove(struct efx_channel *channel);
327 int efx_farch_ev_process(struct efx_channel *channel, int quota);
328 void efx_farch_ev_read_ack(struct efx_channel *channel);
329 void efx_farch_ev_test_generate(struct efx_channel *channel);
Drx_common.h48 void efx_recycle_rx_pages(struct efx_channel *channel,
51 void efx_discard_rx_packet(struct efx_channel *channel,
84 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf,
110 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota);
Dmcdi_functions.c63 int efx_mcdi_ev_probe(struct efx_channel *channel) in efx_mcdi_ev_probe()
71 int efx_mcdi_ev_init(struct efx_channel *channel, bool v1_cut_thru, bool v2) in efx_mcdi_ev_init()
135 void efx_mcdi_ev_remove(struct efx_channel *channel) in efx_mcdi_ev_remove()
140 void efx_mcdi_ev_fini(struct efx_channel *channel) in efx_mcdi_ev_fini()
170 struct efx_channel *channel = tx_queue->channel; in efx_mcdi_tx_init()
280 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_mcdi_rx_init()
359 struct efx_channel *channel; in efx_fini_dmaq()
Def100_rx.h18 void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event);
20 void __ef100_rx_packet(struct efx_channel *channel);
Def100_rx.c39 static bool ef100_has_fcs_error(struct efx_channel *channel, u32 *prefix) in ef100_has_fcs_error()
56 void __ef100_rx_packet(struct efx_channel *channel) in __ef100_rx_packet()
142 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in ef100_rx_packet()
164 void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event) in efx_ef100_ev_rx()
Drx.c67 static struct sk_buff *efx_rx_mk_skb(struct efx_channel *channel, in efx_rx_mk_skb()
125 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_rx_packet()
208 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver()
251 static bool efx_do_xdp(struct efx_nic *efx, struct efx_channel *channel, in efx_do_xdp()
360 void __efx_rx_packet(struct efx_channel *channel) in __efx_rx_packet()
Defx_common.h73 static inline void efx_schedule_channel(struct efx_channel *channel) in efx_schedule_channel()
82 static inline void efx_schedule_channel_irq(struct efx_channel *channel) in efx_schedule_channel_irq()
Drx_common.c73 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page()
106 void efx_recycle_rx_pages(struct efx_channel *channel, in efx_recycle_rx_pages()
121 void efx_discard_rx_packet(struct efx_channel *channel, in efx_discard_rx_packet()
507 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, in efx_rx_packet_gro()
802 struct efx_channel *channel; in efx_probe_filters()
841 struct efx_channel *channel; in efx_remove_filters()
859 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
1042 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota) in __efx_filter_rfs_expire()
/drivers/net/ethernet/sfc/siena/
Dnet_driver.h265 struct efx_channel *channel;
491 struct efx_channel { struct
590 int (*pre_probe)(struct efx_channel *);
591 void (*post_remove)(struct efx_channel *);
592 void (*get_name)(struct efx_channel *, char *buf, size_t len);
593 struct efx_channel *(*copy)(const struct efx_channel *);
594 bool (*receive_skb)(struct efx_channel *, struct sk_buff *);
595 bool (*want_txqs)(struct efx_channel *);
976 struct efx_channel *channel[EFX_MAX_CHANNELS];
1317 bool (*handle_global_event)(struct efx_channel *channel, efx_qword_t *);
[all …]
Defx_channels.c367 struct efx_channel *channel; in efx_siena_set_interrupt_affinity()
385 struct efx_channel *channel; in efx_siena_clear_interrupt_affinity()
404 struct efx_channel *channel; in efx_siena_remove_interrupts()
425 static int efx_probe_eventq(struct efx_channel *channel) in efx_probe_eventq()
444 static int efx_init_eventq(struct efx_channel *channel) in efx_init_eventq()
464 void efx_siena_start_eventq(struct efx_channel *channel) in efx_siena_start_eventq()
478 void efx_siena_stop_eventq(struct efx_channel *channel) in efx_siena_stop_eventq()
487 static void efx_fini_eventq(struct efx_channel *channel) in efx_fini_eventq()
499 static void efx_remove_eventq(struct efx_channel *channel) in efx_remove_eventq()
517 struct efx_channel *channel; in efx_filter_rfs_expire()
[all …]
Dnic_common.h33 static inline efx_qword_t *efx_event(struct efx_channel *channel, in efx_event()
159 static inline int efx_nic_probe_eventq(struct efx_channel *channel) in efx_nic_probe_eventq()
163 static inline int efx_nic_init_eventq(struct efx_channel *channel) in efx_nic_init_eventq()
167 static inline void efx_nic_fini_eventq(struct efx_channel *channel) in efx_nic_fini_eventq()
171 static inline void efx_nic_remove_eventq(struct efx_channel *channel) in efx_nic_remove_eventq()
176 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq()
180 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel) in efx_nic_eventq_read_ack()
185 void efx_siena_event_test_start(struct efx_channel *channel);
187 bool efx_siena_event_present(struct efx_channel *channel);
223 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel) in efx_nic_event_test_irq_cpu()
Dnic.h109 struct efx_channel *vfdi_channel;
137 int efx_farch_ev_probe(struct efx_channel *channel);
138 int efx_farch_ev_init(struct efx_channel *channel);
139 void efx_farch_ev_fini(struct efx_channel *channel);
140 void efx_farch_ev_remove(struct efx_channel *channel);
141 int efx_farch_ev_process(struct efx_channel *channel, int quota);
142 void efx_farch_ev_read_ack(struct efx_channel *channel);
143 void efx_farch_ev_test_generate(struct efx_channel *channel);
Defx_channels.h25 void efx_siena_start_eventq(struct efx_channel *channel);
26 void efx_siena_stop_eventq(struct efx_channel *channel);
34 void efx_siena_remove_channel(struct efx_channel *channel);
43 void efx_siena_channel_dummy_op_void(struct efx_channel *channel);
Dptp.h17 struct efx_channel *efx_siena_ptp_channel(struct efx_nic *efx);
30 void efx_siena_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
31 void __efx_siena_rx_skb_attach_timestamp(struct efx_channel *channel,
33 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp()
Drx_common.h48 void efx_siena_recycle_rx_pages(struct efx_channel *channel,
51 void efx_siena_discard_rx_packet(struct efx_channel *channel,
77 efx_siena_rx_packet_gro(struct efx_channel *channel,
103 bool __efx_siena_filter_rfs_expire(struct efx_channel *channel,
Drx.c67 static struct sk_buff *efx_rx_mk_skb(struct efx_channel *channel, in efx_rx_mk_skb()
125 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_siena_rx_packet()
208 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver()
251 static bool efx_do_xdp(struct efx_nic *efx, struct efx_channel *channel, in efx_do_xdp()
360 void __efx_siena_rx_packet(struct efx_channel *channel) in __efx_siena_rx_packet()
Dfarch.c80 static void efx_farch_magic_event(struct efx_channel *channel, u32 magic);
606 struct efx_channel *channel; in efx_check_tx_flush_complete()
649 struct efx_channel *channel; in efx_farch_do_flush()
718 struct efx_channel *channel; in efx_farch_fini_dmaq()
778 void efx_farch_ev_read_ack(struct efx_channel *channel) in efx_farch_ev_read_ack()
810 static void efx_farch_magic_event(struct efx_channel *channel, u32 magic) in efx_farch_magic_event()
826 efx_farch_handle_tx_event(struct efx_channel *channel, efx_qword_t *event) in efx_farch_handle_tx_event()
866 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_farch_handle_rx_not_ok()
943 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_farch_handle_rx_bad_index()
972 efx_farch_handle_rx_event(struct efx_channel *channel, const efx_qword_t *event) in efx_farch_handle_rx_event()
[all …]
Defx_common.h76 static inline void efx_schedule_channel(struct efx_channel *channel) in efx_schedule_channel()
85 static inline void efx_schedule_channel_irq(struct efx_channel *channel) in efx_schedule_channel_irq()
Drx_common.c76 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page()
109 void efx_siena_recycle_rx_pages(struct efx_channel *channel, in efx_siena_recycle_rx_pages()
124 void efx_siena_discard_rx_packet(struct efx_channel *channel, in efx_siena_discard_rx_packet()
511 efx_siena_rx_packet_gro(struct efx_channel *channel, in efx_siena_rx_packet_gro()
809 struct efx_channel *channel; in efx_siena_probe_filters()
847 struct efx_channel *channel; in efx_siena_remove_filters()
867 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
1051 bool __efx_siena_filter_rfs_expire(struct efx_channel *channel, in __efx_siena_filter_rfs_expire()

123