On Sun, Nov 17, 2019 at 8:43 PM David Marchand <david.march...@redhat.com> wrote: > > From: Vamsi Attunuru <vattun...@marvell.com> > > Now that KNI supports VA (with kernel versions starting 4.6.0), we can > accept IOVA as VA, but KNI must be configured for this. > Pass iova_mode when creating KNI netdevs. > > So far, IOVA detection policy forced IOVA as PA when KNI is loaded, > whatever the buses IOVA requirements were. > > We can now use IOVA as VA, but this comes with a cost in KNI. > When no constraint is expressed by the buses, keep the current behavior > of choosing PA. > > Note: this change supposes that dpdk is built on the same kernel than > the target system kernel; no objection has been expressed on this topic. > > Signed-off-by: Vamsi Attunuru <vattun...@marvell.com> > Signed-off-by: Kiran Kumar K <kirankum...@marvell.com> > Signed-off-by: David Marchand <david.march...@redhat.com>
Reviewed-by: Jerin Jacob <jer...@marvell.com>