[v1,0/3] introduce maximum Rx buffer size

Message ID 20230815111034.22887-1-lihuisong@huawei.com (mailing list archive)
Headers
Series introduce maximum Rx buffer size |

Message

lihuisong (C) Aug. 15, 2023, 11:10 a.m. UTC
  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(+)