Home
last modified time | relevance | path

Searched defs:tx_queue (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dtx.c25 static inline u8 *ef4_tx_get_copy_buffer(struct ef4_tx_queue *tx_queue, in ef4_tx_get_copy_buffer()
43 u8 *ef4_tx_get_copy_buffer_limited(struct ef4_tx_queue *tx_queue, in ef4_tx_get_copy_buffer_limited()
51 static void ef4_dequeue_buffer(struct ef4_tx_queue *tx_queue, in ef4_dequeue_buffer()
148 static int ef4_enqueue_skb_copy(struct ef4_tx_queue *tx_queue, in ef4_enqueue_skb_copy()
181 static struct ef4_tx_buffer *ef4_tx_map_chunk(struct ef4_tx_queue *tx_queue, in ef4_tx_map_chunk()
207 static int ef4_tx_map_data(struct ef4_tx_queue *tx_queue, struct sk_buff *skb) in ef4_tx_map_data()
269 static void ef4_enqueue_unwind(struct ef4_tx_queue *tx_queue) in ef4_enqueue_unwind()
297 netdev_tx_t ef4_enqueue_skb(struct ef4_tx_queue *tx_queue, struct sk_buff *skb) in ef4_enqueue_skb()
355 static void ef4_dequeue_buffers(struct ef4_tx_queue *tx_queue, in ef4_dequeue_buffers()
398 struct ef4_tx_queue *tx_queue; in ef4_hard_start_xmit() local
[all …]
Dnic.h63 ef4_tx_desc(struct ef4_tx_queue *tx_queue, unsigned int index) in ef4_tx_desc()
69 static inline struct ef4_tx_queue *ef4_tx_queue_partner(struct ef4_tx_queue *tx_queue) in ef4_tx_queue_partner()
80 static inline bool __ef4_nic_tx_is_empty(struct ef4_tx_queue *tx_queue, in __ef4_nic_tx_is_empty()
99 static inline bool ef4_nic_may_push_tx_desc(struct ef4_tx_queue *tx_queue, in ef4_nic_may_push_tx_desc()
315 static inline int ef4_nic_probe_tx(struct ef4_tx_queue *tx_queue) in ef4_nic_probe_tx()
319 static inline void ef4_nic_init_tx(struct ef4_tx_queue *tx_queue) in ef4_nic_init_tx()
323 static inline void ef4_nic_remove_tx(struct ef4_tx_queue *tx_queue) in ef4_nic_remove_tx()
327 static inline void ef4_nic_push_buffers(struct ef4_tx_queue *tx_queue) in ef4_nic_push_buffers()
Dfarch.c272 static inline void ef4_farch_notify_tx_desc(struct ef4_tx_queue *tx_queue) in ef4_farch_notify_tx_desc()
284 static inline void ef4_farch_push_tx_desc(struct ef4_tx_queue *tx_queue, in ef4_farch_push_tx_desc()
306 void ef4_farch_tx_write(struct ef4_tx_queue *tx_queue) in ef4_farch_tx_write()
347 unsigned int ef4_farch_tx_limit_len(struct ef4_tx_queue *tx_queue, in ef4_farch_tx_limit_len()
363 int ef4_farch_tx_probe(struct ef4_tx_queue *tx_queue) in ef4_farch_tx_probe()
373 void ef4_farch_tx_init(struct ef4_tx_queue *tx_queue) in ef4_farch_tx_init()
429 static void ef4_farch_flush_tx_queue(struct ef4_tx_queue *tx_queue) in ef4_farch_flush_tx_queue()
443 void ef4_farch_tx_fini(struct ef4_tx_queue *tx_queue) in ef4_farch_tx_fini()
458 void ef4_farch_tx_remove(struct ef4_tx_queue *tx_queue) in ef4_farch_tx_remove()
619 struct ef4_tx_queue *tx_queue; in ef4_check_tx_flush_complete() local
[all …]
Dselftest.c418 static int ef4_begin_loopback(struct ef4_tx_queue *tx_queue) in ef4_begin_loopback()
478 static int ef4_end_loopback(struct ef4_tx_queue *tx_queue, in ef4_end_loopback()
537 ef4_test_loopback(struct ef4_tx_queue *tx_queue, in ef4_test_loopback()
632 struct ef4_tx_queue *tx_queue; in ef4_test_loopbacks() local
Defx.c234 struct ef4_tx_queue *tx_queue; in ef4_process_channel() local
423 struct ef4_tx_queue *tx_queue; in ef4_alloc_channel() local
456 struct ef4_tx_queue *tx_queue; in ef4_copy_channel() local
489 struct ef4_tx_queue *tx_queue; in ef4_probe_channel() local
591 struct ef4_tx_queue *tx_queue; in ef4_start_datapath() local
682 struct ef4_tx_queue *tx_queue; in ef4_stop_datapath() local
735 struct ef4_tx_queue *tx_queue; in ef4_remove_channel() local
774 struct ef4_tx_queue *tx_queue; in ef4_realloc_channels() local
1586 struct ef4_tx_queue *tx_queue; in ef4_set_channels() local
2295 struct ef4_tx_queue *tx_queue; in ef4_register_netdev() local
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
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()
83 static int efx_enqueue_skb_copy(struct efx_tx_queue *tx_queue, in efx_enqueue_skb_copy()
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() local
303 struct efx_tx_queue *tx_queue; in efx_siena_hard_start_xmit() local
346 void efx_siena_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue) in efx_siena_init_tx_queue_core_txq()
Defx_channels.c535 struct efx_tx_queue *tx_queue; in efx_alloc_channel() local
606 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
644 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
747 struct efx_tx_queue *tx_queue; in efx_siena_remove_channel() local
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() local
872 struct efx_tx_queue *tx_queue; in efx_siena_realloc_channels() local
1123 struct efx_tx_queue *tx_queue; in efx_siena_start_channels() local
1147 struct efx_tx_queue *tx_queue; in efx_siena_stop_channels() local
1204 struct efx_tx_queue *tx_queue; in efx_process_channel() local
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() local
[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() local
Defx.h21 static inline netdev_tx_t efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in efx_enqueue_skb()
/linux-6.6.21/drivers/net/ethernet/sfc/
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() local
370 netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, in ef100_enqueue_skb()
[all …]
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()
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()
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() local
516 struct efx_tx_queue *tx_queue; in efx_hard_start_xmit() local
554 void efx_xmit_done_single(struct efx_tx_queue *tx_queue) in efx_xmit_done_single()
594 void efx_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue) in efx_init_tx_queue_core_txq()
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()
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_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()
Defx_channels.c533 struct efx_tx_queue *tx_queue; in efx_alloc_channel() local
603 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
641 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
741 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
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() local
1091 struct efx_tx_queue *tx_queue; in efx_start_channels() local
1117 struct efx_tx_queue *tx_queue; in efx_stop_channels() local
1179 struct efx_tx_queue *tx_queue; in efx_process_channel() local
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() local
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() local
Def10.c779 struct efx_tx_queue *tx_queue; in efx_ef10_link_piobufs() local
889 struct efx_tx_queue *tx_queue; in efx_ef10_forget_old_piobufs() local
2207 static int efx_ef10_tx_probe(struct efx_tx_queue *tx_queue) in efx_ef10_tx_probe()
2219 static inline void efx_ef10_push_tx_desc(struct efx_tx_queue *tx_queue, in efx_ef10_push_tx_desc()
2234 int efx_ef10_tx_tso_desc(struct efx_tx_queue *tx_queue, struct sk_buff *skb, in efx_ef10_tx_tso_desc()
2341 static void efx_ef10_tx_init(struct efx_tx_queue *tx_queue) in efx_ef10_tx_init()
2419 static inline void efx_ef10_notify_tx_desc(struct efx_tx_queue *tx_queue) in efx_ef10_notify_tx_desc()
2432 static unsigned int efx_ef10_tx_limit_len(struct efx_tx_queue *tx_queue, in efx_ef10_tx_limit_len()
2449 static void efx_ef10_tx_write(struct efx_tx_queue *tx_queue) in efx_ef10_tx_write()
2964 struct efx_tx_queue *tx_queue; in efx_ef10_handle_tx_event() local
Defx.h26 static inline netdev_tx_t efx_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) in efx_enqueue_skb()
/linux-6.6.21/drivers/net/ethernet/marvell/
Dmv643xx_eth.c340 struct tx_queue { struct
341 int index;
343 int tx_ring_size;
345 int tx_desc_count;
346 int tx_curr_desc;
347 int tx_used_desc;
349 int tx_stop_threshold;
350 int tx_wake_threshold;
352 char *tso_hdrs;
353 dma_addr_t tso_hdrs_dma;
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Ddma.c132 u32 tx_queue; in ath5k_hw_start_tx_dma() local
191 u32 tx_queue, pending; in ath5k_hw_stop_tx_dma() local
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar.c1062 static void free_skb_tx_queue(struct gfar_priv_tx_q *tx_queue) in free_skb_tx_queue()
1126 struct gfar_priv_tx_q *tx_queue = NULL; in free_skb_resources() local
1286 struct gfar_priv_tx_q *tx_queue = NULL; in gfar_init_bds() local
1340 struct gfar_priv_tx_q *tx_queue = NULL; in gfar_alloc_skb_resources() local
1772 struct gfar_priv_tx_q *tx_queue = NULL; in gfar_start_xmit() local
2148 static void gfar_clean_tx_ring(struct gfar_priv_tx_q *tx_queue) in gfar_clean_tx_ring()
2640 struct gfar_priv_tx_q *tx_queue = gfargrp->tx_queue; in gfar_poll_tx_sq() local

1234