[PATCH v3 1/5] build: clarify configuration without IOVA field in mbuf

Thomas Monjalon thomas at monjalon.net
Thu Mar 16 12:00:15 CET 2023


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.richardson at intel.com>
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>
> > Acked-by: Morten Brørup <mb at smartsharesystems.com>
> 
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>

Applied




More information about the dev mailing list