Re: [dpdk-dev] [PATCH 1/2] ethdev: fix data room size verification in Rx queue setup

2020-06-19 Thread Andrew Rybchenko
On 6/19/20 6:42 AM, Wei Hu (Xavier) wrote: > From: Chengchang Tang > > In the rte_eth_rx_queue_setup API function, the local variable named > mbp_buf_size, which is the data room size of the input parameter mp, > is checked to guarantee that each memory chunck used for net device > in the mbuf is

[dpdk-dev] [PATCH 1/2] ethdev: fix data room size verification in Rx queue setup

2020-06-18 Thread Wei Hu (Xavier)
From: Chengchang Tang In the rte_eth_rx_queue_setup API function, the local variable named mbp_buf_size, which is the data room size of the input parameter mp, is checked to guarantee that each memory chunck used for net device in the mbuf is bigger than the min_rx_bufsize. But if mbp_buf_size is