Re: [PATCH v4 1/3] ethdev: introduce maximum Rx buffer size

2023-11-02 Thread lihuisong (C)
在 2023/11/3 11:30, Ferruh Yigit 写道: On 11/3/2023 2:21 AM, lihuisong (C) wrote: 在 2023/11/3 0:35, Ferruh Yigit 写道: On 11/2/2023 12:16 PM, 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

Re: [PATCH v4 1/3] ethdev: introduce maximum Rx buffer size

2023-11-02 Thread Ferruh Yigit
On 11/3/2023 2:21 AM, lihuisong (C) wrote: > > 在 2023/11/3 0:35, Ferruh Yigit 写道: >> On 11/2/2023 12:16 PM, 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 buf

Re: [PATCH v4 1/3] ethdev: introduce maximum Rx buffer size

2023-11-02 Thread lihuisong (C)
在 2023/11/3 0:35, Ferruh Yigit 写道: On 11/2/2023 12:16 PM, 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, i40e and so on. If mbuf dat

Re: [PATCH v4 1/3] ethdev: introduce maximum Rx buffer size

2023-11-02 Thread Ferruh Yigit
On 11/2/2023 12:16 PM, 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, i40e and so on. If mbuf > data room size in mempool is greate

[PATCH v4 1/3] ethdev: introduce maximum Rx buffer size

2023-11-02 Thread Huisong Li
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, i40e and so on. If mbuf data room size in mempool is greater then the maximum Rx buffer size per descriptor