Acked-by: Chengwen Feng <fengcheng...@huawei.com>
On 2023/10/27 12:15, Huisong Li wrote: > The "min_rx_bufsize" in struct rte_eth_dev_info stands for the minimum > Rx buffer size supported by hardware. Actually, some engines also have > the maximum Rx buffer specification, like, hns3. If mbuf data room size > in mempool is greater then the maximum Rx buffer size supported by HW, > the data size application used in each mbuf is just as much as the maximum > Rx buffer size supported by HW instead of the whole data room size. > > So introduce maximum Rx buffer size which is not enforced just to > report user to avoid memory waste. In addition, fix the comment for > the "min_rx_bufsize" to make it be more specific. > > Signed-off-by: Huisong Li <lihuis...@huawei.com> ...