Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
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 …]
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,
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 …]
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()
52 static bool ef100_tx_can_tso(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in ef100_tx_can_tso()
102 static efx_oword_t *ef100_tx_desc(struct efx_tx_queue *tx_queue, unsigned int index) in ef100_tx_desc()
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()
[all …]
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()
Dtx.c34 static inline u8 *efx_tx_get_copy_buffer(struct efx_tx_queue *tx_queue, in efx_tx_get_copy_buffer()
52 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()
322 netdev_tx_t __efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in __efx_enqueue_skb()
425 struct efx_tx_queue *tx_queue; in efx_xdp_tx_buffers()
[all …]
Dnet_driver.h239 struct efx_tx_queue { struct
541 struct efx_tx_queue tx_queue[EFX_MAX_TXQ_PER_CHANNEL];
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);
1412 netdev_tx_t (*tx_enqueue)(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
1413 unsigned int (*tx_limit_len)(struct efx_tx_queue *tx_queue,
[all …]
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);
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);
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()
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,
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()
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()
Dselftest.c415 static int efx_begin_loopback(struct efx_tx_queue *tx_queue) in efx_begin_loopback()
475 static int efx_end_loopback(struct efx_tx_queue *tx_queue, in efx_end_loopback()
534 efx_test_loopback(struct efx_tx_queue *tx_queue, in efx_test_loopback()
625 struct efx_tx_queue *tx_queue; in efx_test_loopbacks()
/drivers/net/ethernet/sfc/siena/
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);
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 …]
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()
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()
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,
Dnet_driver.h257 struct efx_tx_queue { struct
548 struct efx_tx_queue tx_queue[EFX_MAX_TXQ_PER_CHANNEL];
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);
1363 netdev_tx_t (*tx_enqueue)(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
1364 unsigned int (*tx_limit_len)(struct efx_tx_queue *tx_queue,
[all …]
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()
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()
Dfarch.c283 static inline void efx_farch_notify_tx_desc(struct efx_tx_queue *tx_queue) in efx_farch_notify_tx_desc()
295 static inline void efx_farch_push_tx_desc(struct efx_tx_queue *tx_queue, in efx_farch_push_tx_desc()
317 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()
423 static void efx_farch_flush_tx_queue(struct efx_tx_queue *tx_queue) in efx_farch_flush_tx_queue()
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()
[all …]
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()
Dptp.h43 ktime_t efx_siena_ptp_nic_to_kernel_time(struct efx_tx_queue *tx_queue);

12