vhost: add IOMMU-related macros for old kernels
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 5 Oct 2017 08:36:13 +0000 (10:36 +0200)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 10 Oct 2017 13:52:27 +0000 (15:52 +0200)
commit06903abc0da4db7a9de87dd2c401ab0ba147a167
tree310fbac4b5dee10a7b88a33d7ea9f3dc82dd2f3f
parent275c3f944730f5a5e9c5709bd82dfd28fa83eceb
vhost: add IOMMU-related macros for old kernels

These defines and enums have been introduced in upstream kernel v4.8,
and backported to RHEL 7.4.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
lib/librte_vhost/vhost.h