Home
last modified time | relevance | path

Searched refs:tx_buf_size (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_cmd.h334 uint32_t tx_buf_size; member
392 uint16_t tx_buf_size; member
H A Dhns3_ethdev.c2763 if (req->tx_buf_size) in hns3_query_pf_resource()
2764 pf->tx_buf_size = in hns3_query_pf_resource()
2765 rte_le_to_cpu_16(req->tx_buf_size) << HNS3_BUF_UNIT_S; in hns3_query_pf_resource()
2767 pf->tx_buf_size = HNS3_DEFAULT_TX_BUF; in hns3_query_pf_resource()
2769 pf->tx_buf_size = roundup(pf->tx_buf_size, HNS3_BUF_SIZE_UNIT); in hns3_query_pf_resource()
3272 if (total_size < pf->tx_buf_size) in hns3_tx_buffer_calc()
3275 priv->tx_buf_size = pf->tx_buf_size; in hns3_tx_buffer_calc()
3277 priv->tx_buf_size = 0; in hns3_tx_buffer_calc()
3279 total_size -= priv->tx_buf_size; in hns3_tx_buffer_calc()
3301 buf_size = buf_alloc->priv_buf[i].tx_buf_size; in hns3_tx_buffer_alloc()
[all …]
H A Dhns3_ethdev.h702 uint32_t tx_buf_size; /* Tx buffer size for each TC */ member