Home
last modified time | relevance | path

Searched refs:tx_pending (Results 1 – 25 of 45) sorted by relevance

12

/drivers/s390/net/
Dnetiucv.c188 unsigned long tx_pending; member
719 conn->prof.tx_pending--; in conn_action_txdone()
767 conn->prof.tx_pending++; in conn_action_txdone()
768 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
769 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
771 conn->prof.tx_pending--; in conn_action_txdone()
1200 conn->prof.tx_pending++; in netiucv_transmit_skb()
1201 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in netiucv_transmit_skb()
1202 conn->prof.tx_max_pending = conn->prof.tx_pending; in netiucv_transmit_skb()
1206 conn->prof.tx_pending--; in netiucv_transmit_skb()
[all …]
/drivers/net/
Ducc_geth_ethtool.c234 ring->tx_pending = ug_info->bdRingLenTx[queue]; in uec_get_ringparam()
255 if (ring->tx_pending < UCC_GETH_TX_BD_RING_SIZE_MIN) { in uec_set_ringparam()
262 ug_info->bdRingLenTx[queue] = ring->tx_pending; in uec_set_ringparam()
Dgianfar_ethtool.c426 rvals->tx_pending = priv->tx_ring_size; in gfar_gringparam()
447 if (rvals->tx_pending > GFAR_TX_MAX_RING_SIZE) in gfar_sringparam()
450 if (!is_power_of_2(rvals->tx_pending)) { in gfar_sringparam()
477 priv->tx_ring_size = rvals->tx_pending; in gfar_sringparam()
Dpasemi_mac_ethtool.c115 ering->tx_pending = RING_USED(mac->tx)/2; in pasemi_mac_ethtool_get_ringparam()
Dspider_net_ethtool.c143 ering->tx_pending = card->tx_chain.num_desc; in spider_net_ethtool_get_ringparam()
Dmacb.h385 unsigned int rx_pending, tx_pending; member
Db44.c69 (B44_TX_RING_SIZE - (BP)->tx_pending)
72 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \
1912 (ering->tx_pending > B44_TX_RING_SIZE - 1)) in b44_set_ringparam()
1918 bp->tx_pending = ering->tx_pending; in b44_set_ringparam()
2167 bp->tx_pending = B44_DEF_TX_RING_PENDING; in b44_init_one()
Db44.h396 u32 tx_pending; member
Dmacb.c41 (TX_RING_SIZE - (bp)->tx_pending)
44 (bp)->tx_tail + (bp)->tx_pending - (bp)->tx_head : \
1218 bp->tx_pending = DEF_TX_RING_PENDING; in macb_probe()
Dsky2.c1518 return sky2->tx_pending - tx_dist(sky2->tx_cons, sky2->tx_prod); in tx_avail()
3596 ering->tx_pending = sky2->tx_pending; in sky2_get_ringparam()
3607 ering->tx_pending < MAX_SKB_TX_LE || in sky2_set_ringparam()
3608 ering->tx_pending > TX_RING_SIZE - 1) in sky2_set_ringparam()
3615 sky2->tx_pending = ering->tx_pending; in sky2_set_ringparam()
4115 sky2->tx_pending = TX_DEF_PENDING; in sky2_init_netdev()
Dforcedeth.c4508 ring->tx_pending = np->tx_ring_size; in nv_get_ringparam()
4519 ring->tx_pending < TX_RING_MIN || in nv_set_ringparam()
4524 ring->tx_pending > RING_MAX_DESC_VER_1)) || in nv_set_ringparam()
4527 ring->tx_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()
4542 tx_skbuff = kmalloc(sizeof(struct nv_skb_map) * ring->tx_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 …i_free_consistent(np->pci_dev, sizeof(struct ring_desc_ex) * (ring->rx_pending + ring->tx_pending), in nv_set_ringparam()
4577 np->tx_ring_size = ring->tx_pending; in nv_set_ringparam()
/drivers/net/arm/
Dep93xx_eth.c170 unsigned int tx_pending; member
341 ep->tx_pending++; in ep93xx_xmit()
342 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_xmit()
396 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_tx_complete()
398 ep->tx_pending--; in ep93xx_tx_complete()
653 ep->tx_pending = 0; in ep93xx_open()
/drivers/atm/
Dsolos-pci.c457 uint32_t tx_pending; in fpga_tx() local
466 tx_pending = ioread32(card->config_regs + FLAGS_ADDR); in fpga_tx()
468 dev_vdbg(&card->dev->dev, "TX Flags are %X\n", tx_pending); in fpga_tx()
471 if (!(tx_pending & (1 << port))) { in fpga_tx()
/drivers/net/chelsio/
Dcxgb2.c750 e->tx_pending = adapter->params.sge.cmdQ_size[0]; in get_sge_param()
760 e->tx_pending > MAX_CMDQ_ENTRIES || in set_sge_param()
763 e->tx_pending < (adapter->params.nports + 1) * (MAX_SKB_FRAGS + 1)) in set_sge_param()
771 adapter->params.sge.cmdQ_size[0] = e->tx_pending; in set_sge_param()
772 adapter->params.sge.cmdQ_size[1] = e->tx_pending > MAX_CMDQ1_ENTRIES ? in set_sge_param()
773 MAX_CMDQ1_ENTRIES : e->tx_pending; in set_sge_param()
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac.c2808 ieee->tx_pending.txb = txb;
2809 ieee->tx_pending.frag = i;
2837 for(i = ieee->tx_pending.frag; i < ieee->tx_pending.txb->nr_frags; i++) {
2840 ieee->tx_pending.frag = i;
2845 ieee->tx_pending.txb->fragments[i],
2854 ieee80211_txb_free(ieee->tx_pending.txb);
2855 ieee->tx_pending.txb = NULL;
2865 if (ieee->tx_pending.txb){
2866 ieee80211_txb_free(ieee->tx_pending.txb);
2867 ieee->tx_pending.txb = NULL;
[all …]
/drivers/net/irda/
Dstir4200.c173 struct sk_buff *tx_pending; member
572 skb = xchg(&stir->tx_pending, skb); in stir_hard_xmit()
760 skb = xchg(&stir->tx_pending, NULL); in stir_transmit_thread()
Dmcs7780.h113 struct sk_buff *tx_pending; member
/drivers/net/mlx4/
Den_params.c403 tx_size = roundup_pow_of_two(param->tx_pending); in mlx4_en_set_ringparam()
448 param->tx_pending = mdev->profile.prof[priv->port].tx_ring_size; in mlx4_en_get_ringparam()
/drivers/net/ixgb/
Dixgb_ethtool.c540 ring->tx_pending = txdr->count; in ixgb_get_ringparam()
568 txdr->count = max(ring->tx_pending,(u32)MIN_TXD); in ixgb_set_ringparam()
/drivers/net/cxgb3/
Dcxgb3_main.c1694 e->tx_pending = q->txq_size[0]; in get_sge_param()
1706 e->tx_pending > MAX_TXQ_ENTRIES || in set_sge_param()
1711 e->tx_pending < adapter->params.nports * MIN_TXQ_ENTRIES) in set_sge_param()
1722 q->txq_size[0] = e->tx_pending; in set_sge_param()
1723 q->txq_size[1] = e->tx_pending; in set_sge_param()
1724 q->txq_size[2] = e->tx_pending; in set_sge_param()
/drivers/net/benet/
Dbe_ethtool.c312 ring->tx_pending = atomic_read(&adapter->tx_obj.q.used); in be_get_ringparam()
/drivers/net/ixp2000/
Dixp2400_tx.uc27 * - Scratch ring 2 is tx_pending.
/drivers/net/ixgbe/
Dixgbe_ethtool.c685 ring->tx_pending = tx_ring->count; in ixgbe_get_ringparam()
705 new_tx_count = max(ring->tx_pending, (u32)IXGBE_MIN_TXD); in ixgbe_set_ringparam()
/drivers/net/netxen/
Dnetxen_nic_ethtool.c562 ring->tx_pending = adapter->max_tx_desc_count; in netxen_nic_get_ringparam()
/drivers/net/e1000e/
Dethtool.c626 ring->tx_pending = tx_ring->count; in e1000_get_ringparam()
674 tx_ring->count = max(ring->tx_pending, (u32)E1000_MIN_TXD); in e1000_set_ringparam()

12