Home
last modified time | relevance | path

Searched refs:num_tx_desc (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/renesas/
Dravb_main.c208 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_tx_free() local
218 num_tx_desc); in ravb_tx_free()
227 if (priv->tx_skb[q][entry / num_tx_desc]) { in ravb_tx_free()
231 if (entry % num_tx_desc == num_tx_desc - 1) { in ravb_tx_free()
232 entry /= num_tx_desc; in ravb_tx_free()
303 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_free() local
313 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free()
404 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_format() local
408 num_tx_desc; in ravb_ring_format()
423 if (num_tx_desc > 1) { in ravb_ring_format()
[all …]
Dravb.h1103 unsigned int num_tx_desc; /* TX descriptors per packet */ member
/linux-6.6.21/drivers/atm/
Diphase.c190 while (i < dev->num_tx_desc) { in get_desc()
764 iadev->num_tx_desc = IA_TX_BUF;
770 iadev->num_tx_desc = IA_TX_BUF / 2;
772 iadev->num_tx_desc = IA_TX_BUF;
782 iadev->num_tx_desc = IA_TX_BUF / 8;
784 iadev->num_tx_desc = IA_TX_BUF;
792 iadev->rx_pkt_ram = TX_PACKET_RAM + (iadev->num_tx_desc * iadev->tx_buf_sz);
794 iadev->num_tx_desc, iadev->tx_buf_sz, iadev->num_rx_desc,
1047 for(i=0; i <iadev->num_tx_desc; i++)
1611 for(i=0; i<iadev->num_tx_desc;i++)
[all …]
Diphase.h1008 u16 num_tx_desc, tx_buf_sz, rate_limit; member
/linux-6.6.21/drivers/net/ethernet/ti/
Ddavinci_cpdma.c105 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()
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dtx.c53 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()
909 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl1271_tx_complete_packet()
1097 for (i = 0; i < wl->num_tx_desc; i++) { in wl12xx_tx_reset()
Dwlcore.h434 u32 num_tx_desc; member
Dacx.c977 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc); in wl12xx_acx_mem_cfg()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h209 __le16 num_tx_desc; member
Dhnae3.h827 u16 num_tx_desc; member
Dhns3_debugfs.c1074 kinfo->num_tx_desc); in hns3_dbg_dev_specs()
/linux-6.6.21/drivers/net/wireless/ti/wl18xx/
Dtx.c71 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl18xx_tx_complete_packet()
Dmain.c1880 wl->num_tx_desc = WL18XX_NUM_TX_DESCRIPTORS; in wl18xx_setup()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h241 u16 num_tx_desc; /* desc num of per tx queue */ member
Dhclgevf_main.c218 hdev->num_tx_desc = le16_to_cpu(queue_depth->num_tx_desc); in hclgevf_get_queue_depth()
283 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
323 kinfo->num_tx_desc = hdev->num_tx_desc; in hclgevf_knic_setup()
2378 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclgevf_info_show()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c544 queue_depth->num_tx_desc = cpu_to_le16(hdev->num_tx_desc); in hclge_get_vf_queue_depth()
Dhclge_main.h880 u16 num_tx_desc; /* desc num of per tx queue */ member
Dhclge_main.c1455 hdev->num_tx_desc = HCLGE_MIN_TX_DESC; in hclge_init_kdump_kernel_config()
1504 hdev->num_tx_desc = cfg.tqp_desc_num; in hclge_configure()
1596 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()
1662 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp()
1681 u16 num_tx_desc, u16 num_rx_desc) in hclge_knic_setup() argument
1689 kinfo->num_tx_desc = num_tx_desc; in hclge_knic_setup()
1762 hdev->num_tx_desc, hdev->num_rx_desc); in hclge_vport_setup()
11062 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclge_info_show()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice.h405 u16 num_tx_desc; member
Dice_lib.c156 if (!vsi->num_tx_desc) in ice_vsi_set_num_desc()
157 vsi->num_tx_desc = ICE_DFLT_NUM_TX_DESC; in ice_vsi_set_num_desc()
1435 ring->count = vsi->num_tx_desc; in ice_vsi_alloc_rings()
Dice_ethtool.c2767 vsi->num_tx_desc = (u16)new_tx_cnt; in ice_set_ringparam()
2917 vsi->num_tx_desc = new_tx_cnt; in ice_set_ringparam()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e.h915 u16 num_tx_desc; member
Di40e_main.c11355 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11356 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11370 vsi->num_tx_desc = ALIGN(I40E_FDIR_RING_COUNT, in i40e_set_num_rings_in_vsi()
11379 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11380 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11390 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11391 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11404 vsi->num_tx_desc = I40E_MIN_NUM_DESCRIPTORS; in i40e_set_num_rings_in_vsi()
11676 ring->count = vsi->num_tx_desc; in i40e_alloc_rings()
11693 ring->count = vsi->num_tx_desc; in i40e_alloc_rings()
Di40e_debugfs.c384 vsi->base_queue, vsi->num_queue_pairs, vsi->num_tx_desc, in i40e_dbg_dump_vsi_seid()
/linux-6.6.21/drivers/net/wireless/ti/wl12xx/
Dmain.c1807 wl->num_tx_desc = WL12XX_NUM_TX_DESCRIPTORS; in wl12xx_setup()

12