Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-25 Thread Andrew Rybchenko
On 6/24/20 9:32 PM, Ferruh Yigit wrote: > On 6/24/2020 9:52 AM, Ferruh Yigit wrote: >> On 6/24/2020 4:48 AM, Chengchang Tang wrote: >>> >>> On 2020/6/23 17:30, Andrew Rybchenko wrote: On 6/23/20 9:48 AM, Chengchang Tang wrote: > In common practice, PMD configure the rx_buf_size according t

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-24 Thread Ferruh Yigit
On 6/24/2020 9:52 AM, Ferruh Yigit wrote: > On 6/24/2020 4:48 AM, Chengchang Tang wrote: >> >> On 2020/6/23 17:30, Andrew Rybchenko wrote: >>> On 6/23/20 9:48 AM, Chengchang Tang wrote: In common practice, PMD configure the rx_buf_size according to the data room size of the object in memp

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-24 Thread Ferruh Yigit
On 6/24/2020 4:48 AM, Chengchang Tang wrote: > > On 2020/6/23 17:30, Andrew Rybchenko wrote: >> On 6/23/20 9:48 AM, Chengchang Tang wrote: >>> In common practice, PMD configure the rx_buf_size according to the data >>> room size of the object in mempool. But in fact the final value is related >>>

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-23 Thread Chengchang Tang
On 2020/6/23 17:30, Andrew Rybchenko wrote: > On 6/23/20 9:48 AM, Chengchang Tang wrote: >> In common practice, PMD configure the rx_buf_size according to the data >> room size of the object in mempool. But in fact the final value is related >> to the specifications of hw, and its values will aff

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-23 Thread Andrew Rybchenko
On 6/23/20 5:48 PM, Stephen Hemminger wrote: > On Tue, 23 Jun 2020 14:48:54 +0800 > Chengchang Tang wrote: > >> In common practice, PMD configure the rx_buf_size according to the data >> room size of the object in mempool. But in fact the final value is related >> to the specifications of hw, and

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-23 Thread Stephen Hemminger
On Tue, 23 Jun 2020 14:48:54 +0800 Chengchang Tang wrote: > In common practice, PMD configure the rx_buf_size according to the data > room size of the object in mempool. But in fact the final value is related > to the specifications of hw, and its values will affect the number of > fragments in r

Re: [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info

2020-06-23 Thread Andrew Rybchenko
On 6/23/20 9:48 AM, Chengchang Tang wrote: > In common practice, PMD configure the rx_buf_size according to the data > room size of the object in mempool. But in fact the final value is related > to the specifications of hw, and its values will affect the number of > fragments in recieving pkts. >