Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h265 struct efx_channel *channel;
489 struct efx_channel { struct
588 int (*pre_probe)(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 *);
593 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 …]
H A 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);
H A 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);
H A 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,
H A 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()
H A 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 …]
H A 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()
H A Defx.h30 void __efx_siena_rx_packet(struct efx_channel *channel);
33 static inline void efx_rx_flush_packet(struct efx_channel *channel) in efx_rx_flush_packet()
H A 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()
509 efx_siena_rx_packet_gro(struct efx_channel *channel, in efx_siena_rx_packet_gro()
751 struct efx_channel *channel; in efx_siena_probe_filters()
789 struct efx_channel *channel; in efx_siena_remove_filters()
809 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
994 bool __efx_siena_filter_rfs_expire(struct efx_channel *channel, in __efx_siena_filter_rfs_expire()
H A Dptp.c286 struct efx_channel *channel;
366 static bool efx_ptp_want_txqs(struct efx_channel *channel) in efx_ptp_want_txqs()
539 struct efx_channel *efx_siena_ptp_channel(struct efx_nic *efx) in efx_siena_ptp_channel()
546 struct efx_channel *channel = efx_siena_ptp_channel(efx); in last_sync_timestamp_major()
1440 static int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_probe()
1537 static int efx_ptp_probe_channel(struct efx_channel *channel) in efx_ptp_probe_channel()
1583 static void efx_ptp_remove_channel(struct efx_channel *channel) in efx_ptp_remove_channel()
1588 static void efx_ptp_get_channel_name(struct efx_channel *channel, in efx_ptp_get_channel_name()
1616 static bool efx_ptp_rx(struct efx_channel *channel, struct sk_buff *skb) in efx_ptp_rx()
1948 void efx_siena_time_sync_event(struct efx_channel *channel, efx_qword_t *ev) in efx_siena_time_sync_event()
[all …]
H A Dsiena_sriov.h76 void efx_siena_sriov_event(struct efx_channel *channel, efx_qword_t *event);
H A Dselftest.c181 struct efx_channel *channel; in efx_test_eventq_irq()
628 struct efx_channel *channel = in efx_test_loopbacks()
784 struct efx_channel *channel; in efx_siena_selftest_async_start()
800 struct efx_channel *channel; in efx_siena_selftest_async_work()
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h268 struct efx_channel *channel;
519 struct efx_channel { struct
623 int (*pre_probe)(struct efx_channel *);
624 int (*start)(struct efx_channel *);
625 void (*stop)(struct efx_channel *);
626 void (*post_remove)(struct efx_channel *);
627 void (*get_name)(struct efx_channel *, char *buf, size_t len);
628 struct efx_channel *(*copy)(const struct efx_channel *);
629 bool (*receive_skb)(struct efx_channel *, struct sk_buff *);
631 bool (*want_txqs)(struct efx_channel *);
[all …]
H A 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()
H A 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);
H A 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);
H A 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);
H A 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()
H A 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()
H A Drx_common.c74 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page()
107 void efx_recycle_rx_pages(struct efx_channel *channel, in efx_recycle_rx_pages()
122 void efx_discard_rx_packet(struct efx_channel *channel, in efx_discard_rx_packet()
511 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, in efx_rx_packet_gro()
762 struct efx_channel *channel; in efx_probe_filters()
801 struct efx_channel *channel; in efx_remove_filters()
819 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); in efx_filter_rfs_work()
1003 bool __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota) in __efx_filter_rfs_expire()
H A Def100_tx.h23 int ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
H A Dptp.c295 struct efx_channel *channel;
372 static bool efx_ptp_want_txqs(struct efx_channel *channel) in efx_ptp_want_txqs()
526 struct efx_channel *efx_ptp_channel(struct efx_nic *efx) in efx_ptp_channel()
531 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_update_channel()
539 struct efx_channel *channel = efx_ptp_channel(efx); in last_sync_timestamp_major()
1244 struct efx_channel *channel = efx->ptp_data->channel; in efx_ptp_init_filter()
1558 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel) in efx_ptp_probe()
1655 static int efx_ptp_probe_channel(struct efx_channel *channel) in efx_ptp_probe_channel()
1702 static void efx_ptp_remove_channel(struct efx_channel *channel) in efx_ptp_remove_channel()
1707 static void efx_ptp_get_channel_name(struct efx_channel *channel, in efx_ptp_get_channel_name()
[all …]
H A Defx.c426 struct efx_channel *channel; in efx_init_irq_moderation()
470 struct efx_channel *tx_channel; in efx_get_irq_moderation()
604 struct efx_channel *channel; in efx_get_queue_stats_rx()
622 struct efx_channel *channel; in efx_get_queue_stats_tx()
652 struct efx_channel *channel; in efx_get_base_stats()
790 struct efx_channel *channel; in efx_register_netdev()
918 struct efx_channel *channel; in efx_update_sw_stats()
H A Dselftest.c180 struct efx_channel *channel; in efx_test_eventq_irq()
623 struct efx_channel *channel = in efx_test_loopbacks()
779 struct efx_channel *channel; in efx_selftest_async_start()
795 struct efx_channel *channel; in efx_selftest_async_work()
H A 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()
2628 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_ef10_rx_defer_refill()
2657 static int efx_ef10_ev_init(struct efx_channel *channel) in efx_ef10_ev_init()
2717 static u16 efx_ef10_handle_rx_event_errors(struct efx_channel *channel, in efx_ef10_handle_rx_event_errors()
2808 static int efx_ef10_handle_rx_event(struct efx_channel *channel, in efx_ef10_handle_rx_event()
2961 efx_ef10_handle_tx_event(struct efx_channel *channel, efx_qword_t *event) in efx_ef10_handle_tx_event()
[all …]

12