Re: [dpdk-dev] [PATCH v2] ethdev: verify reserved HW ring

2020-07-08 Thread Ferruh Yigit
On 6/24/2020 10:35 AM, Ferruh Yigit wrote: > Function 'rte_eth_dma_zone_reserve()' returns an existing memzone based > on name match, but other requested attributes are discarded. > This may cause driver using a memzone with wrong size or alignment. > > Verify size, alignment and socket_id for mat

[dpdk-dev] [PATCH v2] ethdev: verify reserved HW ring

2020-06-24 Thread Ferruh Yigit
Function 'rte_eth_dma_zone_reserve()' returns an existing memzone based on name match, but other requested attributes are discarded. This may cause driver using a memzone with wrong size or alignment. Verify size, alignment and socket_id for matched memzone, and do not use memzone if any one of th