/drivers/thunderbolt/ |
D | nhi.c | 267 if (transmit && nhi->tx_rings[hop]) { in ring_alloc() 297 nhi->tx_rings[hop] = ring; in ring_alloc() 420 ring->nhi->tx_rings[ring->hop] = NULL; in ring_free() 487 ring = nhi->tx_rings[hop]; in nhi_interrupt_work() 532 if (nhi->tx_rings[i]) in nhi_shutdown() 586 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe() 587 sizeof(*nhi->tx_rings), GFP_KERNEL); in nhi_probe() 590 if (!nhi->tx_rings || !nhi->rx_rings) in nhi_probe()
|
D | nhi.h | 24 struct tb_ring **tx_rings; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1153 ring->tx_pending = vsi->tx_rings[0]->count; in i40e_get_ringparam() 1161 struct i40e_ring *tx_rings = NULL, *rx_rings = NULL; in i40e_set_ringparam() local 1186 if ((new_tx_count == vsi->tx_rings[0]->count) && in i40e_set_ringparam() 1196 vsi->tx_rings[i]->count = new_tx_count; in i40e_set_ringparam() 1208 if (new_tx_count != vsi->tx_rings[0]->count) { in i40e_set_ringparam() 1211 vsi->tx_rings[0]->count, new_tx_count); in i40e_set_ringparam() 1212 tx_rings = kcalloc(vsi->alloc_queue_pairs, in i40e_set_ringparam() 1214 if (!tx_rings) { in i40e_set_ringparam() 1221 tx_rings[i] = *vsi->tx_rings[i]; in i40e_set_ringparam() 1222 tx_rings[i].count = new_tx_count; in i40e_set_ringparam() [all …]
|
D | i40e_main.c | 331 if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) { in i40e_tx_timeout() 333 vsi->tx_rings[i]->queue_index) { in i40e_tx_timeout() 334 tx_ring = vsi->tx_rings[i]; in i40e_tx_timeout() 442 if (!vsi->tx_rings) in i40e_get_netdev_stats_struct() 450 tx_ring = ACCESS_ONCE(vsi->tx_rings[i]); in i40e_get_netdev_stats_struct() 510 memset(&vsi->tx_rings[i]->stats, 0, in i40e_vsi_reset_stats() 511 sizeof(vsi->tx_rings[i]->stats)); in i40e_vsi_reset_stats() 512 memset(&vsi->tx_rings[i]->tx_stats, 0, in i40e_vsi_reset_stats() 513 sizeof(vsi->tx_rings[i]->tx_stats)); in i40e_vsi_reset_stats() 908 p = ACCESS_ONCE(vsi->tx_rings[q]); in i40e_update_vsi_stats() [all …]
|
D | i40e_debugfs.c | 246 memcpy(p, vsi->tx_rings, len); in i40e_dbg_dump_write() 252 if (vsi->tx_rings[0]) { in i40e_dbg_dump_write() 255 memcpy(p, vsi->tx_rings[i]->tx_bi, len); in i40e_dbg_dump_write() 538 struct i40e_ring *tx_ring = ACCESS_ONCE(vsi->tx_rings[i]); in i40e_dbg_dump_vsi_seid() 798 if (!vsi->tx_rings || !vsi->tx_rings[0]->desc) { in i40e_dbg_dump_desc() 806 ? vsi->rx_rings[ring_id] : vsi->tx_rings[ring_id], in i40e_dbg_dump_desc()
|
D | i40e.h | 495 struct i40e_ring **tx_rings; member
|
D | i40e_txrx.c | 74 tx_ring = vsi->tx_rings[0]; in i40e_program_fdir_filter() 2903 struct i40e_ring *tx_ring = vsi->tx_rings[skb->queue_mapping]; in i40e_lan_xmit_frame()
|
D | i40e_fcoe.c | 1359 struct i40e_ring *tx_ring = vsi->tx_rings[skb->queue_mapping]; in i40e_fcoe_xmit_frame()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 373 struct i40e_ring *tx_ring = adapter->tx_rings[t_idx]; in i40evf_map_vector_to_txq() 614 adapter->tx_rings[i]->tail = hw->hw_addr + I40E_QTX_TAIL1(i); in i40evf_configure_tx() 1120 if (adapter->tx_rings[i]) in i40evf_free_queues() 1121 kfree_rcu(adapter->tx_rings[i], rcu); in i40evf_free_queues() 1122 adapter->tx_rings[i] = NULL; in i40evf_free_queues() 1153 adapter->tx_rings[i] = tx_ring; in i40evf_alloc_queues() 1867 if (!adapter->tx_rings) in i40evf_free_all_tx_resources() 1871 if (adapter->tx_rings[i]->desc) in i40evf_free_all_tx_resources() 1872 i40evf_free_tx_resources(adapter->tx_rings[i]); in i40evf_free_all_tx_resources() 1890 adapter->tx_rings[i]->count = adapter->tx_desc_count; in i40evf_setup_all_tx_resources() [all …]
|
D | i40evf_ethtool.c | 124 data[i++] = adapter->tx_rings[j]->stats.packets; in i40evf_get_ethtool_stats() 125 data[i++] = adapter->tx_rings[j]->stats.bytes; in i40evf_get_ethtool_stats()
|
D | i40evf.h | 199 struct i40e_ring *tx_rings[I40E_MAX_VSI_QP]; member
|
D | i40evf_virtchnl.c | 258 vqpi->txq.ring_len = adapter->tx_rings[i]->count; in i40evf_configure_queues() 259 vqpi->txq.dma_ring_addr = adapter->tx_rings[i]->dma; in i40evf_configure_queues()
|
D | i40e_txrx.c | 2068 struct i40e_ring *tx_ring = adapter->tx_rings[skb->queue_mapping]; in i40evf_xmit_frame()
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 1324 bcmgenet_tx_reclaim(dev, &priv->tx_rings[i]); in bcmgenet_tx_reclaim_all() 1327 bcmgenet_tx_reclaim(dev, &priv->tx_rings[DESC_INDEX]); in bcmgenet_tx_reclaim_all() 1504 ring = &priv->tx_rings[index]; in bcmgenet_xmit() 1989 struct bcmgenet_tx_ring *ring = &priv->tx_rings[index]; in bcmgenet_init_tx_ring() 2099 ring = &priv->tx_rings[i]; in bcmgenet_init_tx_napi() 2103 ring = &priv->tx_rings[DESC_INDEX]; in bcmgenet_init_tx_napi() 2113 ring = &priv->tx_rings[i]; in bcmgenet_enable_tx_napi() 2117 ring = &priv->tx_rings[DESC_INDEX]; in bcmgenet_enable_tx_napi() 2127 ring = &priv->tx_rings[i]; in bcmgenet_disable_tx_napi() 2131 ring = &priv->tx_rings[DESC_INDEX]; in bcmgenet_disable_tx_napi() [all …]
|
D | bcmgenet.h | 587 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1]; member
|
/drivers/net/ethernet/sun/ |
D | niu.c | 3608 index = (rp - np->tx_rings); in niu_tx_work() 3755 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_poll_core() 4107 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_slowpath_interrupt() 4185 struct tx_ring_info *rp = &np->tx_rings[i]; in __niu_fastpath_interrupt() 4325 if (np->tx_rings) { in niu_free_channels() 4327 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_free_channels() 4331 kfree(np->tx_rings); in niu_free_channels() 4332 np->tx_rings = NULL; in niu_free_channels() 4473 struct tx_ring_info *tx_rings; in niu_alloc_channels() local 4526 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels() [all …]
|
D | niu.h | 3269 struct tx_ring_info *tx_rings; member
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 824 bcm_sysport_tx_reclaim(priv, &priv->tx_rings[q]); in bcm_sysport_tx_reclaim_all() 924 txr = &priv->tx_rings[ring]; in bcm_sysport_tx_isr() 1035 ring = &priv->tx_rings[queue]; in bcm_sysport_xmit() 1199 struct bcm_sysport_tx_ring *ring = &priv->tx_rings[index]; in bcm_sysport_init_tx_ring() 1268 struct bcm_sysport_tx_ring *ring = &priv->tx_rings[index]; in bcm_sysport_fini_tx_ring()
|
D | bcmsysport.h | 664 struct bcm_sysport_tx_ring tx_rings[TDMA_NUM_RINGS]; member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 4084 u8 tx_rings, rx_rings; in qlcnic_setup_rings() local 4090 tx_rings = adapter->drv_tss_rings; in qlcnic_setup_rings() 4095 err = qlcnic_set_real_num_queues(adapter, tx_rings, rx_rings); in qlcnic_setup_rings() 4121 if ((tx_rings != adapter->drv_tx_rings) || in qlcnic_setup_rings()
|