On Thu, Nov 14, 2019 at 01:58:21PM +0000, Anatoly Burakov wrote: > Currently, mempool will check if IOVA is bad for a segment, and reject > the IOVA if hugepages are also enabled. This check is wrong because now > that we have external memory segments, they are allowed to have their > IOVA's to be invalid. This check also doesn't make much sense in the > first place, because the following code can handle bad IOVA's perfectly > well (and in fact, this check is not triggering a failure when > --no-huge option is enabled), so there is not much sense to check for > this in the first place. > > Fixes: 950e8fb4e194 ("mem: allow registering external memory areas") > Cc: sta...@dpdk.org > > Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
Acked-by: Olivier Matz <olivier.m...@6wind.com>