Home
last modified time | relevance | path

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

123

/linux-6.12.1/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 …]
Dnet_driver.h247 struct efx_channel *channel;
483 struct efx_channel { struct
586 int (*pre_probe)(struct efx_channel *);
587 int (*start)(struct efx_channel *);
588 void (*stop)(struct efx_channel *);
589 void (*post_remove)(struct efx_channel *);
590 void (*get_name)(struct efx_channel *, char *buf, size_t len);
591 struct efx_channel *(*copy)(const struct efx_channel *);
592 bool (*receive_skb)(struct efx_channel *, struct sk_buff *);
594 bool (*want_txqs)(struct efx_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 …]
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);
36 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
37 void __efx_rx_skb_attach_timestamp(struct efx_channel *channel,
39 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp()
Dnic_common.h33 static inline efx_qword_t *efx_event(struct efx_channel *channel, in efx_event()
160 static inline int efx_nic_probe_eventq(struct efx_channel *channel) in efx_nic_probe_eventq()
164 static inline int efx_nic_init_eventq(struct efx_channel *channel) in efx_nic_init_eventq()
168 static inline void efx_nic_fini_eventq(struct efx_channel *channel) in efx_nic_fini_eventq()
172 static inline void efx_nic_remove_eventq(struct efx_channel *channel) in efx_nic_remove_eventq()
177 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq()
181 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel) in efx_nic_eventq_read_ack()
186 void efx_nic_event_test_start(struct efx_channel *channel);
188 bool efx_nic_event_present(struct efx_channel *channel);
224 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel) in efx_nic_event_test_irq_cpu()
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);
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,
108 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota);
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);
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.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()
149 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in ef100_rx_packet()
171 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()
Dtc_counters.c278 static int efx_tc_probe_channel(struct efx_channel *channel) in efx_tc_probe_channel()
290 static int efx_tc_start_channel(struct efx_channel *channel) in efx_tc_start_channel()
298 static void efx_tc_stop_channel(struct efx_channel *channel) in efx_tc_stop_channel()
313 static void efx_tc_remove_channel(struct efx_channel *channel) in efx_tc_remove_channel()
317 static void efx_tc_get_channel_name(struct efx_channel *channel, in efx_tc_get_channel_name()
512 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_tc_rx()
Dnic.c54 bool efx_nic_event_present(struct efx_channel *channel) in efx_nic_event_present()
59 void efx_nic_event_test_start(struct efx_channel *channel) in efx_nic_event_test_start()
78 struct efx_channel *channel; in efx_nic_init_interrupt()
151 struct efx_channel *channel; in efx_nic_fini_interrupt()
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()
/linux-6.12.1/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 *);
968 struct efx_channel *channel[EFX_MAX_CHANNELS];
1304 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);
33 void efx_siena_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
34 void __efx_siena_rx_skb_attach_timestamp(struct efx_channel *channel,
36 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,
99 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.c77 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page()
110 void efx_siena_recycle_rx_pages(struct efx_channel *channel, in efx_siena_recycle_rx_pages()
125 void efx_siena_discard_rx_packet(struct efx_channel *channel, in efx_siena_discard_rx_packet()
512 efx_siena_rx_packet_gro(struct efx_channel *channel, in efx_siena_rx_packet_gro()
754 struct efx_channel *channel; in efx_siena_probe_filters()
792 struct efx_channel *channel; in efx_siena_remove_filters()
812 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
996 bool __efx_siena_filter_rfs_expire(struct efx_channel *channel, in __efx_siena_filter_rfs_expire()

123