[PATCH v1 0/3] introduce maximum Rx buffer size
Huisong Li
lihuisong at huawei.com
Tue Aug 15 13:10:31 CEST 2023
The Rx buffer size stands for the size hardware supported to receive
packets in one mbuf. The "min_rx_bufsize" is the minimum buffer hardware
supported in Rx. Actually, network engines also have the maximum buffer.
So this series introduce maximum Rx buffer size in struct rte_eth_dev_info
and display it by testpmd.
---
v1:
- move max_rx_bufsize to min_rx_bufsize closer in struct rte_eth_dev_info
- add max_rx_bufsize display in testpmd.
- hns3 reports maximum buffer size.
Huisong Li (3):
ethdev: introduce maximum Rx buffer size
app/testpmd: add maximum Rx buffer size display
net/hns3: report maximum buffer size
app/test-pmd/config.c | 2 ++
drivers/net/hns3/hns3_common.c | 1 +
lib/ethdev/rte_ethdev.c | 7 +++++++
lib/ethdev/rte_ethdev.h | 6 ++++++
4 files changed, 16 insertions(+)
--
2.33.0
More information about the dev
mailing list