Home
last modified time | relevance | path

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

12

/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);
35 void efx_get_channel_name(struct efx_channel *channel, char *buf, size_t len);
40 bool efx_default_channel_want_txqs(struct efx_channel *channel);
41 void efx_remove_channel(struct efx_channel *channel);
44 struct efx_channel *efx_copy_channel(const struct efx_channel *old_channel);
[all …]
Defx_channels.c57 int efx_channel_dummy_op_int(struct efx_channel *channel) in efx_channel_dummy_op_int()
62 void efx_channel_dummy_op_void(struct efx_channel *channel) in efx_channel_dummy_op_void()
373 struct efx_channel *channel; in efx_set_interrupt_affinity()
385 struct efx_channel *channel; in efx_clear_interrupt_affinity()
404 struct efx_channel *channel; in efx_remove_interrupts()
425 int efx_probe_eventq(struct efx_channel *channel) in efx_probe_eventq()
444 int efx_init_eventq(struct efx_channel *channel) in efx_init_eventq()
464 void efx_start_eventq(struct efx_channel *channel) in efx_start_eventq()
478 void efx_stop_eventq(struct efx_channel *channel) in efx_stop_eventq()
487 void efx_fini_eventq(struct efx_channel *channel) in efx_fini_eventq()
[all …]
Dnet_driver.h266 struct efx_channel *channel;
492 struct efx_channel { struct
591 int (*pre_probe)(struct efx_channel *);
592 void (*post_remove)(struct efx_channel *);
593 void (*get_name)(struct efx_channel *, char *buf, size_t len);
594 struct efx_channel *(*copy)(const struct efx_channel *);
595 bool (*receive_skb)(struct efx_channel *, struct sk_buff *);
596 bool (*want_txqs)(struct efx_channel *);
1024 struct efx_channel *channel[EFX_MAX_CHANNELS];
1364 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);
221 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;
327 int efx_farch_ev_probe(struct efx_channel *channel);
328 int efx_farch_ev_init(struct efx_channel *channel);
329 void efx_farch_ev_fini(struct efx_channel *channel);
330 void efx_farch_ev_remove(struct efx_channel *channel);
331 int efx_farch_ev_process(struct efx_channel *channel, int quota);
332 void efx_farch_ev_read_ack(struct efx_channel *channel);
333 void efx_farch_ev_test_generate(struct efx_channel *channel);
Drx_common.h42 void efx_recycle_rx_pages(struct efx_channel *channel,
45 void efx_discard_rx_packet(struct efx_channel *channel,
78 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf,
104 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota);
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()
108 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in ef100_rx_packet()
130 void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event) in efx_ef100_ev_rx()
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);
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()
Dfarch.c79 static void efx_farch_magic_event(struct efx_channel *channel, u32 magic);
605 struct efx_channel *channel; in efx_check_tx_flush_complete()
648 struct efx_channel *channel; in efx_farch_do_flush()
717 struct efx_channel *channel; in efx_farch_fini_dmaq()
776 void efx_farch_ev_read_ack(struct efx_channel *channel) in efx_farch_ev_read_ack()
808 static void efx_farch_magic_event(struct efx_channel *channel, u32 magic) in efx_farch_magic_event()
824 efx_farch_handle_tx_event(struct efx_channel *channel, efx_qword_t *event) in efx_farch_handle_tx_event()
864 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_farch_handle_rx_not_ok()
941 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_farch_handle_rx_bad_index()
970 efx_farch_handle_rx_event(struct efx_channel *channel, const efx_qword_t *event) in efx_farch_handle_rx_event()
[all …]
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.c80 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page()
113 void efx_recycle_rx_pages(struct efx_channel *channel, in efx_recycle_rx_pages()
128 void efx_discard_rx_packet(struct efx_channel *channel, in efx_discard_rx_packet()
523 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, in efx_rx_packet_gro()
819 struct efx_channel *channel; in efx_probe_filters()
859 struct efx_channel *channel; in efx_remove_filters()
879 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
1062 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota) in __efx_filter_rfs_expire()
Dptp.c287 struct efx_channel *channel;
367 static bool efx_ptp_want_txqs(struct efx_channel *channel) in efx_ptp_want_txqs()
540 struct efx_channel *efx_ptp_channel(struct efx_nic *efx) in efx_ptp_channel()
545 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_update_channel()
553 struct efx_channel *channel = efx_ptp_channel(efx); in last_sync_timestamp_major()
1469 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_probe()
1570 static int efx_ptp_probe_channel(struct efx_channel *channel) in efx_ptp_probe_channel()
1616 static void efx_ptp_remove_channel(struct efx_channel *channel) in efx_ptp_remove_channel()
1621 static void efx_ptp_get_channel_name(struct efx_channel *channel, in efx_ptp_get_channel_name()
1649 static bool efx_ptp_rx(struct efx_channel *channel, struct sk_buff *skb) in efx_ptp_rx()
[all …]
Defx.h38 void __efx_rx_packet(struct efx_channel *channel);
41 static inline void efx_rx_flush_packet(struct efx_channel *channel) in efx_rx_flush_packet()
Dnic.c55 bool efx_nic_event_present(struct efx_channel *channel) in efx_nic_event_present()
60 void efx_nic_event_test_start(struct efx_channel *channel) in efx_nic_event_test_start()
79 struct efx_channel *channel; in efx_nic_init_interrupt()
152 struct efx_channel *channel; in efx_nic_fini_interrupt()
Def100_tx.h22 void ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
Def10.c778 struct efx_channel *channel; in efx_ef10_link_piobufs()
888 struct efx_channel *channel; in efx_ef10_forget_old_piobufs()
1981 static void efx_ef10_push_irq_moderation(struct efx_channel *channel) in efx_ef10_push_irq_moderation()
2162 struct efx_channel *channel; in efx_ef10_legacy_interrupt()
2345 struct efx_channel *channel = tx_queue->channel; in efx_ef10_tx_init()
2618 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_ef10_rx_defer_refill()
2647 static int efx_ef10_ev_init(struct efx_channel *channel) in efx_ef10_ev_init()
2707 static u16 efx_ef10_handle_rx_event_errors(struct efx_channel *channel, in efx_ef10_handle_rx_event_errors()
2798 static int efx_ef10_handle_rx_event(struct efx_channel *channel, in efx_ef10_handle_rx_event()
2951 efx_ef10_handle_tx_event(struct efx_channel *channel, efx_qword_t *event) in efx_ef10_handle_tx_event()
[all …]
Dselftest.c176 struct efx_channel *channel; in efx_test_eventq_irq()
616 struct efx_channel *channel = in efx_test_loopbacks()
772 struct efx_channel *channel; in efx_selftest_async_start()
788 struct efx_channel *channel; in efx_selftest_async_work()
Dsiena_sriov.h73 void efx_siena_sriov_event(struct efx_channel *channel, efx_qword_t *event);
Def100_nic.c209 static int ef100_ev_probe(struct efx_channel *channel) in ef100_ev_probe()
218 static int ef100_ev_init(struct efx_channel *channel) in ef100_ev_init()
228 static void ef100_ev_read_ack(struct efx_channel *channel) in ef100_ev_read_ack()
241 static int ef100_ev_process(struct efx_channel *channel, int quota) in ef100_ev_process()
651 static void efx_ef100_ev_test_generate(struct efx_channel *channel) in efx_ef100_ev_test_generate()
Defx.c432 struct efx_channel *channel; in efx_init_irq_moderation()
476 struct efx_channel *tx_channel; in efx_get_irq_moderation()
699 struct efx_channel *channel; in efx_register_netdev()
825 struct efx_channel *channel; in efx_update_sw_stats()
Dtx.c278 struct efx_channel *channel = tx_queue->channel; in efx_tx_may_pio()
296 static void efx_tx_send_pending(struct efx_channel *channel) in efx_tx_send_pending()

12