/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 180 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_tx_free() local 190 num_tx_desc); in ravb_tx_free() 199 if (priv->tx_skb[q][entry / num_tx_desc]) { in ravb_tx_free() 203 if (entry % num_tx_desc == num_tx_desc - 1) { in ravb_tx_free() 204 entry /= num_tx_desc; in ravb_tx_free() 250 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_free() local 260 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free() 320 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_format() local 324 num_tx_desc; in ravb_ring_format() 339 if (num_tx_desc > 1) { in ravb_ring_format() [all …]
|
D | ravb.h | 1057 unsigned int num_tx_desc; /* TX descriptors per packet */ member
|
/drivers/atm/ |
D | iphase.c | 191 while (i < dev->num_tx_desc) { in get_desc() 766 iadev->num_tx_desc = IA_TX_BUF; 772 iadev->num_tx_desc = IA_TX_BUF / 2; 774 iadev->num_tx_desc = IA_TX_BUF; 784 iadev->num_tx_desc = IA_TX_BUF / 8; 786 iadev->num_tx_desc = IA_TX_BUF; 794 iadev->rx_pkt_ram = TX_PACKET_RAM + (iadev->num_tx_desc * iadev->tx_buf_sz); 796 iadev->num_tx_desc, iadev->tx_buf_sz, iadev->num_rx_desc, 1049 for(i=0; i <iadev->num_tx_desc; i++) 1613 for(i=0; i<iadev->num_tx_desc;i++) [all …]
|
D | iphase.h | 1008 u16 num_tx_desc, tx_buf_sz, rate_limit; member
|
/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 105 int num_tx_desc; /* TX descriptors number */ member 527 ctlr->num_tx_desc = ctlr->pool->num_desc / 2; in cpdma_ctlr_create() 528 ctlr->num_rx_desc = ctlr->pool->num_desc - ctlr->num_tx_desc; in cpdma_ctlr_create() 756 tx_desc_num = ctlr->num_tx_desc; in cpdma_chan_split_pool() 1422 return ctlr->num_tx_desc; in cpdma_get_num_tx_descs() 1434 ctlr->num_tx_desc = ctlr->pool->num_desc - ctlr->num_rx_desc; in cpdma_set_num_rx_descs() 1438 ctlr->num_tx_desc = ctlr->pool->num_desc - ctlr->num_rx_desc; in cpdma_set_num_rx_descs()
|
/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 53 id = find_first_zero_bit(wl->tx_frames_map, wl->num_tx_desc); in wl1271_alloc_tx_id() 54 if (id >= wl->num_tx_desc) in wl1271_alloc_tx_id() 66 if (unlikely(wl->tx_frames_cnt == wl->num_tx_desc)) in wl1271_free_tx_id() 911 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl1271_tx_complete_packet() 1099 for (i = 0; i < wl->num_tx_desc; i++) { in wl12xx_tx_reset()
|
D | wlcore.h | 434 u32 num_tx_desc; member
|
D | acx.c | 977 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc); in wl12xx_acx_mem_cfg()
|
/drivers/net/wireless/ti/wl18xx/ |
D | tx.c | 71 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl18xx_tx_complete_packet()
|
D | main.c | 1880 wl->num_tx_desc = WL18XX_NUM_TX_DESCRIPTORS; in wl18xx_setup()
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.h | 303 u16 num_tx_desc; /* desc num of per tx queue */ member
|
D | hclgevf_main.c | 350 memcpy(&hdev->num_tx_desc, &resp_msg[HCLGEVF_TQPS_NUM_TX_DESC_OFFSET], in hclgevf_get_queue_depth() 416 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps() 448 kinfo->num_tx_desc = hdev->num_tx_desc; in hclgevf_knic_setup() 2919 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclgevf_info_show()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 651 u32 num_tx_desc; /* Number of Transmit descriptors */ member
|
/drivers/net/ethernet/intel/ice/ |
D | ice.h | 336 u16 num_tx_desc; member
|
D | ice_lib.c | 148 if (!vsi->num_tx_desc) in ice_vsi_set_num_desc() 149 vsi->num_tx_desc = ICE_DFLT_NUM_TX_DESC; in ice_vsi_set_num_desc() 1307 ring->count = vsi->num_tx_desc; in ice_vsi_alloc_rings()
|
D | ice_ethtool.c | 2766 vsi->num_tx_desc = (u16)new_tx_cnt; in ice_set_ringparam() 2915 vsi->num_tx_desc = new_tx_cnt; in ice_set_ringparam()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 768 u16 num_tx_desc; member
|
D | hns3_debugfs.c | 913 kinfo->num_tx_desc); in hns3_dbg_dev_specs()
|
D | hns3_ethtool.c | 1037 h->kinfo.num_tx_desc = tx_desc_num; in hns3_change_all_ring_bd_num()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 863 u16 num_tx_desc; /* desc num of per tx queue */ member
|
D | hclge_mbx.c | 463 &hdev->num_tx_desc, sizeof(u16)); in hclge_get_vf_queue_depth()
|
D | hclge_main.c | 1525 hdev->num_tx_desc = HCLGE_MIN_TX_DESC; in hclge_init_kdump_kernel_config() 1548 hdev->num_tx_desc = cfg.tqp_desc_num; in hclge_configure() 1665 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps() 1723 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp() 1742 u16 num_tx_desc, u16 num_rx_desc) in hclge_knic_setup() argument 1750 kinfo->num_tx_desc = num_tx_desc; in hclge_knic_setup() 1823 hdev->num_tx_desc, hdev->num_rx_desc); in hclge_vport_setup() 11223 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclge_info_show()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 896 u16 num_tx_desc; member
|
D | i40e_main.c | 11326 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi() 11327 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi() 11341 vsi->num_tx_desc = ALIGN(I40E_FDIR_RING_COUNT, in i40e_set_num_rings_in_vsi() 11350 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi() 11351 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi() 11361 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi() 11362 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi() 11375 vsi->num_tx_desc = I40E_MIN_NUM_DESCRIPTORS; in i40e_set_num_rings_in_vsi() 11647 ring->count = vsi->num_tx_desc; in i40e_alloc_rings() 11664 ring->count = vsi->num_tx_desc; in i40e_alloc_rings()
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1807 wl->num_tx_desc = WL12XX_NUM_TX_DESCRIPTORS; in wl12xx_setup()
|