15/03/2023 02:56, fengchengwen: > On 2023/3/14 22:29, Thomas Monjalon wrote: > > The impact of the option "enable_iova_as_pa" is explained for users. > > > > Also the code flag "RTE_IOVA_AS_PA" is renamed as "RTE_IOVA_IN_MBUF" > > in order to be more accurate (IOVA mode is decided at runtime), > > and more readable in the code. > > > > Similarly the drivers are using the variable "require_iova_in_mbuf" > > instead of "pmd_supports_disable_iova_as_pa" with an opposite meaning. > > By default, it is assumed that drivers require the IOVA field in mbuf. > > The drivers which support removing this field have to declare themselves. > > Some bus drivers are declared compatible. > > > > If the option "enable_iova_as_pa" is disabled, the unsupported drivers > > will be listed with the new reason text "requires IOVA in mbuf". > > > > Suggested-by: Bruce Richardson <bruce.richard...@intel.com> > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > > Reviewed-by: Bruce Richardson <bruce.richard...@intel.com> > > Acked-by: Morten Brørup <m...@smartsharesystems.com> > > Acked-by: Chengwen Feng <fengcheng...@huawei.com>
Applied