Searched refs:NUM_TCB (Results 1 – 1 of 1) sorted by relevance
391 #define NUM_TCB 64 macro1761 memset(tcb, 0, sizeof(struct tcb) * NUM_TCB); in et131x_init_send()1763 for (i = 0; i < NUM_TCB; i++) { in et131x_init_send()2364 tx_ring->tcb_ring = kcalloc(NUM_TCB, sizeof(struct tcb), in et131x_tx_dma_memory_alloc()2633 WARN_ON(tx_ring->used > NUM_TCB); in send_packet()2707 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()2727 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()2789 if (tx_ring->used <= NUM_TCB / 3) in et131x_handle_send_pkts()3791 if (tx_ring->used >= NUM_TCB - 1 && !netif_queue_stopped(netdev)) in et131x_tx()3798 if (tx_ring->used >= NUM_TCB) in et131x_tx()