Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/agere/
H A 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()
2628 WARN_ON(tx_ring->used > NUM_TCB); in send_packet()
2702 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()
2722 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()
2784 if (tx_ring->used <= NUM_TCB / 3) in et131x_handle_send_pkts()
3772 if (tx_ring->used >= NUM_TCB - 1 && !netif_queue_stopped(netdev)) in et131x_tx()
3779 if (tx_ring->used >= NUM_TCB) in et131x_tx()