Home
last modified time | relevance | path

Searched refs:efx_tx_queue (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx_common.h14 int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
15 void efx_init_tx_queue(struct efx_tx_queue *tx_queue);
16 void efx_fini_tx_queue(struct efx_tx_queue *tx_queue);
17 void efx_remove_tx_queue(struct efx_tx_queue *tx_queue);
19 void efx_dequeue_buffer(struct efx_tx_queue *tx_queue,
30 void efx_xmit_done_check_empty(struct efx_tx_queue *tx_queue);
31 int efx_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index);
33 void efx_enqueue_unwind(struct efx_tx_queue *tx_queue,
36 struct efx_tx_buffer *efx_tx_map_chunk(struct efx_tx_queue *tx_queue,
39 int efx_tx_map_data(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
[all …]
H A Def100_tx.h18 int ef100_tx_probe(struct efx_tx_queue *tx_queue);
19 void ef100_tx_init(struct efx_tx_queue *tx_queue);
20 void ef100_tx_write(struct efx_tx_queue *tx_queue);
25 netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
26 int __ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
H A Dnic_common.h59 efx_tx_desc(struct efx_tx_queue *tx_queue, unsigned int index) in efx_tx_desc()
67 static inline bool efx_nic_tx_is_empty(struct efx_tx_queue *tx_queue, unsigned int write_count) in efx_nic_tx_is_empty()
77 int efx_enqueue_skb_tso(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
86 static inline bool efx_nic_may_push_tx_desc(struct efx_tx_queue *tx_queue, in efx_nic_may_push_tx_desc()
118 static inline int efx_nic_probe_tx(struct efx_tx_queue *tx_queue) in efx_nic_probe_tx()
122 static inline void efx_nic_init_tx(struct efx_tx_queue *tx_queue) in efx_nic_init_tx()
126 static inline void efx_nic_remove_tx(struct efx_tx_queue *tx_queue) in efx_nic_remove_tx()
131 static inline void efx_nic_push_buffers(struct efx_tx_queue *tx_queue) in efx_nic_push_buffers()
H A Def100_tx.c23 int ef100_tx_probe(struct efx_tx_queue *tx_queue) in ef100_tx_probe()
32 void ef100_tx_init(struct efx_tx_queue *tx_queue) in ef100_tx_init()
110 static void ef100_notify_tx_desc(struct efx_tx_queue *tx_queue) in ef100_notify_tx_desc()
128 static void ef100_tx_push_buffers(struct efx_tx_queue *tx_queue) in ef100_tx_push_buffers()
255 static void ef100_tx_make_descriptors(struct efx_tx_queue *tx_queue, in ef100_tx_make_descriptors()
343 void ef100_tx_write(struct efx_tx_queue *tx_queue) in ef100_tx_write()
355 struct efx_tx_queue *tx_queue = in ef100_ev_tx()
370 netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, in ef100_enqueue_skb()
376 int __ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb, in __ef100_enqueue_skb()
428 struct efx_tx_queue *txq2; in __ef100_enqueue_skb()
[all …]
H A Dtx_common.c17 static unsigned int efx_tx_cb_page_count(struct efx_tx_queue *tx_queue) in efx_tx_cb_page_count()
23 int efx_probe_tx_queue(struct efx_tx_queue *tx_queue) in efx_probe_tx_queue()
68 void efx_init_tx_queue(struct efx_tx_queue *tx_queue) in efx_init_tx_queue()
98 void efx_fini_tx_queue(struct efx_tx_queue *tx_queue) in efx_fini_tx_queue()
125 void efx_remove_tx_queue(struct efx_tx_queue *tx_queue) in efx_remove_tx_queue()
149 void efx_dequeue_buffer(struct efx_tx_queue *tx_queue, in efx_dequeue_buffer()
209 static void efx_dequeue_buffers(struct efx_tx_queue *tx_queue, in efx_dequeue_buffers()
240 void efx_xmit_done_check_empty(struct efx_tx_queue *tx_queue) in efx_xmit_done_check_empty()
253 int efx_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index) in efx_xmit_done()
290 void efx_enqueue_unwind(struct efx_tx_queue *tx_queue, in efx_enqueue_unwind()
[all …]
H A Dtx.c52 u8 *efx_tx_get_copy_buffer_limited(struct efx_tx_queue *tx_queue, in efx_tx_get_copy_buffer_limited()
60 static void efx_tx_maybe_stop_queue(struct efx_tx_queue *txq1) in efx_tx_maybe_stop_queue()
64 struct efx_tx_queue *txq2; in efx_tx_maybe_stop_queue()
99 static int efx_enqueue_skb_copy(struct efx_tx_queue *tx_queue, in efx_enqueue_skb_copy()
220 static int efx_enqueue_skb_pio(struct efx_tx_queue *tx_queue, in efx_enqueue_skb_pio()
276 static bool efx_tx_may_pio(struct efx_tx_queue *tx_queue) in efx_tx_may_pio()
298 struct efx_tx_queue *q; in efx_tx_send_pending()
425 struct efx_tx_queue *tx_queue; in efx_xdp_tx_buffers()
516 struct efx_tx_queue *tx_queue; in efx_hard_start_xmit()
554 void efx_xmit_done_single(struct efx_tx_queue *tx_queue) in efx_xmit_done_single()
[all …]
H A Dmcdi_functions.h22 int efx_mcdi_tx_init(struct efx_tx_queue *tx_queue);
23 void efx_mcdi_tx_remove(struct efx_tx_queue *tx_queue);
24 void efx_mcdi_tx_fini(struct efx_tx_queue *tx_queue);
H A Dnet_driver.h239 struct efx_tx_queue { struct
542 struct efx_tx_queue *tx_queue_by_type[EFX_TXQ_TYPES];
1017 struct efx_tx_queue **xdp_tx_queues;
1408 int (*tx_probe)(struct efx_tx_queue *tx_queue);
1409 void (*tx_init)(struct efx_tx_queue *tx_queue);
1410 void (*tx_remove)(struct efx_tx_queue *tx_queue);
1411 void (*tx_write)(struct efx_tx_queue *tx_queue);
1589 static inline struct efx_tx_queue *
1596 static inline struct efx_tx_queue *
1698 struct efx_tx_queue *tx_queue; in efx_channel_tx_fill_level()
[all …]
H A Dtx.h15 unsigned int efx_tx_limit_len(struct efx_tx_queue *tx_queue,
18 u8 *efx_tx_get_copy_buffer_limited(struct efx_tx_queue *tx_queue,
H A Defx.h22 void efx_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue);
25 netdev_tx_t __efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
26 static inline netdev_tx_t efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in efx_enqueue_skb()
32 void efx_xmit_done_single(struct efx_tx_queue *tx_queue);
H A Dtx_tso.c79 static inline void prefetch_ptr(struct efx_tx_queue *tx_queue) in prefetch_ptr()
102 static void efx_tx_queue_insert(struct efx_tx_queue *tx_queue, in efx_tx_queue_insert()
170 struct efx_tx_queue *tx_queue, in tso_start()
232 static void tso_fill_packet_with_fragment(struct efx_tx_queue *tx_queue, in tso_fill_packet_with_fragment()
285 static int tso_start_new_packet(struct efx_tx_queue *tx_queue, in tso_start_new_packet()
362 int efx_enqueue_skb_tso(struct efx_tx_queue *tx_queue, in efx_enqueue_skb_tso()
H A Dmcdi_functions.c163 int efx_mcdi_tx_init(struct efx_tx_queue *tx_queue) in efx_mcdi_tx_init()
241 void efx_mcdi_tx_remove(struct efx_tx_queue *tx_queue) in efx_mcdi_tx_remove()
246 void efx_mcdi_tx_fini(struct efx_tx_queue *tx_queue) in efx_mcdi_tx_fini()
357 struct efx_tx_queue *tx_queue; in efx_fini_dmaq()
H A Defx_channels.c533 struct efx_tx_queue *tx_queue; in efx_alloc_channel()
603 struct efx_tx_queue *tx_queue; in efx_copy_channel()
641 struct efx_tx_queue *tx_queue; in efx_probe_channel()
741 struct efx_tx_queue *tx_queue; in efx_remove_channel()
766 struct efx_tx_queue *tx_queue) in efx_set_xdp_tx_queue()
781 struct efx_tx_queue *tx_queue; in efx_set_xdp_channels()
1091 struct efx_tx_queue *tx_queue; in efx_start_channels()
1117 struct efx_tx_queue *tx_queue; in efx_stop_channels()
1179 struct efx_tx_queue *tx_queue; in efx_process_channel()
H A Dptp.h44 ktime_t efx_ptp_nic_to_kernel_time(struct efx_tx_queue *tx_queue);
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.h14 int efx_siena_probe_tx_queue(struct efx_tx_queue *tx_queue);
15 void efx_siena_init_tx_queue(struct efx_tx_queue *tx_queue);
16 void efx_siena_fini_tx_queue(struct efx_tx_queue *tx_queue);
17 void efx_siena_remove_tx_queue(struct efx_tx_queue *tx_queue);
24 void efx_siena_xmit_done_check_empty(struct efx_tx_queue *tx_queue);
25 void efx_siena_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index);
27 void efx_siena_enqueue_unwind(struct efx_tx_queue *tx_queue,
30 struct efx_tx_buffer *efx_siena_tx_map_chunk(struct efx_tx_queue *tx_queue,
32 int efx_siena_tx_map_data(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
36 int efx_siena_tx_tso_fallback(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
H A Dtx_common.c17 static unsigned int efx_tx_cb_page_count(struct efx_tx_queue *tx_queue) in efx_tx_cb_page_count()
23 int efx_siena_probe_tx_queue(struct efx_tx_queue *tx_queue) in efx_siena_probe_tx_queue()
68 void efx_siena_init_tx_queue(struct efx_tx_queue *tx_queue) in efx_siena_init_tx_queue()
98 void efx_siena_remove_tx_queue(struct efx_tx_queue *tx_queue) in efx_siena_remove_tx_queue()
122 static void efx_dequeue_buffer(struct efx_tx_queue *tx_queue, in efx_dequeue_buffer()
170 void efx_siena_fini_tx_queue(struct efx_tx_queue *tx_queue) in efx_siena_fini_tx_queue()
198 static void efx_dequeue_buffers(struct efx_tx_queue *tx_queue, in efx_dequeue_buffers()
227 void efx_siena_xmit_done_check_empty(struct efx_tx_queue *tx_queue) in efx_siena_xmit_done_check_empty()
240 void efx_siena_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index) in efx_siena_xmit_done()
273 void efx_siena_enqueue_unwind(struct efx_tx_queue *tx_queue, in efx_siena_enqueue_unwind()
[all …]
H A Dnic_common.h60 efx_tx_desc(struct efx_tx_queue *tx_queue, unsigned int index) in efx_tx_desc()
68 static inline bool efx_nic_tx_is_empty(struct efx_tx_queue *tx_queue, unsigned int write_count) in efx_nic_tx_is_empty()
86 static inline bool efx_nic_may_push_tx_desc(struct efx_tx_queue *tx_queue, in efx_nic_may_push_tx_desc()
118 static inline int efx_nic_probe_tx(struct efx_tx_queue *tx_queue) in efx_nic_probe_tx()
122 static inline void efx_nic_init_tx(struct efx_tx_queue *tx_queue) in efx_nic_init_tx()
126 static inline void efx_nic_remove_tx(struct efx_tx_queue *tx_queue) in efx_nic_remove_tx()
131 static inline void efx_nic_push_buffers(struct efx_tx_queue *tx_queue) in efx_nic_push_buffers()
H A Dtx.c26 static inline u8 *efx_tx_get_copy_buffer(struct efx_tx_queue *tx_queue, in efx_tx_get_copy_buffer()
44 static void efx_tx_maybe_stop_queue(struct efx_tx_queue *txq1) in efx_tx_maybe_stop_queue()
48 struct efx_tx_queue *txq2; in efx_tx_maybe_stop_queue()
83 static int efx_enqueue_skb_copy(struct efx_tx_queue *tx_queue, in efx_enqueue_skb_copy()
115 struct efx_tx_queue *q; in efx_tx_send_pending()
139 netdev_tx_t __efx_siena_enqueue_skb(struct efx_tx_queue *tx_queue, in __efx_siena_enqueue_skb()
212 struct efx_tx_queue *tx_queue; in efx_siena_xdp_tx_buffers()
303 struct efx_tx_queue *tx_queue; in efx_siena_hard_start_xmit()
346 void efx_siena_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue) in efx_siena_init_tx_queue_core_txq()
H A Dnic.h124 int efx_farch_tx_probe(struct efx_tx_queue *tx_queue);
125 void efx_farch_tx_init(struct efx_tx_queue *tx_queue);
126 void efx_farch_tx_fini(struct efx_tx_queue *tx_queue);
127 void efx_farch_tx_remove(struct efx_tx_queue *tx_queue);
128 void efx_farch_tx_write(struct efx_tx_queue *tx_queue);
129 unsigned int efx_farch_tx_limit_len(struct efx_tx_queue *tx_queue,
H A Dnet_driver.h257 struct efx_tx_queue { struct
549 struct efx_tx_queue *tx_queue_by_type[EFX_TXQ_TYPES];
982 struct efx_tx_queue **xdp_tx_queues;
1359 int (*tx_probe)(struct efx_tx_queue *tx_queue);
1360 void (*tx_init)(struct efx_tx_queue *tx_queue);
1361 void (*tx_remove)(struct efx_tx_queue *tx_queue);
1362 void (*tx_write)(struct efx_tx_queue *tx_queue);
1542 static inline struct efx_tx_queue *
1549 static inline struct efx_tx_queue *
1651 struct efx_tx_queue *tx_queue; in efx_channel_tx_fill_level()
[all …]
H A Defx.h16 void efx_siena_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue);
19 netdev_tx_t __efx_siena_enqueue_skb(struct efx_tx_queue *tx_queue,
21 static inline netdev_tx_t efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in efx_enqueue_skb()
H A Defx_channels.c535 struct efx_tx_queue *tx_queue; in efx_alloc_channel()
606 struct efx_tx_queue *tx_queue; in efx_copy_channel()
644 struct efx_tx_queue *tx_queue; in efx_probe_channel()
747 struct efx_tx_queue *tx_queue; in efx_siena_remove_channel()
772 struct efx_tx_queue *tx_queue) in efx_set_xdp_tx_queue()
787 struct efx_tx_queue *tx_queue; in efx_set_xdp_channels()
872 struct efx_tx_queue *tx_queue; in efx_siena_realloc_channels()
1123 struct efx_tx_queue *tx_queue; in efx_siena_start_channels()
1147 struct efx_tx_queue *tx_queue; in efx_siena_stop_channels()
1204 struct efx_tx_queue *tx_queue; in efx_process_channel()
H A Dptp.h43 ktime_t efx_siena_ptp_nic_to_kernel_time(struct efx_tx_queue *tx_queue);
H A Dfarch.c317 void efx_farch_tx_write(struct efx_tx_queue *tx_queue) in efx_farch_tx_write()
358 unsigned int efx_farch_tx_limit_len(struct efx_tx_queue *tx_queue, in efx_farch_tx_limit_len()
371 int efx_farch_tx_probe(struct efx_tx_queue *tx_queue) in efx_farch_tx_probe()
383 void efx_farch_tx_init(struct efx_tx_queue *tx_queue) in efx_farch_tx_init()
437 void efx_farch_tx_fini(struct efx_tx_queue *tx_queue) in efx_farch_tx_fini()
452 void efx_farch_tx_remove(struct efx_tx_queue *tx_queue) in efx_farch_tx_remove()
607 struct efx_tx_queue *tx_queue; in efx_check_tx_flush_complete()
651 struct efx_tx_queue *tx_queue; in efx_farch_do_flush()
719 struct efx_tx_queue *tx_queue; in efx_farch_fini_dmaq()
830 struct efx_tx_queue *tx_queue; in efx_farch_handle_tx_event()
[all …]
H A Dselftest.c416 static int efx_begin_loopback(struct efx_tx_queue *tx_queue) in efx_begin_loopback()
476 static int efx_end_loopback(struct efx_tx_queue *tx_queue, in efx_end_loopback()
535 efx_test_loopback(struct efx_tx_queue *tx_queue, in efx_test_loopback()
630 struct efx_tx_queue *tx_queue; in efx_test_loopbacks()

12