/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 293 int tx_ring_size, rx_ring_size; local 299 rx_ring_size = (int)sizeof(struct pch_gbe_rx_ring); 311 rxdr = kzalloc(rx_ring_size, GFP_KERNEL);
|
/drivers/net/ethernet/broadcom/ |
H A D | bcm63xx_enet.h | 222 int rx_ring_size; member in struct:bcm_enet_priv
|
H A D | bnx2.h | 6907 int rx_ring_size; member in struct:bnx2
|
/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 370 static int rx_ring_size = RX_RING_SIZE; variable 532 for (i = 0, rbd = lp->rbds; i < rx_ring_size; i++, rbd++) { 549 for (i = 0, rbd = lp->rbds; i < rx_ring_size; i++, rbd++) { 569 rbd = lp->rbds + rx_ring_size - 1; 575 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { 586 rfd->v_prev = lp->rfds + rx_ring_size - 1; 587 rfd = lp->rfds + rx_ring_size - 1; 603 for (i = 0; i < rx_ring_size; i++) { 607 lp->rfds[rx_ring_size-1].cmd = CMD_EOL|CMD_FLEX;
|
H A D | lib82596.c | 360 static int rx_ring_size = RX_RING_SIZE; variable 470 for (i = 0, rbd = dma->rbds; i < rx_ring_size; i++, rbd++) { 488 rbd = dma->rbds + rx_ring_size - 1; 494 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { 505 rfd->v_prev = dma->rfds + rx_ring_size - 1; 506 rfd = dma->rfds + rx_ring_size - 1; 521 for (i = 0, rbd = lp->dma->rbds; i < rx_ring_size; i++, rbd++) { 540 for (i = 0; i < rx_ring_size; i++) { 544 dma->rfds[rx_ring_size-1].cmd = SWAP16(CMD_EOL|CMD_FLEX);
|
/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 2528 u32 rx_ring_size, u32 rx_ring2_size) 2550 adapter->rx_queue[0].rx_ring[0].size = rx_ring_size; 2594 adapter->rx_ring_size, 2973 adapter->rx_ring_size = VMXNET3_DEF_RX_RING_SIZE; 2527 vmxnet3_create_queues(struct vmxnet3_adapter *adapter, u32 tx_ring_size, u32 rx_ring_size, u32 rx_ring2_size) argument
|
H A D | vmxnet3_int.h | 354 u32 rx_ring_size; member in struct:vmxnet3_adapter 414 u32 tx_ring_size, u32 rx_ring_size, u32 rx_ring2_size);
|
/drivers/net/ethernet/altera/ |
H A D | altera_tse.h | 430 u32 rx_ring_size; member in struct:altera_tse_private
|
/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 276 unsigned int rx_ring_size; /* current rx ring size */ member in struct:pcnet32_private 564 overlap = min(entries, lp->rx_ring_size); 598 for (; new < lp->rx_ring_size; new++) { 614 lp->rx_ring_size, lp->rx_ring, 617 lp->rx_ring_size = entries; 618 lp->rx_mod_mask = lp->rx_ring_size - 1; 627 while (--new >= lp->rx_ring_size) { 654 for (i = 0; i < lp->rx_ring_size; i++) { 778 ering->rx_pending = lp->rx_ring_size; 816 if ((1 << i) != lp->rx_ring_size) [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec.h | 444 uint rx_ring_size; member in struct:fec_enet_priv_rx_q
|
H A D | gianfar.h | 995 * @rx_ring_size: Rx ring size 1010 unsigned int rx_ring_size; member in struct:gfar_priv_rx_q
|
/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 231 int rx_ring_size; member in struct:pxa168_eth_private 335 while (pep->rx_desc_count < pep->rx_ring_size) { 361 pep->rx_used_desc_q = (used_rx_desc + 1) % pep->rx_ring_size; 819 rx_next_curr_desc = (rx_curr_desc + 1) % pep->rx_ring_size; 1025 int rx_desc_num = pep->rx_ring_size; 1028 pep->rx_skb = kzalloc(sizeof(*pep->rx_skb) * pep->rx_ring_size, 1035 size = pep->rx_ring_size * sizeof(struct rx_desc); 1065 for (curr = 0; pep->rx_desc_count && curr < pep->rx_ring_size; curr++) { 1542 pep->rx_ring_size = NUM_RX_DESCS; 1548 pep->rx_ring_size [all...] |
H A D | mv643xx_eth.c | 337 int rx_ring_size; member in struct:rx_queue 404 int rx_ring_size; member in struct:mv643xx_eth_private 540 if (rxq->rx_curr_desc == rxq->rx_ring_size) 614 while (refilled < budget && rxq->rx_desc_count < rxq->rx_ring_size) { 634 if (rxq->rx_used_desc == rxq->rx_ring_size) 1612 er->rx_pending = mp->rx_ring_size; 1624 mp->rx_ring_size = er->rx_pending < 4096 ? er->rx_pending : 4096; 1907 rxq->rx_ring_size = mp->rx_ring_size; 1913 size = rxq->rx_ring_size * sizeo [all...] |
H A D | mvneta.c | 297 u16 rx_ring_size; member in struct:mvneta_port 2168 rxq->size = pp->rx_ring_size; 2754 ring->rx_pending = pp->rx_ring_size; 2765 pp->rx_ring_size = ring->rx_pending < MVNETA_MAX_RXD ? 2841 rxq->size = pp->rx_ring_size; 3032 pp->rx_ring_size = MVNETA_MAX_RXD;
|
H A D | mvpp2.c | 686 u16 rx_ring_size; member in struct:mvpp2_port 4502 rxq->size = port->rx_ring_size; 5821 ring->rx_pending = port->rx_ring_size; 5829 u16 prev_rx_ring_size = port->rx_ring_size; 5838 port->rx_ring_size = ring->rx_pending; 5850 port->rx_ring_size = ring->rx_pending; 5856 port->rx_ring_size = prev_rx_ring_size; 5997 rxq->size = port->rx_ring_size; 6127 port->rx_ring_size = MVPP2_MAX_RXD;
|
/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 1481 const unsigned int rx_ring_size = opt->numrx * sizeof(struct rx_desc); local 1494 rx_ring_size, &pool_dma, GFP_ATOMIC); 1504 pool += rx_ring_size; 1505 pool_dma += rx_ring_size;
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 883 size_t tx_done_q_size, rx_done_q_size, tx_ring_size, rx_ring_size; local 903 rx_ring_size = sizeof(struct starfire_rx_desc) * RX_RING_SIZE; 904 np->queue_mem_size = tx_done_q_size + rx_done_q_size + tx_ring_size + rx_ring_size;
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 4356 int rx_ring_size) 4368 for (i = 0; i < rx_ring_size; i++) { 4417 int rx_ring_size = 0; local 4419 if (!bp->rx_ring_size && IS_MF_STORAGE_ONLY(bp)) { 4420 rx_ring_size = MIN_RX_SIZE_NONTPA; 4421 bp->rx_ring_size = rx_ring_size; 4422 } else if (!bp->rx_ring_size) { 4423 rx_ring_size = MAX_RX_AVAIL/BNX2X_NUM_RX_QUEUES(bp); 4433 rx_ring_size / 4355 bnx2x_alloc_rx_bds(struct bnx2x_fastpath *fp, int rx_ring_size) argument [all...] |
H A D | bnx2x.h | 1674 int rx_ring_size; member in struct:bnx2x
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4_en.h | 368 u32 rx_ring_size; member in struct:mlx4_en_port_profile
|
/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 2128 int tx_ring_size, rx_ring_size; local 2142 rx_ring_size = cmd.data0; 2145 rx_ring_entries = rx_ring_size / sizeof(struct mcp_dma_addr);
|
/drivers/net/wireless/ |
H A D | adm8211.h | 546 unsigned int rx_ring_size, tx_ring_size; member in struct:adm8211_priv
|
/drivers/net/ethernet/ |
H A D | jme.h | 441 u32 rx_ring_size; member in struct:jme_adapter
|
/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 808 int rx_ring_size; member in struct:fe_priv 1008 writel(dma_low(np->ring_addr + np->rx_ring_size*sizeof(struct ring_desc)), base + NvRegTxRingPhysAddr); 1015 writel(dma_low(np->ring_addr + np->rx_ring_size*sizeof(struct ring_desc_ex)), base + NvRegTxRingPhysAddr); 1016 writel(dma_high(np->ring_addr + np->rx_ring_size*sizeof(struct ring_desc_ex)), base + NvRegTxRingPhysAddrHigh); 1027 pci_free_consistent(np->pci_dev, sizeof(struct ring_desc) * (np->rx_ring_size + np->tx_ring_size), 1031 pci_free_consistent(np->pci_dev, sizeof(struct ring_desc_ex) * (np->rx_ring_size + np->tx_ring_size), 1906 np->last_rx.orig = &np->rx_ring.orig[np->rx_ring_size-1]; 1908 np->last_rx.ex = &np->rx_ring.ex[np->rx_ring_size-1]; 1910 np->last_rx_ctx = &np->rx_skb[np->rx_ring_size-1]; 1912 for (i = 0; i < np->rx_ring_size; [all...] |
/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge.h | 2099 int rx_ring_size; member in struct:ql_adapter
|