Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/renesas/
H A Dravb_main.c199 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_tx_free() local
209 num_tx_desc); in ravb_tx_free()
222 if (entry % num_tx_desc == num_tx_desc - 1) { in ravb_tx_free()
256 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_free() local
358 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_format() local
363 num_tx_desc; in ravb_ring_format()
384 if (num_tx_desc > 1) { in ravb_ring_format()
421 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_init() local
463 if (num_tx_desc > 1) { in ravb_ring_init()
2103 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_start_xmit() local
[all …]
H A Dravb.h1137 unsigned int num_tx_desc; /* TX descriptors per packet */ member
/linux/drivers/atm/
H A Diphase.c191 while (i < dev->num_tx_desc) { in get_desc()
765 iadev->num_tx_desc = IA_TX_BUF;
771 iadev->num_tx_desc = IA_TX_BUF / 2;
773 iadev->num_tx_desc = IA_TX_BUF;
783 iadev->num_tx_desc = IA_TX_BUF / 8;
785 iadev->num_tx_desc = IA_TX_BUF;
1048 for(i=0; i <iadev->num_tx_desc; i++)
1972 for(i=1; i<=iadev->num_tx_desc; i++)
2025 for(i=1; i<=iadev->num_tx_desc; i++)
2052 for(i=1; i<=iadev->num_tx_desc; i++)
[all …]
H A Diphase.h1008 u16 num_tx_desc, tx_buf_sz, rate_limit; member
/linux/drivers/net/ethernet/ti/
H A 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/drivers/net/wireless/ti/wlcore/
H A 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()
906 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl1271_tx_complete_packet()
1094 for (i = 0; i < wl->num_tx_desc; i++) { in wl12xx_tx_reset()
H A Dwlcore.h434 u32 num_tx_desc; member
H A Dacx.c977 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc); in wl12xx_acx_mem_cfg()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h209 __le16 num_tx_desc; member
H A Dhnae3.h847 u16 num_tx_desc; member
H A Dhns3_debugfs.c1077 kinfo->num_tx_desc); in hns3_dbg_dev_specs()
/linux/drivers/net/wireless/ti/wl18xx/
H A Dtx.c71 if (unlikely(id >= wl->num_tx_desc || wl->tx_frames[id] == NULL)) { in wl18xx_tx_complete_packet()
H A Dmain.c1944 wl->num_tx_desc = WL18XX_NUM_TX_DESCRIPTORS; in wl18xx_setup()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h241 u16 num_tx_desc; /* desc num of per tx queue */ member
H A Dhclgevf_main.c255 hdev->num_tx_desc = le16_to_cpu(queue_depth->num_tx_desc); in hclgevf_get_queue_depth()
320 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
360 kinfo->num_tx_desc = hdev->num_tx_desc; in hclgevf_knic_setup()
2415 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclgevf_info_show()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c544 queue_depth->num_tx_desc = cpu_to_le16(hdev->num_tx_desc); in hclge_get_vf_queue_depth()
H A Dhclge_main.h901 u16 num_tx_desc; /* desc num of per tx queue */ member
H A Dhclge_main.c1511 hdev->num_tx_desc = HCLGE_MIN_TX_DESC; in hclge_init_kdump_kernel_config()
1560 hdev->num_tx_desc = cfg.tqp_desc_num; in hclge_configure()
1655 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()
1721 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp()
1740 u16 num_tx_desc, u16 num_rx_desc) in hclge_knic_setup() argument
1748 kinfo->num_tx_desc = num_tx_desc; in hclge_knic_setup()
1822 hdev->num_tx_desc, hdev->num_rx_desc); in hclge_vport_setup()
11176 dev_info(dev, "Desc num per TX queue: %u\n", hdev->num_tx_desc); in hclge_info_show()
/linux/drivers/net/ethernet/intel/ice/
H A Dice.h408 u16 num_tx_desc; member
H A Dice_lib.c150 if (!vsi->num_tx_desc) in ice_vsi_set_num_desc()
151 vsi->num_tx_desc = ICE_DFLT_NUM_TX_DESC; in ice_vsi_set_num_desc()
1398 ring->count = vsi->num_tx_desc; in ice_vsi_alloc_rings()
H A Dice_ethtool.c3274 vsi->num_tx_desc = (u16)new_tx_cnt; in ice_set_ringparam()
3424 vsi->num_tx_desc = new_tx_cnt; in ice_set_ringparam()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h879 u16 num_tx_desc; member
H A Di40e_main.c11392 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11393 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11407 vsi->num_tx_desc = ALIGN(I40E_FDIR_RING_COUNT, in i40e_set_num_rings_in_vsi()
11416 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11417 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11427 if (!vsi->num_tx_desc) in i40e_set_num_rings_in_vsi()
11428 vsi->num_tx_desc = ALIGN(I40E_DEFAULT_NUM_DESCRIPTORS, in i40e_set_num_rings_in_vsi()
11441 vsi->num_tx_desc = I40E_MIN_NUM_DESCRIPTORS; in i40e_set_num_rings_in_vsi()
11713 ring->count = vsi->num_tx_desc; in i40e_alloc_rings()
11730 ring->count = vsi->num_tx_desc; in i40e_alloc_rings()
H A Di40e_debugfs.c368 vsi->base_queue, vsi->num_queue_pairs, vsi->num_tx_desc, in i40e_dbg_dump_vsi_seid()
/linux/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1807 wl->num_tx_desc = WL12XX_NUM_TX_DESCRIPTORS; in wl12xx_setup()

12