Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/sun/
Dniu.c3751 for (i = 0; i < np->num_tx_rings; i++) { in niu_poll_core()
4105 for (i = 0; i < np->num_tx_rings; i++) { in niu_slowpath_interrupt()
4183 for (i = 0; i < np->num_tx_rings; i++) { in __niu_fastpath_interrupt()
4325 for (i = 0; i < np->num_tx_rings; i++) { in niu_free_channels()
4332 np->num_tx_rings = 0; in niu_free_channels()
4470 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local
4483 num_tx_rings = parent->txchan_per_port[port]; in niu_alloc_channels()
4525 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels()
4531 np->num_tx_rings = num_tx_rings; in niu_alloc_channels()
4535 netif_set_real_num_tx_queues(np->dev, num_tx_rings); in niu_alloc_channels()
[all …]
Dniu.h3271 int num_tx_rings; member
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbnx2.c698 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_mem()
750 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_alloc_tx_mem()
5259 for (i = 0; i < bp->num_tx_rings; i++) in bnx2_init_all_rings()
5262 if (bp->num_tx_rings > 1) in bnx2_init_all_rings()
5263 REG_WR(bp, BNX2_TSCH_TSS_CFG, ((bp->num_tx_rings - 1) << 24) | in bnx2_init_all_rings()
5361 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_skbs()
6283 bp->num_tx_rings = rounddown_pow_of_two(bp->irq_nvecs); in bnx2_setup_int_mode()
6285 bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); in bnx2_setup_int_mode()
6292 netif_set_real_num_tx_queues(bp->dev, bp->num_tx_rings); in bnx2_setup_int_mode()
7658 channels->tx_count = bp->num_tx_rings; in bnx2_get_channels()
Dbnx2.h6933 u8 num_tx_rings; member