Home
last modified time | relevance | path

Searched refs:rx_pending (Results 1 – 25 of 36) sorted by relevance

12

/drivers/net/
Ducc_geth_ethtool.c231 ring->rx_pending = ug_info->bdRingLenRx[queue]; in uec_get_ringparam()
245 if (ring->rx_pending < UCC_GETH_RX_BD_RING_SIZE_MIN) { in uec_set_ringparam()
250 if (ring->rx_pending % UCC_GETH_RX_BD_RING_SIZE_ALIGNMENT) { in uec_set_ringparam()
261 ug_info->bdRingLenRx[queue] = ring->rx_pending; in uec_set_ringparam()
Dgianfar_ethtool.c423 rvals->rx_pending = priv->rx_ring_size; in gfar_gringparam()
438 if (rvals->rx_pending > GFAR_RX_MAX_RING_SIZE) in gfar_sringparam()
441 if (!is_power_of_2(rvals->rx_pending)) { in gfar_sringparam()
476 priv->rx_ring_size = rvals->rx_pending; in gfar_sringparam()
Dpasemi_mac_ethtool.c117 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam()
Db44.c1127 for (i = 0; i < bp->rx_pending; i++) { in b44_init_rings()
1416 bw32(bp, B44_DMARX_PTR, bp->rx_pending); in b44_init_hw()
1417 bp->rx_prod = bp->rx_pending; in b44_init_hw()
1899 ering->rx_pending = bp->rx_pending; in b44_get_ringparam()
1909 if ((ering->rx_pending > B44_RX_RING_SIZE - 1) || in b44_set_ringparam()
1917 bp->rx_pending = ering->rx_pending; in b44_set_ringparam()
2166 bp->rx_pending = B44_DEF_RX_RING_PENDING; in b44_init_one()
Dspider_net_ethtool.c145 ering->rx_pending = card->rx_chain.num_desc; in spider_net_ethtool_get_ringparam()
Dmacb.h385 unsigned int rx_pending, tx_pending; member
Db44.h395 u32 rx_pending; member
Dsky2.c1159 for (i = 0; i < sky2->rx_pending; i++) { in sky2_rx_clean()
1350 for (i = 0; i < sky2->rx_pending; i++) { in sky2_rx_start()
1429 sky2->rx_ring = kcalloc(sky2->rx_pending, sizeof(struct rx_ring_info), in sky2_up()
2225 sky2->rx_next = (sky2->rx_next + 1) % sky2->rx_pending; in sky2_receive()
3593 ering->rx_pending = sky2->rx_pending; in sky2_get_ringparam()
3605 if (ering->rx_pending > RX_MAX_PENDING || in sky2_set_ringparam()
3606 ering->rx_pending < 8 || in sky2_set_ringparam()
3614 sky2->rx_pending = ering->rx_pending; in sky2_set_ringparam()
4116 sky2->rx_pending = RX_DEF_PENDING; in sky2_init_netdev()
Dforcedeth.c4505 ring->rx_pending = np->rx_ring_size; in nv_get_ringparam()
4518 if (ring->rx_pending < RX_RING_MIN || in nv_set_ringparam()
4523 (ring->rx_pending > RING_MAX_DESC_VER_1 || in nv_set_ringparam()
4526 (ring->rx_pending > RING_MAX_DESC_VER_2_3 || in nv_set_ringparam()
4534 sizeof(struct ring_desc) * (ring->rx_pending + ring->tx_pending), in nv_set_ringparam()
4538 sizeof(struct ring_desc_ex) * (ring->rx_pending + ring->tx_pending), in nv_set_ringparam()
4541 rx_skbuff = kmalloc(sizeof(struct nv_skb_map) * ring->rx_pending, GFP_KERNEL); in nv_set_ringparam()
4547 … pci_free_consistent(np->pci_dev, sizeof(struct ring_desc) * (ring->rx_pending + ring->tx_pending), in nv_set_ringparam()
4551 …pci_free_consistent(np->pci_dev, sizeof(struct ring_desc_ex) * (ring->rx_pending + ring->tx_pendin… in nv_set_ringparam()
4576 np->rx_ring_size = ring->rx_pending; in nv_set_ringparam()
Dcpmac.c885 ring->rx_pending = priv->ring_size; in cpmac_get_ringparam()
897 priv->ring_size = ring->rx_pending; in cpmac_set_ringparam()
Dtg3.c5386 for (i = 0; i < tp->rx_pending; i++) { in tg3_init_rings()
5392 tp->dev->name, i, tp->rx_pending); in tg3_init_rings()
5395 tp->rx_pending = i; in tg3_init_rings()
6702 val = tp->rx_pending / 8; in tg3_reset_hw()
6814 tp->rx_std_ptr = tp->rx_pending; in tg3_reset_hw()
8744 ering->rx_pending = tp->rx_pending; in tg3_get_ringparam()
8759 if ((ering->rx_pending > TG3_RX_RING_SIZE - 1) || in tg3_set_ringparam()
8775 tp->rx_pending = ering->rx_pending; in tg3_set_ringparam()
8778 tp->rx_pending > 63) in tg3_set_ringparam()
8779 tp->rx_pending = 63; in tg3_set_ringparam()
[all …]
Dtehuti.c2321 ring->rx_pending = bdx_rx_fifo_size_to_packets(priv->rxf_size); in bdx_get_ringparam()
2338 if (bdx_rx_fifo_size_to_packets(rx_size) >= ring->rx_pending) in bdx_set_ringparam()
Dskge.c481 p->rx_pending = skge->rx_ring.count; in skge_get_ring_param()
493 if (p->rx_pending == 0 || p->rx_pending > MAX_RX_RING_SIZE || in skge_set_ring_param()
497 skge->rx_ring.count = p->rx_pending; in skge_set_ring_param()
Dsky2.h2028 u16 rx_pending; member
/drivers/net/mlx4/
Den_params.c400 rx_size = roundup_pow_of_two(param->rx_pending); in mlx4_en_set_ringparam()
447 param->rx_pending = mdev->profile.prof[priv->port].rx_ring_size; in mlx4_en_get_ringparam()
/drivers/net/ixp2000/
Dixp2400_rx.uc30 * - Scratch ring 0 is rx_pending.
32 * - The host triggers rx_done flush and rx_pending refill on seeing INTA.
/drivers/net/chelsio/
Dcxgb2.c747 e->rx_pending = adapter->params.sge.freelQ_size[!jumbo_fl]; in get_sge_param()
758 if (e->rx_pending > MAX_RX_BUFFERS || e->rx_mini_pending || in set_sge_param()
761 e->rx_pending < MIN_FL_ENTRIES || in set_sge_param()
769 adapter->params.sge.freelQ_size[!jumbo_fl] = e->rx_pending; in set_sge_param()
/drivers/net/netxen/
Dnetxen_nic_ethtool.c554 ring->rx_pending = 0; in netxen_nic_get_ringparam()
557 ring->rx_pending += adapter->recv_ctx[i]. in netxen_nic_get_ringparam()
/drivers/net/ixgb/
Dixgb_ethtool.c539 ring->rx_pending = rxdr->count; in ixgb_get_ringparam()
564 rxdr->count = max(ring->rx_pending,(u32)MIN_RXD); in ixgb_set_ringparam()
/drivers/net/benet/
Dbe_ethtool.c311 ring->rx_pending = atomic_read(&adapter->rx_obj.q.used); in be_get_ringparam()
/drivers/net/ixgbe/
Dixgbe_ethtool.c684 ring->rx_pending = rx_ring->count; in ixgbe_get_ringparam()
701 new_rx_count = max(ring->rx_pending, (u32)IXGBE_MIN_RXD); in ixgbe_set_ringparam()
/drivers/net/cxgb3/
Dcxgb3_main.c1691 e->rx_pending = q->fl_size; in get_sge_param()
1704 if (e->rx_pending > MAX_RX_BUFFERS || in set_sge_param()
1709 e->rx_pending < MIN_FL_ENTRIES || in set_sge_param()
1720 q->fl_size = e->rx_pending; in set_sge_param()
/drivers/net/e1000e/
Dethtool.c625 ring->rx_pending = rx_ring->count; in e1000_get_ringparam()
670 rx_ring->count = max(ring->rx_pending, (u32)E1000_MIN_RXD); in e1000_set_ringparam()
/drivers/net/e1000/
De1000_ethtool.c617 ring->rx_pending = rxdr->count; in e1000_get_ringparam()
657 rxdr->count = max(ring->rx_pending,(u32)E1000_MIN_RXD); in e1000_set_ringparam()
/drivers/net/igb/
Digb_ethtool.c720 ring->rx_pending = adapter->rx_ring_count; in igb_get_ringparam()
737 new_rx_count = max(ring->rx_pending, (u32)IGB_MIN_RXD); in igb_set_ringparam()

12