Home
last modified time | relevance | path

Searched refs:txds (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c529 ring->tx_pending = aq_nic_cfg->txds; in aq_get_ringparam()
560 aq_nic_cfg->txds = max(ring->tx_pending, hw_caps->txds_min); in aq_set_ringparam()
561 aq_nic_cfg->txds = min(aq_nic_cfg->txds, hw_caps->txds_max); in aq_set_ringparam()
562 aq_nic_cfg->txds = ALIGN(aq_nic_cfg->txds, AQ_HW_TXD_MULTIPLE); in aq_set_ringparam()
Daq_nic.h25 u32 txds; /* tx ring size, descriptors # */ member
Daq_ring.c132 self->size = aq_nic_cfg->txds; in aq_ring_tx_alloc()
Daq_nic.c88 cfg->txds = min(cfg->aq_hw_caps->txds_max, AQ_CFG_TXDS_DEF); in aq_nic_cfg_start()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c102 tx_ring->cnt, &tx_ring->dma, tx_ring->txds, in nfp_tx_q_show()
106 txd = &tx_ring->txds[i]; in nfp_tx_q_show()
Dnfp_net_common.c1037 txd = &tx_ring->txds[wr_idx]; in nfp_net_tx()
1076 txd = &tx_ring->txds[wr_idx]; in nfp_net_tx()
1310 memset(tx_ring->txds, 0, tx_ring->size); in nfp_net_tx_ring_reset()
1776 txd = &tx_ring->txds[wr_idx]; in nfp_net_tx_xdp_buf()
2124 txd = &tx_ring->txds[wr_idx]; in nfp_ctrl_tx_one()
2354 if (tx_ring->txds) in nfp_net_tx_ring_free()
2356 tx_ring->txds, tx_ring->dma); in nfp_net_tx_ring_free()
2360 tx_ring->txds = NULL; in nfp_net_tx_ring_free()
2379 tx_ring->size = array_size(tx_ring->cnt, sizeof(*tx_ring->txds)); in nfp_net_tx_ring_alloc()
2380 tx_ring->txds = dma_alloc_coherent(dp->dev, tx_ring->size, in nfp_net_tx_ring_alloc()
[all …]
Dnfp_net.h224 struct nfp_net_tx_desc *txds; member
/Linux-v5.4/drivers/net/ethernet/neterion/
Ds2io.c2314 struct TxD *txds; in s2io_txdl_getskb() local
2317 txds = txdlp; in s2io_txdl_getskb()
2318 if (txds->Host_Control == (u64)(long)fifo_data->ufo_in_band_v) { in s2io_txdl_getskb()
2319 pci_unmap_single(nic->pdev, (dma_addr_t)txds->Buffer_Pointer, in s2io_txdl_getskb()
2321 txds++; in s2io_txdl_getskb()
2324 skb = (struct sk_buff *)((unsigned long)txds->Host_Control); in s2io_txdl_getskb()
2329 pci_unmap_single(nic->pdev, (dma_addr_t)txds->Buffer_Pointer, in s2io_txdl_getskb()
2333 txds++; in s2io_txdl_getskb()
2334 for (j = 0; j < frg_cnt; j++, txds++) { in s2io_txdl_getskb()
2336 if (!txds->Buffer_Pointer) in s2io_txdl_getskb()
[all …]
/Linux-v5.4/drivers/net/ethernet/sun/
Dcassini.h2723 struct cas_tx_desc txds[N_TX_RINGS][INIT_BLOCK_TX]; member
Dcassini.c1845 struct cas_tx_desc *txds; in cas_tx_ringN() local
1851 txds = cp->init_txds[ring]; in cas_tx_ringN()
1881 struct cas_tx_desc *txd = txds + entry; in cas_tx_ringN()
5079 cp->init_txds[i] = cp->init_block->txds[i]; in cas_init_one()