Re: [dpdk-dev] [PATCH v2 1/3] eal/freebsd: fix IOVA mode selection

2021-11-01 Thread Bruce Richardson
On Mon, Nov 01, 2021 at 09:36:59AM +0200, Dmitry Kozlyuk wrote: > FreeBSD EAL selected IOVA mode PA even in --no-huge mode > where PA are not available. Memory zones were created with IOVA > equal to RTE_BAD_IOVA with no indication this field is not usable. > > Change IOVA mode detection: > 1. Alw

[dpdk-dev] [PATCH v2 1/3] eal/freebsd: fix IOVA mode selection

2021-11-01 Thread Dmitry Kozlyuk
FreeBSD EAL selected IOVA mode PA even in --no-huge mode where PA are not available. Memory zones were created with IOVA equal to RTE_BAD_IOVA with no indication this field is not usable. Change IOVA mode detection: 1. Always allow to force --iova-mode=va. 2. In --no-huge mode, disallow forcing --