[PATCH v2 1/3] ethdev: introduce maximum Rx buffer size
fengchengwen
fengchengwen at huawei.com
Fri Oct 27 08:27:52 CEST 2023
Acked-by: Chengwen Feng <fengchengwen at 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 <lihuisong at huawei.com>
...
More information about the dev
mailing list