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 matched memzone, and do not use > memzone if any one of the attributes are not justified. > > It is possible to free the existing memzone and allocate again with the > requested attributes but it is better caller do the explicit free. > > Reported-by: Renata Saiakhova <renata.saiakh...@ekinops.com> > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com> > Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>
Applied to dpdk-next-net/master, thanks.