kni: abort when IOVA is not PA
authorDavid Marchand <david.marchand@redhat.com>
Fri, 14 Jun 2019 09:39:15 +0000 (11:39 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 14:54:40 +0000 (16:54 +0200)
commitfe8fc6b0b7eaf9078d804d57221000a494753997
tree92e66e26fc1a6fc3ba3c6d816b82148eac92398b
parentd39d8c4bb66c68a6aa13fd363502e4d4986018f7
kni: abort when IOVA is not PA

If a forced iova-mode has been passed at init, kni is not supposed to
work.

Fixes: 075b182b54ce ("eal: force IOVA to a particular mode")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/librte_kni/rte_kni.c