[dpdk-dev] [PATCH v15 2/2] eal/linux: remove KNI restriction on IOVA
Jerin Jacob
jerinjacobk at gmail.com
Mon Nov 18 15:04:57 CET 2019
On Sun, Nov 17, 2019 at 8:43 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> From: Vamsi Attunuru <vattunuru at 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 <vattunuru at marvell.com>
> Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Jerin Jacob <jerinj at marvell.com>
More information about the dev
mailing list