Home
last modified time | relevance | path

Searched refs:NUM_TCB (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/agere/
Det131x.c391 #define NUM_TCB 64 macro
1757 memset(tcb, 0, sizeof(struct tcb) * NUM_TCB); in et131x_init_send()
1759 for (i = 0; i < NUM_TCB; i++) { in et131x_init_send()
2360 tx_ring->tcb_ring = kcalloc(NUM_TCB, sizeof(struct tcb), in et131x_tx_dma_memory_alloc()
2629 WARN_ON(tx_ring->used > NUM_TCB); in send_packet()
2703 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()
2723 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()
2785 if (tx_ring->used <= NUM_TCB / 3) in et131x_handle_send_pkts()
3766 if (tx_ring->used >= NUM_TCB - 1 && !netif_queue_stopped(netdev)) in et131x_tx()
3773 if (tx_ring->used >= NUM_TCB) in et131x_tx()